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