Incrementing versions by 0.1.0 for post-helium master branch
[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.5.0-SNAPSHOT</version>
8         <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.1.0-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>${nexusproxy}/repositories/opendaylight.release</url>
30       </repository>
31       <!-- OpenDayLight Snapshot artifact -->
32       <snapshotRepository>
33         <id>opendaylight-snapshot</id>
34         <url>${nexusproxy}/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.2.0-SNAPSHOT</mdsal.version>
46       <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
47       <openflowjava.version>0.6.0-SNAPSHOT</openflowjava.version>
48       <controller.model.version>1.2.0-SNAPSHOT</controller.model.version>
49       <sal.api.version>0.9.0-SNAPSHOT</sal.api.version>
50       <sal.connection.api.version>0.2.0-SNAPSHOT</sal.connection.api.version>
51       <sal.common.util.version>1.2.0-SNAPSHOT</sal.common.util.version>
52       <netconf.parent.version>0.3.0-SNAPSHOT</netconf.parent.version>
53       <config.parent.version>0.3.0-SNAPSHOT</config.parent.version>
54       <build.helper.version>1.8</build.helper.version>
55       <xtend.dstdir>src/main/xtend-gen</xtend.dstdir>
56       <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
57       <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
58       <exi.nagasena.version>0000.0002.0038.0</exi.nagasena.version>
59       <controller.distribution.version>0.2.0-SNAPSHOT</controller.distribution.version>
60
61       <!-- Sonar config -->
62       <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
63       <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
64       <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
65       <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
66       <sonar.profile>Sonar way with Findbugs</sonar.profile>
67
68       <karaf.distro.empty.version>1.5.0-SNAPSHOT</karaf.distro.empty.version>
69       <yang.binding.version>0.7.0-SNAPSHOT</yang.binding.version>
70       <dlux.version>0.2.0-SNAPSHOT</dlux.version>
71     </properties>
72
73     <dependencyManagement>
74       <dependencies>
75          <dependency>
76             <groupId>org.opendaylight.yangtools</groupId>
77             <artifactId>yang-binding</artifactId>
78             <version>${yang.binding.version}</version>
79         </dependency>
80           <dependency>
81               <groupId>org.opendaylight.openflowplugin</groupId>
82               <artifactId>openflowplugin-api</artifactId>
83               <version>${project.version}</version>
84           </dependency>
85         <dependency>
86           <groupId>org.opendaylight.openflowjava</groupId>
87           <artifactId>openflow-protocol-impl</artifactId>
88           <version>${openflowjava.version}</version>
89         </dependency>
90         <dependency>
91           <groupId>org.opendaylight.openflowjava</groupId>
92           <artifactId>openflow-protocol-api</artifactId>
93           <version>${openflowjava.version}</version>
94         </dependency>
95         <dependency>
96           <groupId>org.opendaylight.openflowjava</groupId>
97           <artifactId>openflow-protocol-spi</artifactId>
98           <version>${openflowjava.version}</version>
99         </dependency>
100         <dependency>
101           <groupId>org.opendaylight.openflowjava</groupId>
102           <artifactId>util</artifactId>
103           <version>${openflowjava.version}</version>
104         </dependency>
105         <dependency>
106           <groupId>org.opendaylight.openflowjava</groupId>
107           <artifactId>simple-client</artifactId>
108           <version>${openflowjava.version}</version>
109         </dependency>
110         <dependency>
111           <groupId>org.opendaylight.controller.model</groupId>
112           <artifactId>model-flow-base</artifactId>
113           <version>${controller.model.version}</version>
114         </dependency>
115         <dependency>
116           <groupId>org.opendaylight.controller.model</groupId>
117           <artifactId>model-flow-service</artifactId>
118           <version>${controller.model.version}</version>
119         </dependency>
120         <dependency>
121           <groupId>org.opendaylight.controller.model</groupId>
122           <artifactId>model-flow-statistics</artifactId>
123           <version>${controller.model.version}</version>
124         </dependency>
125         <dependency>
126           <groupId>org.opendaylight.controller.model</groupId>
127           <artifactId>model-inventory</artifactId>
128           <version>${controller.model.version}</version>
129         </dependency>
130         <dependency>
131           <groupId>org.opendaylight.controller</groupId>
132           <artifactId>sal-binding-api</artifactId>
133           <version>${controller.model.version}</version>
134         </dependency>
135         <dependency>
136             <groupId>org.opendaylight.controller</groupId>
137             <artifactId>liblldp</artifactId>
138             <version>${sal.api.version}</version>
139         </dependency>
140         <dependency>
141             <groupId>org.opendaylight.controller</groupId>
142             <artifactId>sal-common-util</artifactId>
143             <version>${controller.model.version}</version>
144         </dependency>
145         <!-- IT -->
146         <dependency>
147             <groupId>org.opendaylight.controller</groupId>
148             <artifactId>sal-common-util</artifactId>
149             <version>${sal.common.util.version}</version>
150         </dependency>
151         <dependency>
152             <groupId>org.opendaylight.controller</groupId>
153             <artifactId>config-netconf-connector</artifactId>
154             <version>${netconf.parent.version}</version>
155         </dependency>
156         <dependency>
157             <groupId>org.opendaylight.controller</groupId>
158             <artifactId>sal-binding-it</artifactId>
159             <version>${controller.model.version}</version>
160         </dependency>
161         <dependency>
162             <groupId>org.opendaylight.controller</groupId>
163             <artifactId>sal-binding-broker-impl</artifactId>
164             <version>${controller.model.version}</version>
165         </dependency>
166         <dependency>
167             <groupId>org.opendaylight.controller</groupId>
168             <artifactId>config-manager</artifactId>
169             <version>${config.parent.version}</version>
170         </dependency>
171           <dependency>
172               <groupId>org.opendaylight.controller</groupId>
173               <artifactId>config-api</artifactId>
174               <version>${config.parent.version}</version>
175           </dependency>
176         <dependency>
177             <groupId>org.opendaylight.yangtools.thirdparty</groupId>
178             <artifactId>antlr4-runtime-osgi-nohead</artifactId>
179             <version>4.0</version>
180         </dependency>
181         <dependency>
182           <groupId>org.opendaylight.controller</groupId>
183           <artifactId>logback-config</artifactId>
184           <version>${config.parent.version}</version>
185         </dependency>
186         <dependency>
187           <groupId>org.opendaylight.controller</groupId>
188           <artifactId>config-persister-api</artifactId>
189           <version>${config.parent.version}</version>
190         </dependency>
191         <dependency>
192           <groupId>org.opendaylight.controller</groupId>
193           <artifactId>config-persister-impl</artifactId>
194           <version>${config.parent.version}</version>
195         </dependency>
196         <dependency>
197           <groupId>org.opendaylight.controller</groupId>
198           <artifactId>config-persister-file-xml-adapter</artifactId>
199           <version>${config.parent.version}</version>
200         </dependency>
201         <dependency>
202           <groupId>org.opendaylight.controller</groupId>
203           <artifactId>netconf-monitoring</artifactId>
204           <version>${netconf.parent.version}</version>
205         </dependency>
206         <dependency>
207           <groupId>org.opendaylight.controller</groupId>
208           <artifactId>netconf-client</artifactId>
209           <version>${netconf.parent.version}</version>
210         </dependency>
211         <dependency>
212           <groupId>org.opendaylight.controller</groupId>
213           <artifactId>netconf-impl</artifactId>
214           <version>${netconf.parent.version}</version>
215         </dependency>
216
217         <!-- thirdparty -->
218         <dependency>
219           <groupId>org.openexi</groupId>
220           <artifactId>nagasena</artifactId>
221           <version>${exi.nagasena.version}</version>
222         </dependency>
223         <dependency>
224           <groupId>org.openexi</groupId>
225           <artifactId>nagasena-rta</artifactId>
226           <version>${exi.nagasena.version}</version>
227         </dependency>
228         <dependency>
229           <groupId>org.opendaylight.controller.thirdparty</groupId>
230           <artifactId>ganymed</artifactId>
231           <version>1.2.0-SNAPSHOT</version>
232         </dependency>
233         <dependency>
234             <groupId>xml-apis</groupId>
235             <artifactId>xml-apis</artifactId>
236             <version>1.4.01</version>
237         </dependency>
238         <dependency>
239             <groupId>org.opendaylight.yangtools.thirdparty</groupId>
240             <artifactId>xtend-lib-osgi</artifactId>
241             <version>2.4.3</version>
242             <scope>test</scope>
243         </dependency>
244       </dependencies>
245     </dependencyManagement>
246
247     <dependencies>
248         <!-- Sonar -->
249         <dependency>
250             <groupId>org.codehaus.sonar-plugins.java</groupId>
251             <artifactId>sonar-jacoco-listeners</artifactId>
252             <version>${sonar-jacoco-listeners.version}</version>
253             <scope>test</scope>
254         </dependency>
255     </dependencies>
256
257     <build>
258         <plugins>
259             <plugin>
260                  <groupId>org.codehaus.mojo</groupId>
261                  <artifactId>build-helper-maven-plugin</artifactId>
262             </plugin>
263             <plugin>
264                 <groupId>org.jacoco</groupId>
265                 <artifactId>jacoco-maven-plugin</artifactId>
266                 <executions>
267                     <execution>
268                         <id>prepare-ut-agent</id>
269                         <phase>process-test-classes</phase>
270                         <goals>
271                             <goal>prepare-agent</goal>
272                         </goals>
273                         <configuration>
274                             <destFile>${sonar.jacoco.reportPath}</destFile>
275                             <propertyName>jacoco.agent.ut.arg</propertyName>
276                         </configuration>
277                     </execution>
278                     <execution>
279                         <id>prepare-it-agent</id>
280                         <phase>pre-integration-test</phase>
281                         <goals>
282                             <goal>prepare-agent</goal>
283                         </goals>
284                         <configuration>
285                             <destFile>${sonar.jacoco.itReportPath}</destFile>
286                             <propertyName>jacoco.agent.it.arg</propertyName>
287                         </configuration>
288                     </execution>
289                 </executions>
290             </plugin>
291         </plugins>
292         <pluginManagement>
293           <plugins>
294             <plugin>
295               <groupId>org.apache.maven.plugins</groupId>
296               <artifactId>maven-compiler-plugin</artifactId>
297               <configuration>
298                 <source>1.7</source>
299                 <target>1.7</target>
300               </configuration>
301             </plugin>
302             <plugin>
303               <groupId>org.ops4j.pax.exam</groupId>
304               <artifactId>maven-paxexam-plugin</artifactId>
305               <version>1.2.4</version>
306             </plugin>
307             <plugin>
308               <groupId>org.eclipse.xtend</groupId>
309               <artifactId>xtend-maven-plugin</artifactId>
310               <version>${xtend.version}</version>
311               <executions>
312                   <execution>
313                       <goals>
314                           <goal>compile</goal>
315                       </goals>
316                       <configuration>
317                           <outputDirectory>${xtend.dstdir}</outputDirectory>
318                       </configuration>
319                   </execution>
320               </executions>
321           </plugin>
322           <plugin>
323               <artifactId>maven-clean-plugin</artifactId>
324               <configuration>
325                   <filesets>
326                       <fileset>
327                           <directory>${xtend.dstdir}</directory>
328                           <includes>
329                               <include>**</include>
330                           </includes>
331                       </fileset>
332                       <fileset>
333                           <directory>${jmxGeneratorPath}</directory>
334                           <includes>
335                               <include>**</include>
336                           </includes>
337                       </fileset>
338                       <fileset>
339                           <directory>${salGeneratorPath}</directory>
340                           <includes>
341                               <include>**</include>
342                           </includes>
343                       </fileset>
344                   </filesets>
345               </configuration>
346             </plugin>
347           <plugin>
348              <groupId>org.codehaus.mojo</groupId>
349              <artifactId>build-helper-maven-plugin</artifactId>
350              <version>${build.helper.version}</version>
351              <executions>
352                 <execution>
353                    <id>add-source</id>
354                    <phase>generate-sources</phase>
355                    <goals>
356                       <goal>add-source</goal>
357                    </goals>
358                    <configuration>
359                       <sources>
360                          <source>${jmxGeneratorPath}</source>
361                          <source>${salGeneratorPath}</source>
362                          <source>${xtend.dstdir}</source>
363                       </sources>
364                    </configuration>
365                 </execution>
366              </executions>
367             </plugin>
368             <plugin>
369               <groupId>org.opendaylight.yangtools</groupId>
370               <artifactId>yang-maven-plugin</artifactId>
371               <version>${yang.binding.version}</version>
372             </plugin>
373             <plugin>
374               <groupId>org.apache.felix</groupId>
375               <artifactId>maven-bundle-plugin</artifactId>
376               <version>${maven.bundle.version}</version>
377               <extensions>true</extensions>
378               <configuration>
379                 <instructions>
380                   <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
381                 </instructions>
382                 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
383               </configuration>
384             </plugin>
385             <!-- Ignore/Execute plugin execution -->
386             <plugin>
387               <groupId>org.eclipse.m2e</groupId>
388               <artifactId>lifecycle-mapping</artifactId>
389               <version>1.0.0</version>
390               <configuration>
391                 <lifecycleMappingMetadata>
392                   <pluginExecutions>
393                     <pluginExecution>
394                       <pluginExecutionFilter>
395                         <groupId>org.codehaus.mojo</groupId>
396                         <artifactId>properties-maven-plugin</artifactId>
397                         <versionRange>[0.0,)</versionRange>
398                         <goals>
399                           <goal>set-system-properties</goal>
400                         </goals>
401                       </pluginExecutionFilter>
402                       <action>
403                         <ignore/>
404                       </action>
405                     </pluginExecution>
406                     <pluginExecution>
407                       <pluginExecutionFilter>
408                         <groupId>org.codehaus.enunciate</groupId>
409                         <artifactId>maven-enunciate-plugin</artifactId>
410                         <versionRange>[0.0,)</versionRange>
411                         <goals>
412                           <goal>docs</goal>
413                         </goals>
414                       </pluginExecutionFilter>
415                       <action>
416                         <ignore/>
417                       </action>
418                     </pluginExecution>
419                     <pluginExecution>
420                       <pluginExecutionFilter>
421                         <groupId>org.jacoco</groupId>
422                         <artifactId>jacoco-maven-plugin</artifactId>
423                         <versionRange>[0.0,)</versionRange>
424                         <goals>
425                           <goal>prepare-agent</goal>
426                           <goal>pre-test</goal>
427                           <goal>post-test</goal>
428                         </goals>
429                       </pluginExecutionFilter>
430                       <action>
431                         <ignore/>
432                       </action>
433                     </pluginExecution>
434                     <pluginExecution>
435                       <pluginExecutionFilter>
436                         <groupId>org.ops4j.pax.exam</groupId>
437                         <artifactId>maven-paxexam-plugin</artifactId>
438                         <versionRange>[1.2.4,)</versionRange>
439                         <goals>
440                           <goal>generate-depends-file</goal>
441                         </goals>
442                       </pluginExecutionFilter>
443                       <action>
444                         <execute>
445                           <runOnIncremental>false</runOnIncremental>
446                         </execute>
447                       </action>
448                     </pluginExecution>
449                     <pluginExecution>
450                       <pluginExecutionFilter>
451                         <groupId>org.apache.maven.plugins</groupId>
452                         <artifactId>maven-checkstyle-plugin</artifactId>
453                         <versionRange>[2.0,)</versionRange>
454                         <goals>
455                           <goal>check</goal>
456                         </goals>
457                       </pluginExecutionFilter>
458                       <action>
459                         <ignore/>
460                       </action>
461                     </pluginExecution>
462                     <pluginExecution>
463                       <pluginExecutionFilter>
464                         <groupId>org.opendaylight.yangtools</groupId>
465                         <artifactId>yang-maven-plugin</artifactId>
466                         <versionRange>[0.5,)</versionRange>
467                         <goals>
468                           <goal>generate-sources</goal>
469                         </goals>
470                       </pluginExecutionFilter>
471                       <action>
472                         <execute/>
473                       </action>
474                     </pluginExecution>
475                     <pluginExecution>
476                       <pluginExecutionFilter>
477                         <groupId>org.codehaus.groovy.maven</groupId>
478                         <artifactId>gmaven-plugin</artifactId>
479                         <versionRange>1.0</versionRange>
480                         <goals>
481                           <goal>execute</goal>
482                         </goals>
483                       </pluginExecutionFilter>
484                       <action>
485                         <ignore/>
486                       </action>
487                     </pluginExecution>
488                     <pluginExecution>
489                       <pluginExecutionFilter>
490                         <groupId>org.apache.maven.plugins</groupId>
491                         <artifactId>maven-enforcer-plugin</artifactId>
492                         <versionRange>${enforcer.version}</versionRange>
493                         <goals>
494                           <goal>enforce</goal>
495                         </goals>
496                       </pluginExecutionFilter>
497                       <action>
498                         <ignore/>
499                       </action>
500                     </pluginExecution>
501                   </pluginExecutions>
502                 </lifecycleMappingMetadata>
503               </configuration>
504             </plugin>
505             <plugin>
506               <groupId>org.apache.maven.plugins</groupId>
507               <artifactId>maven-failsafe-plugin</artifactId>
508               <configuration>
509                 <!-- Specific to generate mapping between tests and covered code -->
510                 <argLine>${jacoco.agent.it.arg}</argLine>
511                 <properties>
512                   <property>
513                     <name>listener</name>
514                     <value>org.sonar.java.jacoco.JUnitListener</value>
515                   </property>
516                 </properties>
517                 <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
518                 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
519               </configuration>
520             </plugin>
521             <plugin>
522               <groupId>org.apache.maven.plugins</groupId>
523               <artifactId>maven-surefire-plugin</artifactId>
524               <configuration>
525                 <!-- Specific to generate mapping between tests and covered code -->
526                 <argLine>${jacoco.agent.ut.arg}</argLine>
527                 <properties>
528                   <property>
529                     <name>listener</name>
530                     <value>org.sonar.java.jacoco.JUnitListener</value>
531                   </property>
532                 </properties>
533               </configuration>
534             </plugin>
535           </plugins>
536         </pluginManagement>
537     </build>
538
539     <profiles>
540       <profile>
541         <id>findbugsReport</id>
542         <reporting>
543           <plugins>
544             <plugin>
545               <groupId>org.apache.maven.plugins</groupId>
546               <artifactId>maven-project-info-reports-plugin</artifactId>
547               <version>2.7</version>
548               <configuration>
549                 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
550                 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
551               </configuration>
552               <reportSets>
553                 <reportSet>
554                   <reports>
555                     <report>index</report>
556                     <report>project-team</report>
557                     <report>license</report>
558                     <report>mailing-list</report>
559                     <report>plugin-management</report>
560                     <report>cim</report>
561                     <report>issue-tracking</report>
562                     <report>scm</report>
563                     <report>summary</report>
564                   </reports>
565                 </reportSet>
566               </reportSets>
567             </plugin>
568             <plugin>
569               <groupId>org.codehaus.mojo</groupId>
570               <artifactId>findbugs-maven-plugin</artifactId>
571               <version>2.5.2</version>
572             </plugin>
573             <plugin>
574               <groupId>org.apache.maven.plugins</groupId>
575               <artifactId>maven-pmd-plugin</artifactId>
576               <version>3.0.1</version>
577             </plugin>
578             <plugin>
579               <groupId>org.apache.maven.plugins</groupId>
580               <artifactId>maven-jxr-plugin</artifactId>
581               <version>2.3</version>
582             </plugin>
583           </plugins>
584         </reporting>
585       </profile>
586     </profiles>
587
588     <repositories>
589       <repository>
590         <id>opendaylight-snapshot</id>
591         <name>opendaylight-snapshot</name>
592         <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</url>
593         <releases>
594           <enabled>false</enabled>
595         </releases>
596       </repository>
597       <repository>
598         <id>public</id>
599         <name>public</name>
600         <url>http://nexus.opendaylight.org/content/groups/public</url>
601         <snapshots>
602           <enabled>false</enabled>
603         </snapshots>
604       </repository>
605
606     </repositories>
607
608     <pluginRepositories>
609       <pluginRepository>
610         <id>opendaylight-central</id>
611         <name>opendaylight-central</name>
612         <url>http://nexus.opendaylight.org/content/repositories/public</url>
613         <snapshots>
614           <enabled>false</enabled>
615         </snapshots>
616       </pluginRepository>
617       <pluginRepository>
618         <id>opendaylight-snapshot</id>
619         <name>central2</name>
620         <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</url>
621         <releases>
622           <enabled>false</enabled>
623         </releases>
624       </pluginRepository>
625     </pluginRepositories>
626
627     <modules>
628       <module>openflowplugin-api</module>
629       <module>openflowplugin</module>
630       <module>extension</module>
631       <module>distribution/base</module>
632       <module>distribution/cbench</module>
633       <module>distribution/karaf</module>
634       <module>openflowplugin-controller-config</module>
635       <module>openflowplugin-it</module>
636       <module>test-provider</module>
637       <module>drop-test</module>
638       <module>drop-test-karaf</module>
639       <module>test-common</module>
640       <module>features</module>
641       <module>samples/sample-consumer</module>
642       <module>samples/learning-switch</module>
643     <module>applications</module>
644   </modules>
645 </project>