b060ca42d0bca2423cc1af699973706162805f17
[controller.git] / opendaylight / md-sal / sal-netconf-connector / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2     <modelVersion>4.0.0</modelVersion>
3     <parent>
4         <groupId>org.opendaylight.controller</groupId>
5         <artifactId>sal-parent</artifactId>
6         <version>1.1-SNAPSHOT</version>
7     </parent>
8     <properties>
9         <netconf.version>0.2.4-SNAPSHOT</netconf.version>
10     </properties>
11     <artifactId>sal-netconf-connector</artifactId>
12     <scm>
13         <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
14         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
15         <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
16       <tag>HEAD</tag>
17   </scm>
18
19     <dependencies>
20         <dependency>
21             <groupId>${project.groupId}</groupId>
22             <artifactId>sal-connector-api</artifactId>
23         </dependency>
24         <dependency>
25             <groupId>${project.groupId}</groupId>
26             <artifactId>sal-common-util</artifactId>
27             <version>1.1-SNAPSHOT</version>
28         </dependency>
29         <dependency>
30             <groupId>org.eclipse.xtend</groupId>
31             <artifactId>org.eclipse.xtend.lib</artifactId>
32         </dependency>
33         <dependency>
34             <groupId>org.opendaylight.controller</groupId>
35             <artifactId>netty-threadgroup-config</artifactId>
36         </dependency>
37         <dependency>
38             <groupId>org.opendaylight.controller</groupId>
39             <artifactId>netconf-client</artifactId>
40             <version>${netconf.version}</version>
41         </dependency>
42         <dependency>
43             <groupId>org.opendaylight.yangtools</groupId>
44             <artifactId>yang-data-impl</artifactId>
45         </dependency>
46         <dependency>
47             <groupId>org.opendaylight.controller</groupId>
48             <artifactId>sal-broker-impl</artifactId>
49             <version>1.1-SNAPSHOT</version>
50             <scope>test</scope>
51             <type>jar</type>
52         </dependency>
53         <dependency>
54             <groupId>junit</groupId>
55             <artifactId>junit</artifactId>
56             <scope>test</scope>
57         </dependency>
58         <dependency>
59             <groupId>${project.groupId}</groupId>
60             <artifactId>yang-test</artifactId>
61             <version>${netconf.version}</version>
62             <scope>test</scope>
63         </dependency>
64         <dependency>
65             <groupId>${project.groupId}</groupId>
66             <artifactId>config-api</artifactId>
67             <version>${netconf.version}</version>
68             <scope>provided</scope>
69         </dependency>
70         <dependency>
71             <groupId>${project.groupId}</groupId>
72             <artifactId>config-util</artifactId>
73             <version>${netconf.version}</version>
74             <scope>test</scope>
75         </dependency>
76         <dependency>
77             <groupId>${project.groupId}</groupId>
78             <artifactId>yang-store-api</artifactId>
79             <version>${netconf.version}</version>
80             <scope>test</scope>
81         </dependency>
82         <dependency>
83             <groupId>${project.groupId}</groupId>
84             <artifactId>netconf-client</artifactId>
85             <version>${netconf.version}</version>
86         </dependency>
87         <dependency>
88             <groupId>${project.groupId}</groupId>
89             <artifactId>config-netconf-connector</artifactId>
90             <scope>test</scope>
91             <version>${netconf.version}</version>
92         </dependency>
93         <dependency>
94             <groupId>${project.groupId}</groupId>
95             <artifactId>config-manager</artifactId>
96             <scope>test</scope>
97             <version>${netconf.version}</version>
98         </dependency>
99         <dependency>
100             <groupId>${project.groupId}</groupId>
101             <artifactId>config-persister-impl</artifactId>
102             <scope>test</scope>
103             <version>${netconf.version}</version>
104         </dependency>
105         <dependency>
106             <groupId>${project.groupId}</groupId>
107             <artifactId>config-manager</artifactId>
108             <scope>test</scope>
109             <type>test-jar</type>
110             <version>${netconf.version}</version>
111         </dependency>
112         <dependency>
113             <groupId>${project.groupId}</groupId>
114             <artifactId>netconf-impl</artifactId>
115             <scope>test</scope>
116             <version>${netconf.version}</version>
117         </dependency>
118         <dependency>
119             <groupId>${project.groupId}</groupId>
120             <artifactId>netconf-mapping-api</artifactId>
121             <scope>test</scope>
122             <version>${netconf.version}</version>
123         </dependency>
124         <dependency>
125             <groupId>${project.groupId}</groupId>
126             <artifactId>netconf-util</artifactId>
127             <scope>test</scope>
128             <type>test-jar</type>
129             <version>${netconf.version}</version>
130         </dependency>
131         <dependency>
132             <groupId>${project.groupId}</groupId>
133             <artifactId>yang-store-impl</artifactId>
134             <scope>test</scope>
135             <version>${netconf.version}</version>
136         </dependency>
137         <dependency>
138             <groupId>${project.groupId}</groupId>
139             <artifactId>yang-store-impl</artifactId>
140             <scope>test</scope>
141             <type>test-jar</type>
142             <version>${netconf.version}</version>
143         </dependency>
144         <dependency>
145             <groupId>org.opendaylight.controller</groupId>
146             <artifactId>logback-config</artifactId>
147             <scope>test</scope>
148         </dependency>
149         <dependency>
150             <groupId>org.mockito</groupId>
151             <artifactId>mockito-all</artifactId>
152             <scope>test</scope>
153         </dependency>
154         <dependency>
155             <groupId>org.slf4j</groupId>
156             <artifactId>slf4j-api</artifactId>
157         </dependency>
158         <dependency>
159             <groupId>org.opendaylight.controller</groupId>
160             <artifactId>sal-binding-broker-impl</artifactId>
161             <scope>test</scope>
162         </dependency>
163         <dependency>
164            <groupId>org.opendaylight.controller</groupId>
165            <artifactId>sal-binding-broker-impl</artifactId>
166            <type>test-jar</type>
167            <scope>test</scope>
168         </dependency>
169         <dependency>
170         <groupId>org.opendaylight.controller</groupId>
171         <artifactId>ietf-netconf-monitoring</artifactId>
172         </dependency>
173         <dependency>
174             <groupId>org.opendaylight.yangtools.model</groupId>
175             <artifactId>ietf-inet-types</artifactId>
176         </dependency>
177         <dependency>
178             <groupId>org.opendaylight.controller</groupId>
179             <artifactId>threadpool-config-api</artifactId>
180         </dependency>
181         <dependency>
182             <groupId>org.opendaylight.controller</groupId>
183             <artifactId>netty-config-api</artifactId>
184         </dependency>
185     </dependencies>
186
187     <packaging>bundle</packaging>
188
189     <build>
190         <plugins>
191             <plugin>
192                 <groupId>org.apache.felix</groupId>
193                 <artifactId>maven-bundle-plugin</artifactId>
194                 <configuration>
195                     <instructions>
196                         <Import-Package>
197                             *
198                         </Import-Package>
199                     </instructions>
200                 </configuration>
201             </plugin>
202             <plugin>
203                 <groupId>org.opendaylight.yangtools</groupId>
204                 <artifactId>yang-maven-plugin</artifactId>
205                 <version>${yangtools.version}</version>
206                 <executions>
207                     <execution>
208                         <goals>
209                             <goal>generate-sources</goal>
210                         </goals>
211                         <configuration>
212                             <codeGenerators>
213                                 <generator>
214                                     <codeGeneratorClass>
215                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
216                                     </codeGeneratorClass>
217                                     <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
218                                     <additionalConfiguration>
219                                         <namespaceToPackage1>
220                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
221                                         </namespaceToPackage1>
222                                     </additionalConfiguration>
223                                 </generator>
224                                 <generator>
225                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
226                                     <outputBaseDir>target/site/models</outputBaseDir>
227                                 </generator>
228                             </codeGenerators>
229                             <inspectDependencies>true</inspectDependencies>
230                         </configuration>
231                     </execution>
232                 </executions>
233                 <dependencies>
234                     <dependency>
235                         <groupId>org.opendaylight.controller</groupId>
236                         <artifactId>yang-jmx-generator-plugin</artifactId>
237                         <version>0.2.4-SNAPSHOT</version>
238                     </dependency>
239                     <dependency>
240                         <groupId>org.opendaylight.yangtools</groupId>
241                         <artifactId>maven-sal-api-gen-plugin</artifactId>
242                         <version>${yangtools.version}</version>
243                         <type>jar</type>
244                     </dependency>
245                 </dependencies>
246             </plugin>
247             <plugin>
248                 <groupId>org.codehaus.mojo</groupId>
249                 <artifactId>build-helper-maven-plugin</artifactId>
250                 <version>1.8</version>
251                 <executions>
252                     <execution>
253                         <id>add-source</id>
254                         <phase>generate-sources</phase>
255                         <goals>
256                             <goal>add-source</goal>
257                         </goals>
258                         <configuration>
259                             <sources>
260                                 <source>${project.build.directory}/generated-sources/config</source>
261                                 <source>src/main/xtend-gen</source>
262                             </sources>
263                         </configuration>
264                     </execution>
265                 </executions>
266             </plugin>
267
268             <plugin>
269                 <groupId>org.eclipse.xtend</groupId>
270                 <artifactId>xtend-maven-plugin</artifactId>
271             </plugin>
272         </plugins>
273     </build>
274 </project>