BUG-1277 Add missing openflowplugin.util dependency to distribution pom
[openflowplugin.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3     <modelVersion>4.0.0</modelVersion>
4     <parent>
5         <groupId>org.opendaylight.odlparent</groupId>
6         <artifactId>odlparent</artifactId>
7         <version>1.4.2-SNAPSHOT</version>
8         <relativePath></relativePath>
9     </parent>
10     <prerequisites>
11         <maven>3.0</maven>
12     </prerequisites>
13     <groupId>org.opendaylight.openflowplugin</groupId>
14     <artifactId>openflowplugin-parent</artifactId>
15     <version>0.0.3-SNAPSHOT</version>
16     <packaging>pom</packaging>
17
18     <scm>
19       <connection>scm:git:ssh://git.opendaylight.org:29418/openflowplugin.git</connection>
20       <developerConnection>scm:git:ssh://git.opendaylight.org:29418/openflowplugin.git</developerConnection>
21       <url>https://wiki.opendaylight.org/view/OpenDaylight_OpenFlow_Plugin:Main</url>
22       <tag>HEAD</tag>
23     </scm>
24
25     <distributionManagement>
26       <!-- OpenDayLight Released artifact -->
27       <repository>
28         <id>opendaylight-release</id>
29         <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release</url>
30       </repository>
31       <!-- OpenDayLight Snapshot artifact -->
32       <snapshotRepository>
33         <id>opendaylight-snapshot</id>
34         <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</url>
35       </snapshotRepository>
36       <!-- Site deployment -->
37       <!-- site>
38            <id>website</id>
39            <url>${sitedeploy}</url>
40            </site -->
41     </distributionManagement>
42
43     <properties>
44       <project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
45       <mdsal.version>1.1-SNAPSHOT</mdsal.version>
46       <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
47       <openflowjava.version>0.5-SNAPSHOT</openflowjava.version>
48       <controller.model.version>1.1-SNAPSHOT</controller.model.version>
49       <sal.api.version>0.8.1-SNAPSHOT</sal.api.version>
50       <sal.connection.api.version>0.1.2-SNAPSHOT</sal.connection.api.version>
51       <netconf.parent.version>0.2.5-SNAPSHOT</netconf.parent.version>
52       <config.parent.version>0.2.5-SNAPSHOT</config.parent.version>
53       <build.helper.version>1.8</build.helper.version>
54       <xtend.dstdir>src/main/xtend-gen</xtend.dstdir>
55       <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
56       <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
57       <exi.nagasena.version>0000.0002.0038.0</exi.nagasena.version>
58         <controller.distribution.version>0.1.2-SNAPSHOT</controller.distribution.version>
59     </properties>
60
61     <dependencyManagement>
62       <dependencies>
63         <dependency>
64           <groupId>org.opendaylight.openflowjava</groupId>
65           <artifactId>util</artifactId>
66           <version>${openflowjava.version}</version>
67         </dependency>
68         <dependency>
69           <groupId>org.opendaylight.openflowjava</groupId>
70           <artifactId>openflow-protocol-impl</artifactId>
71           <version>${openflowjava.version}</version>
72         </dependency>
73         <dependency>
74           <groupId>org.opendaylight.openflowjava</groupId>
75           <artifactId>openflow-protocol-api</artifactId>
76           <version>${openflowjava.version}</version>
77         </dependency>
78         <dependency>
79           <groupId>org.opendaylight.openflowjava</groupId>
80           <artifactId>openflow-protocol-spi</artifactId>
81           <version>${openflowjava.version}</version>
82         </dependency>
83         <dependency>
84           <groupId>org.opendaylight.openflowjava</groupId>
85           <artifactId>util</artifactId>
86           <version>${openflowjava.version}</version>
87         </dependency>
88         <dependency>
89           <groupId>org.opendaylight.openflowjava</groupId>
90           <artifactId>simple-client</artifactId>
91           <version>${openflowjava.version}</version>
92         </dependency>
93         <dependency>
94           <groupId>org.opendaylight.controller.model</groupId>
95           <artifactId>model-flow-base</artifactId>
96           <version>${controller.model.version}</version>
97         </dependency>
98         <dependency>
99           <groupId>org.opendaylight.controller.model</groupId>
100           <artifactId>model-flow-management</artifactId>
101           <version>${controller.model.version}</version>
102         </dependency>
103         <dependency>
104           <groupId>org.opendaylight.controller.model</groupId>
105           <artifactId>model-flow-service</artifactId>
106           <version>${controller.model.version}</version>
107         </dependency>
108         <dependency>
109           <groupId>org.opendaylight.controller.model</groupId>
110           <artifactId>model-flow-statistics</artifactId>
111           <version>${controller.model.version}</version>
112         </dependency>
113         <dependency>
114           <groupId>org.opendaylight.controller.model</groupId>
115           <artifactId>model-inventory</artifactId>
116           <version>${controller.model.version}</version>
117         </dependency>
118         <dependency>
119           <groupId>org.opendaylight.controller</groupId>
120           <artifactId>sal-binding-api</artifactId>
121           <version>${controller.model.version}</version>
122         </dependency>
123         <dependency>
124             <groupId>org.opendaylight.controller</groupId>
125             <artifactId>sal</artifactId>
126             <version>${sal.api.version}</version>
127         </dependency>
128         <dependency>
129             <groupId>org.opendaylight.controller</groupId>
130             <artifactId>sal.connection</artifactId>
131             <version>${sal.connection.api.version}</version>
132         </dependency>
133         <dependency>
134             <groupId>org.opendaylight.controller</groupId>
135             <artifactId>sal-common-util</artifactId>
136             <version>${controller.model.version}</version>
137         </dependency>
138
139         <!-- IT -->
140         <dependency>
141             <groupId>org.opendaylight.controller</groupId>
142             <artifactId>config-netconf-connector</artifactId>
143             <version>${netconf.parent.version}</version>
144         </dependency>
145         <dependency>
146             <groupId>org.opendaylight.controller</groupId>
147             <artifactId>sal-binding-it</artifactId>
148             <version>${controller.model.version}</version>
149         </dependency>
150         <dependency>
151             <groupId>org.opendaylight.controller</groupId>
152             <artifactId>sal-binding-broker-impl</artifactId>
153             <version>${controller.model.version}</version>
154         </dependency>
155         <dependency>
156             <groupId>org.opendaylight.controller</groupId>
157             <artifactId>config-manager</artifactId>
158             <version>${config.parent.version}</version>
159         </dependency>
160           <dependency>
161               <groupId>org.opendaylight.controller</groupId>
162               <artifactId>config-api</artifactId>
163               <version>${config.parent.version}</version>
164           </dependency>
165         <dependency>
166             <groupId>org.opendaylight.yangtools.thirdparty</groupId>
167             <artifactId>antlr4-runtime-osgi-nohead</artifactId>
168             <version>4.0</version>
169         </dependency>
170         <dependency>
171           <groupId>org.opendaylight.controller</groupId>
172           <artifactId>logback-config</artifactId>
173           <version>${config.parent.version}</version>
174         </dependency>
175         <dependency>
176           <groupId>org.opendaylight.controller</groupId>
177           <artifactId>config-persister-api</artifactId>
178           <version>${config.parent.version}</version>
179         </dependency>
180         <dependency>
181           <groupId>org.opendaylight.controller</groupId>
182           <artifactId>config-persister-impl</artifactId>
183           <version>${config.parent.version}</version>
184         </dependency>
185         <dependency>
186           <groupId>org.opendaylight.controller</groupId>
187           <artifactId>config-persister-file-xml-adapter</artifactId>
188           <version>${config.parent.version}</version>
189         </dependency>
190         <dependency>
191           <groupId>org.opendaylight.controller</groupId>
192           <artifactId>netconf-monitoring</artifactId>
193           <version>${netconf.parent.version}</version>
194         </dependency>
195         <dependency>
196           <groupId>org.opendaylight.controller</groupId>
197           <artifactId>netconf-client</artifactId>
198           <version>${netconf.parent.version}</version>
199         </dependency>
200         <dependency>
201           <groupId>org.opendaylight.controller</groupId>
202           <artifactId>netconf-impl</artifactId>
203           <version>${netconf.parent.version}</version>
204         </dependency>
205
206         <!-- thirdparty -->
207         <dependency>
208           <groupId>org.openexi</groupId>
209           <artifactId>nagasena</artifactId>
210           <version>${exi.nagasena.version}</version>
211         </dependency>
212         <dependency>
213           <groupId>org.openexi</groupId>
214           <artifactId>nagasena-rta</artifactId>
215           <version>${exi.nagasena.version}</version>
216         </dependency>
217         <dependency>
218           <groupId>org.opendaylight.controller.thirdparty</groupId>
219           <artifactId>ganymed</artifactId>
220           <version>1.1-SNAPSHOT</version>
221         </dependency>
222         <dependency>
223             <groupId>xml-apis</groupId>
224             <artifactId>xml-apis</artifactId>
225             <version>1.4.01</version>
226         </dependency>
227         <dependency>
228             <groupId>org.opendaylight.yangtools.thirdparty</groupId>
229             <artifactId>xtend-lib-osgi</artifactId>
230             <version>2.4.3</version>
231             <scope>test</scope>
232         </dependency>
233       </dependencies>
234     </dependencyManagement>
235
236     <build>
237         <plugins>
238           <plugin>
239              <groupId>org.codehaus.mojo</groupId>
240              <artifactId>build-helper-maven-plugin</artifactId>
241           </plugin>
242         </plugins>
243         <pluginManagement>
244           <plugins>
245             <plugin>
246               <groupId>org.apache.maven.plugins</groupId>
247               <artifactId>maven-compiler-plugin</artifactId>
248               <configuration>
249                 <source>1.7</source>
250                 <target>1.7</target>
251               </configuration>
252             </plugin>
253             <plugin>
254               <groupId>org.ops4j.pax.exam</groupId>
255               <artifactId>maven-paxexam-plugin</artifactId>
256               <version>1.2.4</version>
257             </plugin>
258             <plugin>
259               <groupId>org.eclipse.xtend</groupId>
260               <artifactId>xtend-maven-plugin</artifactId>
261               <version>${xtend.version}</version>
262               <executions>
263                   <execution>
264                       <goals>
265                           <goal>compile</goal>
266                       </goals>
267                       <configuration>
268                           <outputDirectory>${xtend.dstdir}</outputDirectory>
269                       </configuration>
270                   </execution>
271               </executions>
272           </plugin>
273           <plugin>
274               <artifactId>maven-clean-plugin</artifactId>
275               <configuration>
276                   <filesets>
277                       <fileset>
278                           <directory>${xtend.dstdir}</directory>
279                           <includes>
280                               <include>**</include>
281                           </includes>
282                       </fileset>
283                       <fileset>
284                           <directory>${jmxGeneratorPath}</directory>
285                           <includes>
286                               <include>**</include>
287                           </includes>
288                       </fileset>
289                       <fileset>
290                           <directory>${salGeneratorPath}</directory>
291                           <includes>
292                               <include>**</include>
293                           </includes>
294                       </fileset>
295                   </filesets>
296               </configuration>
297             </plugin>
298           <plugin>
299              <groupId>org.codehaus.mojo</groupId>
300              <artifactId>build-helper-maven-plugin</artifactId>
301              <version>${build.helper.version}</version>
302              <executions>
303                 <execution>
304                    <id>add-source</id>
305                    <phase>generate-sources</phase>
306                    <goals>
307                       <goal>add-source</goal>
308                    </goals>
309                    <configuration>
310                       <sources>
311                          <source>${jmxGeneratorPath}</source>
312                          <source>${salGeneratorPath}</source>
313                          <source>${xtend.dstdir}</source>
314                       </sources>
315                    </configuration>
316                 </execution>
317              </executions>
318             </plugin>
319             <plugin>
320               <groupId>org.opendaylight.yangtools</groupId>
321               <artifactId>yang-maven-plugin</artifactId>
322               <version>0.6.2-SNAPSHOT</version>
323             </plugin>
324             <plugin>
325               <groupId>org.apache.felix</groupId>
326               <artifactId>maven-bundle-plugin</artifactId>
327               <version>${maven.bundle.version}</version>
328               <extensions>true</extensions>
329               <configuration>
330                 <instructions>
331                   <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
332                 </instructions>
333                 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
334               </configuration>
335             </plugin>
336           </plugins>
337         </pluginManagement>
338     </build>
339
340     <profiles>
341       <profile>
342         <id>findbugsReport</id>
343         <reporting>
344           <plugins>
345             <plugin>
346               <groupId>org.apache.maven.plugins</groupId>
347               <artifactId>maven-project-info-reports-plugin</artifactId>
348               <version>2.7</version>
349               <configuration>
350                 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
351                 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
352               </configuration>
353               <reportSets>
354                 <reportSet>
355                   <reports>
356                     <report>index</report>
357                     <report>project-team</report>
358                     <report>license</report>
359                     <report>mailing-list</report>
360                     <report>plugin-management</report>
361                     <report>cim</report>
362                     <report>issue-tracking</report>
363                     <report>scm</report>
364                     <report>summary</report>
365                   </reports>
366                 </reportSet>
367               </reportSets>
368             </plugin>
369             <plugin>
370               <groupId>org.codehaus.mojo</groupId>
371               <artifactId>findbugs-maven-plugin</artifactId>
372               <version>2.5.2</version>
373             </plugin>
374             <plugin>
375               <groupId>org.apache.maven.plugins</groupId>
376               <artifactId>maven-pmd-plugin</artifactId>
377               <version>3.0.1</version>
378             </plugin>
379             <plugin>
380               <groupId>org.apache.maven.plugins</groupId>
381               <artifactId>maven-jxr-plugin</artifactId>
382               <version>2.3</version>
383             </plugin>
384           </plugins>
385         </reporting>
386       </profile>
387     </profiles>
388
389     <repositories>
390       <repository>
391         <id>opendaylight-snapshot</id>
392         <name>opendaylight-snapshot</name>
393         <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</url>
394         <releases>
395           <enabled>false</enabled>
396         </releases>
397       </repository>
398       <repository>
399         <id>public</id>
400         <name>public</name>
401         <url>http://nexus.opendaylight.org/content/groups/public</url>
402         <snapshots>
403           <enabled>false</enabled>
404         </snapshots>
405       </repository>
406
407     </repositories>
408
409     <pluginRepositories>
410       <pluginRepository>
411         <id>opendaylight-central</id>
412         <name>opendaylight-central</name>
413         <url>http://nexus.opendaylight.org/content/repositories/public</url>
414         <snapshots>
415           <enabled>false</enabled>
416         </snapshots>
417       </pluginRepository>
418       <pluginRepository>
419         <id>opendaylight-snapshot</id>
420         <name>central2</name>
421         <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</url>
422         <releases>
423           <enabled>false</enabled>
424         </releases>
425       </pluginRepository>
426     </pluginRepositories>
427
428     <modules>
429       <module>openflowplugin</module>
430       <module>distribution/base</module>
431       <module>openflowplugin-controller-config</module>
432       <module>openflowplugin-it</module>
433       <module>test-provider</module>
434       <module>drop-test</module>
435       <module>features</module>
436       <module>samples/sample-consumer</module>
437       <module>samples/learning-switch</module>
438     </modules>
439 </project>