blob: 0ebe079a7fd786e70d43123eae44d7e7770586f5 [file] [log] [blame]
Sanjay Se8dcfee2015-04-23 10:07:08 +05301<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ Copyright 2015 Open Networking Laboratory
4 ~
5 ~ Licensed under the Apache License, Version 2.0 (the "License");
6 ~ you may not use this file except in compliance with the License.
7 ~ You may obtain a copy of the License at
8 ~
9 ~ http://www.apache.org/licenses/LICENSE-2.0
10 ~
11 ~ Unless required by applicable law or agreed to in writing, software
12 ~ distributed under the License is distributed on an "AS IS" BASIS,
13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ~ See the License for the specific language governing permissions and
15 ~ limitations under the License.
Sanjay Sfc3b48e2015-04-23 19:44:07 +053016 -->
Thomas Vachuskad6811712015-04-29 21:37:04 -070017<project xmlns="http://maven.apache.org/POM/4.0.0"
18 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
20 <modelVersion>4.0.0</modelVersion>
Sanjay Se8dcfee2015-04-23 10:07:08 +053021
Thomas Vachuskad6811712015-04-29 21:37:04 -070022 <parent>
23 <groupId>org.onosproject</groupId>
24 <artifactId>onos-netconf-providers</artifactId>
25 <version>1.2.0-SNAPSHOT</version>
26 <relativePath>../pom.xml</relativePath>
27 </parent>
28
29 <artifactId>onos-netconf-provider-device</artifactId>
30 <packaging>bundle</packaging>
31
32 <description>ONOS Netconf protocol device provider</description>
33
34 <dependencies>
35 <dependency>
36 <groupId>org.osgi</groupId>
37 <artifactId>org.osgi.compendium</artifactId>
38 </dependency>
39 <dependency>
40 <groupId>ch.ethz.ganymed</groupId>
41 <artifactId>ganymed-ssh2</artifactId>
42 <version>262</version>
43 </dependency>
44 <dependency>
45 <!-- TODO: change this appropriately when the official TailF JNC is available -->
Sanjay Se8dcfee2015-04-23 10:07:08 +053046 <groupId>org.onosproject</groupId>
Thomas Vachuskad6811712015-04-29 21:37:04 -070047 <artifactId>jnc</artifactId>
48 <version>1.0</version>
49 </dependency>
50 <dependency>
51 <groupId>org.jdom</groupId>
52 <artifactId>jdom2</artifactId>
53 <version>2.0.5</version>
54 </dependency>
55 <dependency>
56 <groupId>jaxen</groupId>
57 <artifactId>jaxen</artifactId>
58 <version>1.1.4</version>
59 <optional>true</optional>
60 </dependency>
61 </dependencies>
Sanjay Sfc3b48e2015-04-23 19:44:07 +053062
Thomas Vachuskad6811712015-04-29 21:37:04 -070063 <build>
64 <plugins>
65 <plugin>
66 <groupId>org.apache.maven.plugins</groupId>
67 <artifactId>maven-shade-plugin</artifactId>
68 <version>2.3</version>
69 <configuration>
70 <filters>
71 <filter>
72 <artifact>com.tailf:JNC</artifact>
73 <includes>
74 <include>com/tailf/jnc/**</include>
75 </includes>
76 </filter>
77 <filter>
78 <artifact>ch.ethz.ganymed:ganymed-ssh2</artifact>
79 <includes>
80 <include>ch/ethz/ssh2/**</include>
81 </includes>
82 </filter>
83 <filter>
84 <artifact>org.jdom:jdom2</artifact>
85 <includes>
86 <include>org/jdom2/**</include>
87 </includes>
88 </filter>
89 </filters>
90 </configuration>
91 <executions>
92 <execution>
93 <phase>package</phase>
94 <goals>
95 <goal>shade</goal>
96 </goals>
97 </execution>
98 </executions>
99 </plugin>
100 <plugin>
101 <groupId>org.apache.felix</groupId>
102 <artifactId>maven-scr-plugin</artifactId>
103 </plugin>
104 <plugin>
105 <groupId>org.apache.felix</groupId>
106 <artifactId>maven-bundle-plugin</artifactId>
107 <configuration>
108 <instructions>
109 <Export-Package>
110 com.tailf.jnc,
111 ch.ethz.ssh2,
112 ch.ethz.ssh2.auth,
113 ch.ethz.ssh2.channel,
114 ch.ethz.ssh2.crypto,
115 ch.ethz.ssh2.crypto.cipher,
116 ch.ethz.ssh2.crypto.dh,
117 ch.ethz.ssh2.crypto.digest,
118 ch.ethz.ssh2.log,
119 ch.ethz.ssh2.packets,
120 ch.ethz.ssh2.server,
121 ch.ethz.ssh2.sftp,
122 ch.ethz.ssh2.signature,
123 ch.ethz.ssh2.transport,
124 ch.ethz.ssh2.util,
125 org.jdom2,
126 org.jdom2.input,
127 org.jdom2.output,
128 org.jdom2.adapters,
129 org.jdom2.filter,
130 org.jdom2.internal,
131 org.jdom2.located,
132 org.jdom2.transform,
133 org.jdom2.util,
134 org.jdom2.xpath,
135 org.jdom2.input.sax,
136 org.jdom2.input.stax,
137 org.jdom2.output.support,
138 org.jdom2.xpath.jaxen,
139 org.jdom2.xpath.util
140 </Export-Package>
141 </instructions>
142 </configuration>
143 </plugin>
144 <plugin>
Sanjay Sfc3b48e2015-04-23 19:44:07 +0530145 <groupId>org.onosproject</groupId>
Thomas Vachuskad6811712015-04-29 21:37:04 -0700146 <artifactId>onos-maven-plugin</artifactId>
147 </plugin>
148 </plugins>
149 </build>
150
Sanjay Se8dcfee2015-04-23 10:07:08 +0530151</project>