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