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