blob: ee7ef1f6f0f291a8f07d29e60eed65db7a098b62 [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>
Brian O'Connor33503902015-06-01 17:08:05 -070025 <version>1.2.0-SNAPSHOT</version>
Thomas Vachuskad6811712015-04-29 21:37:04 -070026 <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>
Sanjay S0d4093f2015-05-06 14:55:04 +053061 <dependency>
62 <groupId>org.osgi</groupId>
63 <artifactId>org.osgi.core</artifactId>
64 </dependency>
65 <dependency>
66 <groupId>org.onosproject</groupId>
67 <artifactId>onlab-junit</artifactId>
68 <scope>test</scope>
69 </dependency>
70 <dependency>
71 <groupId>org.easymock</groupId>
72 <artifactId>easymock</artifactId>
73 <scope>test</scope>
74 </dependency>
Thomas Vachuskad6811712015-04-29 21:37:04 -070075 </dependencies>
Sanjay Sfc3b48e2015-04-23 19:44:07 +053076
Thomas Vachuskad6811712015-04-29 21:37:04 -070077 <build>
78 <plugins>
79 <plugin>
80 <groupId>org.apache.maven.plugins</groupId>
81 <artifactId>maven-shade-plugin</artifactId>
82 <version>2.3</version>
83 <configuration>
84 <filters>
85 <filter>
86 <artifact>com.tailf:JNC</artifact>
87 <includes>
88 <include>com/tailf/jnc/**</include>
89 </includes>
90 </filter>
91 <filter>
92 <artifact>ch.ethz.ganymed:ganymed-ssh2</artifact>
93 <includes>
94 <include>ch/ethz/ssh2/**</include>
95 </includes>
96 </filter>
97 <filter>
98 <artifact>org.jdom:jdom2</artifact>
99 <includes>
100 <include>org/jdom2/**</include>
101 </includes>
102 </filter>
103 </filters>
104 </configuration>
105 <executions>
106 <execution>
107 <phase>package</phase>
108 <goals>
109 <goal>shade</goal>
110 </goals>
111 </execution>
112 </executions>
113 </plugin>
114 <plugin>
115 <groupId>org.apache.felix</groupId>
116 <artifactId>maven-scr-plugin</artifactId>
117 </plugin>
118 <plugin>
119 <groupId>org.apache.felix</groupId>
120 <artifactId>maven-bundle-plugin</artifactId>
121 <configuration>
122 <instructions>
123 <Export-Package>
124 com.tailf.jnc,
125 ch.ethz.ssh2,
126 ch.ethz.ssh2.auth,
127 ch.ethz.ssh2.channel,
128 ch.ethz.ssh2.crypto,
129 ch.ethz.ssh2.crypto.cipher,
130 ch.ethz.ssh2.crypto.dh,
131 ch.ethz.ssh2.crypto.digest,
132 ch.ethz.ssh2.log,
133 ch.ethz.ssh2.packets,
134 ch.ethz.ssh2.server,
135 ch.ethz.ssh2.sftp,
136 ch.ethz.ssh2.signature,
137 ch.ethz.ssh2.transport,
138 ch.ethz.ssh2.util,
139 org.jdom2,
140 org.jdom2.input,
141 org.jdom2.output,
142 org.jdom2.adapters,
143 org.jdom2.filter,
144 org.jdom2.internal,
145 org.jdom2.located,
146 org.jdom2.transform,
147 org.jdom2.util,
148 org.jdom2.xpath,
149 org.jdom2.input.sax,
150 org.jdom2.input.stax,
151 org.jdom2.output.support,
152 org.jdom2.xpath.jaxen,
153 org.jdom2.xpath.util
154 </Export-Package>
155 </instructions>
156 </configuration>
157 </plugin>
158 <plugin>
Sanjay Sfc3b48e2015-04-23 19:44:07 +0530159 <groupId>org.onosproject</groupId>
Thomas Vachuskad6811712015-04-29 21:37:04 -0700160 <artifactId>onos-maven-plugin</artifactId>
161 </plugin>
162 </plugins>
163 </build>
164
Sanjay Se8dcfee2015-04-23 10:07:08 +0530165</project>