Bumping versions by 0.0.1 after the Helium SR4 release
[openflowjava.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     <groupId>org.opendaylight.openflowjava</groupId>
5     <artifactId>openflow-protocol-parent</artifactId>
6     <version>0.5.5-SNAPSHOT</version>
7     <name>openflowjava</name> <!-- Used by Sonar to set project name -->
8     <packaging>pom</packaging>
9
10     <modules>
11         <module>openflow-protocol-api</module>
12         <module>openflow-protocol-spi</module>
13         <module>util</module>
14         <module>openflow-protocol-impl</module>
15         <module>openflow-protocol-it</module>
16         <module>features</module>
17         <module>simple-client</module>
18     </modules>
19     <scm>
20         <connection>scm:git:ssh://git.opendaylight.org:29418/openflowjava.git</connection>
21         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/openflowjava.git</developerConnection>
22         <url>https://wiki.opendaylight.org/view/Openflow_Protocol_Library:Main</url>
23       <tag>HEAD</tag>
24     </scm>
25
26     <properties>
27         <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
28         <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
29         <sitedeploy>dav:http://nexus.opendaylight.org/content/sites/site</sitedeploy>
30         <siteplugin>3.2</siteplugin>
31         <projectinfo>2.6</projectinfo>
32         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
33         <compiler.version>2.3.2</compiler.version>
34         <surefire.version>2.13</surefire.version>
35         <exam.version>3.0.0</exam.version>
36         <url.version>1.5.0</url.version>
37         <enunciate.version>1.26.2</enunciate.version>
38         <jmxGeneratorPath>${project.build.directory}/yang-gen-config</jmxGeneratorPath>
39         <karaf.distro.empty.version>1.4.7-SNAPSHOT</karaf.distro.empty.version>
40         <salGeneratorPath>${project.build.directory}/yang-gen-sal</salGeneratorPath>
41         <sonar.branch>${user.name}-private-view</sonar.branch>
42         <sonar.skippedModules>org.openflow.openflowj,net.sf.jung2</sonar.skippedModules>
43         <logback.version>1.0.9</logback.version>
44         <slf4j.version>1.7.2</slf4j.version>
45         <yang.prototype.version>1.1.5-SNAPSHOT</yang.prototype.version>
46         <ietf.model.version>2010.09.24.4.5-SNAPSHOT</ietf.model.version>
47         <yang.ext.version>2013.09.07.4.5-SNAPSHOT</yang.ext.version>
48         <maven.bundle.version>2.4.0</maven.bundle.version>
49         <guava.version>14.0.1</guava.version> 
50         <netty.version>4.0.23.Final</netty.version>
51         <releaseplugin.version>2.3.2</releaseplugin.version>
52         <yangtools.version>0.6.7-SNAPSHOT</yangtools.version>
53         <yangtools.generator.version>0.6.7-SNAPSHOT</yangtools.generator.version>
54         <config.version>0.2.10-SNAPSHOT</config.version>
55
56         <!-- Sonar config -->
57         <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
58         <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
59         <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
60         <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
61         <sonar.profile>Sonar way with Findbugs</sonar.profile>
62     </properties>
63
64     <pluginRepositories>
65         <!-- Opendaylight public group -->
66         <pluginRepository>
67             <id>odlPublic</id>
68             <name>odlPublic</name>
69             <url>${nexusproxy}/groups/public/</url>
70             <snapshots>
71               <enabled>false</enabled>
72             </snapshots>
73             <releases>
74               <enabled>true</enabled>
75             </releases>
76         </pluginRepository>
77         <!-- OpenDayLight Snapshot artifact -->
78         <pluginRepository>
79             <id>opendaylight-snapshot</id>
80             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
81             <snapshots>
82               <enabled>true</enabled>
83             </snapshots>
84             <releases>
85               <enabled>false</enabled>
86             </releases>
87         </pluginRepository>
88     </pluginRepositories>
89
90
91     <repositories>
92         <!-- Opendaylight public group -->
93         <repository>
94             <id>odlPublic</id>
95             <name>odlPublic</name>
96             <url>${nexusproxy}/groups/public/</url>
97             <snapshots>
98               <enabled>false</enabled>
99             </snapshots>
100             <releases>
101               <enabled>true</enabled>
102             </releases>
103         </repository>
104         <!-- OpenDayLight Snapshot artifact -->
105         <repository>
106             <id>opendaylight-snapshot</id>
107             <name>opendaylight-snapshot</name>
108             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
109             <snapshots>
110               <enabled>true</enabled>
111             </snapshots>
112             <releases>
113               <enabled>false</enabled>
114             </releases>
115         </repository>
116     </repositories>
117     <distributionManagement>
118         <!-- OpenDayLight Released artifact -->
119         <repository>
120             <id>opendaylight-release</id>
121             <url>${nexusproxy}/repositories/opendaylight.release/</url>
122         </repository>
123         <!-- OpenDayLight Snapshot artifact -->
124         <snapshotRepository>
125             <id>opendaylight-snapshot</id>
126             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
127         </snapshotRepository>
128         <!-- Site deployment -->
129         <!-- site>
130             <id>website</id>
131             <url>${sitedeploy}</url>
132         </site -->
133     </distributionManagement>
134
135
136     <dependencyManagement>
137         <dependencies>
138             <!-- feature dependencies -->
139             <dependency>
140               <groupId>org.opendaylight.yangtools</groupId>
141               <artifactId>features-yangtools</artifactId>
142               <version>${yangtools.version}</version>
143               <classifier>features</classifier>
144               <type>xml</type>
145             </dependency>
146             <dependency>
147               <groupId>org.opendaylight.controller</groupId>
148               <artifactId>features-config</artifactId>
149               <version>${config.version}</version>
150               <classifier>features</classifier>
151               <type>xml</type>
152             </dependency>
153             <dependency>
154                 <groupId>org.slf4j</groupId>
155                 <artifactId>slf4j-api</artifactId>
156                 <version>${slf4j.version}</version>
157             </dependency>
158             <dependency>
159                 <groupId>io.netty</groupId>
160                 <artifactId>netty-buffer</artifactId>
161                 <version>${netty.version}</version>
162             </dependency>
163             <dependency>
164                 <groupId>io.netty</groupId>
165                 <artifactId>netty-handler</artifactId>
166                 <version>${netty.version}</version>
167             </dependency>
168             <dependency>
169                 <groupId>io.netty</groupId>
170                 <artifactId>netty-codec</artifactId>
171                 <version>${netty.version}</version>
172             </dependency>
173             <dependency>
174                 <groupId>io.netty</groupId>
175                 <artifactId>netty-common</artifactId>
176                 <version>${netty.version}</version>
177             </dependency>
178             <dependency>
179                 <groupId>io.netty</groupId>
180                 <artifactId>netty-transport</artifactId>
181                 <version>${netty.version}</version>
182             </dependency>
183             <dependency>
184                 <groupId>com.google.guava</groupId>
185                 <artifactId>guava</artifactId>
186                 <version>${guava.version}</version>
187             </dependency>
188             <dependency>
189                 <groupId>org.opendaylight.yangtools.model</groupId>
190                 <artifactId>ietf-inet-types</artifactId>
191                 <version>${ietf.model.version}</version>
192             </dependency>
193             <dependency>
194                 <groupId>org.opendaylight.yangtools.model</groupId>
195                 <artifactId>ietf-yang-types</artifactId>
196                 <version>${ietf.model.version}</version>
197             </dependency>
198             <dependency>
199                 <groupId>org.opendaylight.yangtools.model</groupId>
200                 <artifactId>yang-ext</artifactId>
201                 <version>${yang.ext.version}</version>
202             </dependency>
203             <dependency>
204                 <groupId>org.osgi</groupId>
205                 <artifactId>org.osgi.core</artifactId>
206                 <version>5.0.0</version>
207             </dependency>
208             <dependency>
209                 <groupId>org.opendaylight.controller</groupId>
210                 <artifactId>config-api</artifactId>
211                 <version>0.2.10-SNAPSHOT</version>
212             </dependency>
213             <dependency>
214                 <groupId>junit</groupId>
215                 <artifactId>junit</artifactId>
216                 <version>4.10</version>
217                 <scope>test</scope>
218                 <optional>true</optional>
219             </dependency>
220             <dependency>
221                 <groupId>org.mockito</groupId>
222                 <artifactId>mockito-all</artifactId>
223                 <version>1.9.5</version>
224                 <scope>test</scope>
225             </dependency>
226             <dependency>
227               <groupId>org.opendaylight.yangtools</groupId>
228               <artifactId>features-test</artifactId>
229               <version>${yangtools.version}</version>
230             </dependency>
231         </dependencies>
232     </dependencyManagement>
233
234     <dependencies>
235         <!-- Sonar -->
236         <dependency>
237             <groupId>org.codehaus.sonar-plugins.java</groupId>
238             <artifactId>sonar-jacoco-listeners</artifactId>
239             <version>${sonar-jacoco-listeners.version}</version>
240             <scope>test</scope>
241         </dependency>
242     </dependencies>
243
244     <build>
245         <plugins>
246             <plugin>
247                 <groupId>org.apache.maven.plugins</groupId>
248                 <artifactId>maven-compiler-plugin</artifactId>
249                 <version>${compiler.version}</version>
250                 <inherited>true</inherited>
251                 <configuration>
252                     <source>1.7</source>
253                     <target>1.7</target>
254                 </configuration>
255             </plugin>
256             <plugin>
257                 <artifactId>maven-source-plugin</artifactId>
258                 <executions>
259                     <execution>
260                         <id>attach-sources</id>
261                         <phase>deploy</phase>
262                         <goals>
263                             <goal>jar-no-fork</goal>
264                         </goals> 
265                     </execution>
266                 </executions>
267             </plugin>
268             <plugin>
269               <groupId>org.apache.felix</groupId>
270               <artifactId>maven-bundle-plugin</artifactId>
271               <extensions>true</extensions>
272               <configuration>
273                 <instructions>
274                   <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
275                 </instructions>
276                 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
277               </configuration>
278             </plugin>
279             <plugin>
280               <groupId>org.apache.maven.plugins</groupId>
281               <artifactId>maven-checkstyle-plugin</artifactId>
282               <version>2.12</version>
283               <configuration>
284                 <failOnViolation>false</failOnViolation>
285                 <configLocation>checkstyle-logging.xml</configLocation>
286                 <consoleOutput>true</consoleOutput>
287                 <includeTestSourceDirectory>true</includeTestSourceDirectory>
288                 <sourceDirectory>${project.basedir}</sourceDirectory>
289                 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
290                 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/src/main/yang-gen-config\/,**\/src/main/yang-gen-sal\/</excludes>
291               </configuration>
292               <dependencies>
293                 <dependency>
294                 <groupId>org.opendaylight.yangtools</groupId>
295                 <artifactId>checkstyle-logging</artifactId>
296                 <version>${yangtools.version}</version>
297                 </dependency>
298               </dependencies>
299               <executions>
300                 <execution>
301                 <goals>
302                   <goal>check</goal>
303                 </goals>
304                 </execution>
305               </executions>
306             </plugin>
307             <plugin>
308                 <groupId>org.codehaus.mojo</groupId>
309                 <artifactId>build-helper-maven-plugin</artifactId>
310             </plugin>
311             <plugin>
312                 <groupId>org.jacoco</groupId>
313                 <artifactId>jacoco-maven-plugin</artifactId>
314                 <executions>
315                     <execution>
316                         <id>prepare-ut-agent</id>
317                         <phase>process-test-classes</phase>
318                         <goals>
319                             <goal>prepare-agent</goal>
320                         </goals>
321                         <configuration>
322                             <destFile>${sonar.jacoco.reportPath}</destFile>
323                             <propertyName>jacoco.agent.ut.arg</propertyName>
324                         </configuration>
325                     </execution>
326                     <execution>
327                         <id>prepare-it-agent</id>
328                         <phase>pre-integration-test</phase>
329                         <goals>
330                             <goal>prepare-agent</goal>
331                         </goals>
332                         <configuration>
333                             <destFile>${sonar.jacoco.itReportPath}</destFile>
334                             <propertyName>jacoco.agent.it.arg</propertyName>
335                         </configuration>
336                     </execution>
337                 </executions>
338             </plugin>
339         </plugins>
340         <pluginManagement>
341             <plugins>
342                 <plugin>
343                     <groupId>org.apache.maven.plugins</groupId>
344                     <artifactId>maven-source-plugin</artifactId>
345                     <version>2.2.1</version>
346                 </plugin>
347                 <plugin>
348                     <groupId>org.apache.maven.plugins</groupId>
349                     <artifactId>maven-deploy-plugin</artifactId>
350                     <version>2.7</version>
351                 </plugin>
352                 <plugin>
353                     <groupId>org.apache.maven.plugins</groupId>
354                     <artifactId>maven-jar-plugin</artifactId>
355                     <version>2.4</version>
356                 </plugin>
357                 <plugin>
358                     <groupId>org.apache.maven.plugins</groupId>
359                     <artifactId>maven-release-plugin</artifactId>
360                     <version>${releaseplugin.version}</version>
361                 </plugin>
362                 <plugin>
363                     <groupId>org.opendaylight.yangtools</groupId>
364                     <artifactId>yang-maven-plugin</artifactId>
365                     <version>${yangtools.version}</version>
366                 </plugin>
367                 <plugin>
368                     <groupId>org.apache.felix</groupId>
369                     <artifactId>maven-bundle-plugin</artifactId>
370                     <version>${maven.bundle.version}</version>
371                 </plugin>
372                 <plugin>
373                     <groupId>org.codehaus.mojo</groupId>
374                     <artifactId>build-helper-maven-plugin</artifactId>
375                     <version>1.8</version>
376                     <executions>
377                         <execution>
378                             <id>add-source</id>
379                             <goals>
380                                 <goal>add-source</goal>
381                             </goals>
382                             <phase>generate-sources</phase>
383                             <configuration>
384                                 <sources>
385                                     <source>src/main/yang</source>
386                                 </sources>
387                             </configuration>
388                         </execution>
389                     </executions>
390                 </plugin>
391                 <plugin>
392                     <groupId>org.apache.maven.plugins</groupId>
393                     <artifactId>maven-failsafe-plugin</artifactId>
394                     <configuration>
395                         <!-- Specific to generate mapping between tests and covered code -->
396                         <argLine>${jacoco.agent.it.arg}</argLine>
397                         <properties>
398                             <property>
399                                 <name>listener</name>
400                                 <value>org.sonar.java.jacoco.JUnitListener</value>
401                             </property>
402                         </properties>
403                         <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
404                         <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
405                     </configuration>
406                 </plugin>
407                 <plugin>
408                     <groupId>org.apache.maven.plugins</groupId>
409                     <artifactId>maven-surefire-plugin</artifactId>
410                     <configuration>
411                         <!-- Specific to generate mapping between tests and covered code -->
412                         <argLine>${jacoco.agent.ut.arg}</argLine>
413                         <properties>
414                             <property>
415                                 <name>listener</name>
416                                 <value>org.sonar.java.jacoco.JUnitListener</value>
417                             </property>
418                         </properties>
419                     </configuration>
420                 </plugin>
421                 <!-- Ignore/Execute plugin execution -->
422                 <plugin>
423                   <groupId>org.eclipse.m2e</groupId>
424                   <artifactId>lifecycle-mapping</artifactId>
425                   <version>1.0.0</version>
426                   <configuration>
427                     <lifecycleMappingMetadata>
428                       <pluginExecutions>
429                         <pluginExecution>
430                           <pluginExecutionFilter>
431                             <groupId>org.codehaus.mojo</groupId>
432                             <artifactId>properties-maven-plugin</artifactId>
433                             <versionRange>[0.0,)</versionRange>
434                             <goals>
435                               <goal>set-system-properties</goal>
436                             </goals>
437                           </pluginExecutionFilter>
438                           <action>
439                             <ignore></ignore>
440                           </action>
441                         </pluginExecution>
442                         <pluginExecution>
443                           <pluginExecutionFilter>
444                             <groupId>org.codehaus.enunciate</groupId>
445                             <artifactId>maven-enunciate-plugin</artifactId>
446                             <versionRange>[0.0,)</versionRange>
447                             <goals>
448                               <goal>docs</goal>
449                             </goals>
450                           </pluginExecutionFilter>
451                           <action>
452                             <ignore></ignore>
453                           </action>
454                         </pluginExecution>
455                         <pluginExecution>
456                           <pluginExecutionFilter>
457                             <groupId>org.jacoco</groupId>
458                             <artifactId>jacoco-maven-plugin</artifactId>
459                             <versionRange>[0.0,)</versionRange>
460                             <goals>
461                               <goal>prepare-agent</goal>
462                               <goal>pre-test</goal>
463                               <goal>post-test</goal>
464                             </goals>
465                           </pluginExecutionFilter>
466                           <action>
467                             <ignore></ignore>
468                           </action>
469                         </pluginExecution>
470                         <pluginExecution>
471                           <pluginExecutionFilter>
472                             <groupId>org.ops4j.pax.exam</groupId>
473                             <artifactId>maven-paxexam-plugin</artifactId>
474                             <versionRange>[1.2.4,)</versionRange>
475                             <goals>
476                               <goal>generate-depends-file</goal>
477                             </goals>
478                           </pluginExecutionFilter>
479                           <action>
480                             <execute>
481                               <runOnIncremental>false</runOnIncremental>
482                             </execute>
483                           </action>
484                         </pluginExecution>
485                         <pluginExecution>
486                           <pluginExecutionFilter>
487                             <groupId>org.apache.maven.plugins</groupId>
488                             <artifactId>maven-checkstyle-plugin</artifactId>
489                             <versionRange>[2.0,)</versionRange>
490                             <goals>
491                               <goal>check</goal>
492                             </goals>
493                           </pluginExecutionFilter>
494                           <action>
495                             <ignore></ignore>
496                           </action>
497                         </pluginExecution>
498                         <pluginExecution>
499                           <pluginExecutionFilter>
500                             <groupId>org.opendaylight.yangtools</groupId>
501                             <artifactId>yang-maven-plugin</artifactId>
502                             <versionRange>[0.5,)</versionRange>
503                             <goals>
504                               <goal>generate-sources</goal>
505                             </goals>
506                           </pluginExecutionFilter>
507                           <action>
508                             <execute></execute>
509                           </action>
510                         </pluginExecution>
511                         <pluginExecution>
512                           <pluginExecutionFilter>
513                             <groupId>org.codehaus.groovy.maven</groupId>
514                             <artifactId>gmaven-plugin</artifactId>
515                             <versionRange>1.0</versionRange>
516                             <goals>
517                               <goal>execute</goal>
518                             </goals>
519                           </pluginExecutionFilter>
520                           <action>
521                             <ignore></ignore>
522                           </action>
523                         </pluginExecution>
524                         <pluginExecution>
525                           <pluginExecutionFilter>
526                             <groupId>org.apache.maven.plugins</groupId>
527                             <artifactId>maven-enforcer-plugin</artifactId>
528                             <versionRange>${enforcer.version}</versionRange>
529                             <goals>
530                               <goal>enforce</goal>
531                             </goals>
532                           </pluginExecutionFilter>
533                           <action>
534                             <ignore></ignore>
535                           </action>
536                         </pluginExecution>
537                       </pluginExecutions>
538                     </lifecycleMappingMetadata>
539                   </configuration>
540                 </plugin>
541             </plugins>
542         </pluginManagement>
543     </build>
544     <reporting>
545         <plugins>
546             <plugin>
547                 <groupId>org.codehaus.mojo</groupId>
548                 <artifactId>findbugs-maven-plugin</artifactId>
549                 <version>2.5.2</version>
550                 <configuration>
551                     <effort>Max</effort>
552                     <threshold>Low</threshold>
553                     <goal>site</goal>
554                 </configuration>
555             </plugin>
556             <plugin>
557               <artifactId>maven-jxr-plugin</artifactId>
558               <version>2.3</version>
559               <configuration>
560                 <aggregate>true</aggregate>
561                 <linkJavadoc>true</linkJavadoc>
562               </configuration>
563             </plugin>
564
565             <plugin>
566                 <groupId>org.codehaus.mojo</groupId>
567                 <artifactId>jdepend-maven-plugin</artifactId>
568                 <version>2.0-beta-2</version>
569             </plugin>
570         </plugins>
571     </reporting>
572     <profiles>
573         <profile>
574             <id>viewbuild</id>
575             <activation>
576                 <activeByDefault>true</activeByDefault>
577             </activation>
578             <properties>
579                 <build.suffix>${project.version}</build.suffix>
580             </properties>
581         </profile>
582         <profile>
583             <id>jenkins</id>
584             <activation>
585                 <property>
586                     <name>BUILDSUFFIX</name>
587                 </property>
588             </activation>
589             <properties>
590                 <build.suffix>${BUILDSUFFIX}</build.suffix>
591             </properties>
592         </profile>
593         <profile>
594             <id>repoBuild</id>
595             <build>
596                 <plugins>
597                     <plugin>
598                         <groupId>org.apache.maven.plugins</groupId>
599                         <artifactId>maven-javadoc-plugin</artifactId>
600                         <version>2.8.1</version>
601                         <executions>
602                             <execution>
603                                 <goals>
604                                     <goal>aggregate</goal>
605                                 </goals>
606                                 <phase>site</phase>
607                             </execution>
608                             <execution>
609                                 <id>attach-javadocs</id>
610                                 <goals>
611                                     <goal>jar</goal>
612                                 </goals>
613                             </execution>
614                         </executions>
615                     </plugin>
616                     <plugin>
617                         <groupId>org.apache.maven.plugins</groupId>
618                         <artifactId>maven-source-plugin</artifactId>
619                         <executions>
620                             <execution>
621                                 <id>attach-sources</id>
622                                 <phase>package</phase>
623                                 <goals>
624                                     <goal>jar-no-fork</goal>
625                                 </goals>
626                             </execution>
627                         </executions>
628                     </plugin>
629                 </plugins>
630             </build>
631         </profile>
632     </profiles>
633 </project>