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>
5 <groupId>org.opendaylight.odlparent</groupId>
6 <artifactId>odlparent</artifactId>
7 <version>1.5.0-SNAPSHOT</version>
11 <groupId>org.opendaylight.openflowjava</groupId>
12 <artifactId>openflow-protocol-parent</artifactId>
13 <version>0.6.0-SNAPSHOT</version>
14 <packaging>pom</packaging>
16 <module>openflowjava-config</module>
17 <module>openflow-protocol-api</module>
18 <module>openflow-protocol-spi</module>
20 <module>openflow-protocol-impl</module>
21 <module>openflow-protocol-it</module>
22 <module>features</module>
23 <module>simple-client</module>
26 <connection>scm:git:ssh://git.opendaylight.org:29418/openflowjava.git</connection>
27 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/openflowjava.git</developerConnection>
28 <url>https://wiki.opendaylight.org/view/Openflow_Protocol_Library:Main</url>
33 <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
34 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
35 <sitedeploy>dav:http://nexus.opendaylight.org/content/sites/site</sitedeploy>
36 <siteplugin>3.2</siteplugin>
37 <projectinfo>2.6</projectinfo>
38 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
39 <compiler.version>2.3.2</compiler.version>
40 <surefire.version>2.13</surefire.version>
41 <exam.version>3.0.0</exam.version>
42 <url.version>1.5.0</url.version>
43 <enunciate.version>1.26.2</enunciate.version>
44 <jmxGeneratorPath>${project.build.directory}/yang-gen-config</jmxGeneratorPath>
45 <karaf.distro.empty.version>1.5.0-SNAPSHOT</karaf.distro.empty.version>
46 <salGeneratorPath>${project.build.directory}/yang-gen-sal</salGeneratorPath>
47 <sonar.branch>${user.name}-private-view</sonar.branch>
48 <sonar.skippedModules>org.openflow.openflowj,net.sf.jung2</sonar.skippedModules>
49 <logback.version>1.0.9</logback.version>
50 <slf4j.version>1.7.2</slf4j.version>
51 <yang.prototype.version>1.2.0-SNAPSHOT</yang.prototype.version>
52 <ietf.model.version>2010.09.24.7-SNAPSHOT</ietf.model.version>
53 <yang.ext.version>2013.09.07.7-SNAPSHOT</yang.ext.version>
54 <maven.bundle.version>2.4.0</maven.bundle.version>
55 <guava.version>14.0.1</guava.version>
56 <netty.version>4.0.23.Final</netty.version>
57 <releaseplugin.version>2.3.2</releaseplugin.version>
58 <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
59 <yangtools.generator.version>0.7.0-SNAPSHOT</yangtools.generator.version>
60 <mdsal.version>1.2.0-SNAPSHOT</mdsal.version>
61 <config.version>0.3.0-SNAPSHOT</config.version>
64 <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
65 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
66 <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
67 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
68 <sonar.profile>Sonar way with Findbugs</sonar.profile>
72 <!-- Opendaylight public group -->
75 <name>odlPublic</name>
76 <url>${nexusproxy}/groups/public/</url>
78 <enabled>false</enabled>
81 <enabled>true</enabled>
84 <!-- OpenDayLight Snapshot artifact -->
86 <id>opendaylight-snapshot</id>
87 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
89 <enabled>true</enabled>
92 <enabled>false</enabled>
99 <!-- Opendaylight public group -->
102 <name>odlPublic</name>
103 <url>${nexusproxy}/groups/public/</url>
105 <enabled>false</enabled>
108 <enabled>true</enabled>
111 <!-- OpenDayLight Snapshot artifact -->
113 <id>opendaylight-snapshot</id>
114 <name>opendaylight-snapshot</name>
115 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
117 <enabled>true</enabled>
120 <enabled>false</enabled>
124 <distributionManagement>
125 <!-- OpenDayLight Released artifact -->
127 <id>opendaylight-release</id>
128 <url>${nexusproxy}/repositories/opendaylight.release/</url>
130 <!-- OpenDayLight Snapshot artifact -->
132 <id>opendaylight-snapshot</id>
133 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
134 </snapshotRepository>
135 <!-- Site deployment -->
138 <url>${sitedeploy}</url>
140 </distributionManagement>
143 <dependencyManagement>
145 <!-- feature dependencies -->
147 <groupId>org.opendaylight.yangtools</groupId>
148 <artifactId>features-yangtools</artifactId>
149 <version>${yangtools.version}</version>
150 <classifier>features</classifier>
154 <groupId>org.opendaylight.controller</groupId>
155 <artifactId>features-config</artifactId>
156 <version>${config.version}</version>
157 <classifier>features</classifier>
161 <groupId>org.slf4j</groupId>
162 <artifactId>slf4j-api</artifactId>
163 <version>${slf4j.version}</version>
166 <groupId>io.netty</groupId>
167 <artifactId>netty-buffer</artifactId>
168 <version>${netty.version}</version>
171 <groupId>io.netty</groupId>
172 <artifactId>netty-handler</artifactId>
173 <version>${netty.version}</version>
176 <groupId>io.netty</groupId>
177 <artifactId>netty-codec</artifactId>
178 <version>${netty.version}</version>
181 <groupId>io.netty</groupId>
182 <artifactId>netty-common</artifactId>
183 <version>${netty.version}</version>
186 <groupId>io.netty</groupId>
187 <artifactId>netty-transport</artifactId>
188 <version>${netty.version}</version>
191 <groupId>com.google.guava</groupId>
192 <artifactId>guava</artifactId>
193 <version>${guava.version}</version>
196 <groupId>org.opendaylight.yangtools.model</groupId>
197 <artifactId>ietf-inet-types</artifactId>
198 <version>${ietf.model.version}</version>
201 <groupId>org.opendaylight.yangtools.model</groupId>
202 <artifactId>ietf-yang-types</artifactId>
203 <version>${ietf.model.version}</version>
206 <groupId>org.opendaylight.yangtools.model</groupId>
207 <artifactId>yang-ext</artifactId>
208 <version>${yang.ext.version}</version>
211 <groupId>org.osgi</groupId>
212 <artifactId>org.osgi.core</artifactId>
213 <version>5.0.0</version>
216 <groupId>org.opendaylight.controller</groupId>
217 <artifactId>config-api</artifactId>
218 <version>0.3.0-SNAPSHOT</version>
221 <groupId>junit</groupId>
222 <artifactId>junit</artifactId>
223 <version>${junit.version}</version>
225 <optional>true</optional>
228 <groupId>org.mockito</groupId>
229 <artifactId>mockito-all</artifactId>
230 <version>1.9.5</version>
234 <groupId>org.opendaylight.yangtools</groupId>
235 <artifactId>features-test</artifactId>
236 <version>${yangtools.version}</version>
239 </dependencyManagement>
244 <groupId>org.codehaus.sonar-plugins.java</groupId>
245 <artifactId>sonar-jacoco-listeners</artifactId>
246 <version>${sonar-jacoco-listeners.version}</version>
254 <groupId>org.apache.maven.plugins</groupId>
255 <artifactId>maven-compiler-plugin</artifactId>
256 <inherited>true</inherited>
263 <artifactId>maven-source-plugin</artifactId>
266 <id>attach-sources</id>
267 <phase>deploy</phase>
269 <goal>jar-no-fork</goal>
275 <groupId>org.apache.felix</groupId>
276 <artifactId>maven-bundle-plugin</artifactId>
277 <extensions>true</extensions>
280 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
282 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
286 <groupId>org.apache.maven.plugins</groupId>
287 <artifactId>maven-checkstyle-plugin</artifactId>
288 <version>2.12</version>
290 <failOnViolation>false</failOnViolation>
291 <configLocation>checkstyle-logging.xml</configLocation>
292 <consoleOutput>true</consoleOutput>
293 <includeTestSourceDirectory>true</includeTestSourceDirectory>
294 <sourceDirectory>${project.basedir}</sourceDirectory>
295 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
296 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/src/main/yang-gen-config\/,**\/src/main/yang-gen-sal\/</excludes>
300 <groupId>org.opendaylight.yangtools</groupId>
301 <artifactId>checkstyle-logging</artifactId>
302 <version>${yangtools.version}</version>
314 <groupId>org.codehaus.mojo</groupId>
315 <artifactId>build-helper-maven-plugin</artifactId>
318 <groupId>org.jacoco</groupId>
319 <artifactId>jacoco-maven-plugin</artifactId>
322 <id>prepare-ut-agent</id>
323 <phase>process-test-classes</phase>
325 <goal>prepare-agent</goal>
328 <destFile>${sonar.jacoco.reportPath}</destFile>
329 <propertyName>jacoco.agent.ut.arg</propertyName>
333 <id>prepare-it-agent</id>
334 <phase>pre-integration-test</phase>
336 <goal>prepare-agent</goal>
339 <destFile>${sonar.jacoco.itReportPath}</destFile>
340 <propertyName>jacoco.agent.it.arg</propertyName>
349 <groupId>org.apache.maven.plugins</groupId>
350 <artifactId>maven-source-plugin</artifactId>
351 <version>2.2.1</version>
354 <groupId>org.apache.maven.plugins</groupId>
355 <artifactId>maven-deploy-plugin</artifactId>
356 <version>2.7</version>
359 <groupId>org.apache.maven.plugins</groupId>
360 <artifactId>maven-jar-plugin</artifactId>
361 <version>2.4</version>
364 <groupId>org.apache.maven.plugins</groupId>
365 <artifactId>maven-release-plugin</artifactId>
366 <version>${releaseplugin.version}</version>
369 <groupId>org.opendaylight.yangtools</groupId>
370 <artifactId>yang-maven-plugin</artifactId>
371 <version>${yangtools.version}</version>
374 <groupId>org.apache.felix</groupId>
375 <artifactId>maven-bundle-plugin</artifactId>
376 <version>${maven.bundle.version}</version>
379 <groupId>org.codehaus.mojo</groupId>
380 <artifactId>build-helper-maven-plugin</artifactId>
381 <version>1.8</version>
386 <goal>add-source</goal>
388 <phase>generate-sources</phase>
391 <source>src/main/yang</source>
398 <groupId>org.apache.maven.plugins</groupId>
399 <artifactId>maven-failsafe-plugin</artifactId>
401 <!-- Specific to generate mapping between tests and covered code -->
402 <argLine>${jacoco.agent.it.arg}</argLine>
405 <name>listener</name>
406 <value>org.sonar.java.jacoco.JUnitListener</value>
409 <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
410 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
414 <groupId>org.apache.maven.plugins</groupId>
415 <artifactId>maven-surefire-plugin</artifactId>
417 <!-- Specific to generate mapping between tests and covered code -->
418 <argLine>${jacoco.agent.ut.arg}</argLine>
421 <name>listener</name>
422 <value>org.sonar.java.jacoco.JUnitListener</value>
427 <!-- Ignore/Execute plugin execution -->
429 <groupId>org.eclipse.m2e</groupId>
430 <artifactId>lifecycle-mapping</artifactId>
431 <version>1.0.0</version>
433 <lifecycleMappingMetadata>
436 <pluginExecutionFilter>
437 <groupId>org.codehaus.mojo</groupId>
438 <artifactId>properties-maven-plugin</artifactId>
439 <versionRange>[0.0,)</versionRange>
441 <goal>set-system-properties</goal>
443 </pluginExecutionFilter>
449 <pluginExecutionFilter>
450 <groupId>org.codehaus.enunciate</groupId>
451 <artifactId>maven-enunciate-plugin</artifactId>
452 <versionRange>[0.0,)</versionRange>
456 </pluginExecutionFilter>
462 <pluginExecutionFilter>
463 <groupId>org.jacoco</groupId>
464 <artifactId>jacoco-maven-plugin</artifactId>
465 <versionRange>[0.0,)</versionRange>
467 <goal>prepare-agent</goal>
468 <goal>pre-test</goal>
469 <goal>post-test</goal>
471 </pluginExecutionFilter>
477 <pluginExecutionFilter>
478 <groupId>org.ops4j.pax.exam</groupId>
479 <artifactId>maven-paxexam-plugin</artifactId>
480 <versionRange>[1.2.4,)</versionRange>
482 <goal>generate-depends-file</goal>
484 </pluginExecutionFilter>
487 <runOnIncremental>false</runOnIncremental>
492 <pluginExecutionFilter>
493 <groupId>org.apache.maven.plugins</groupId>
494 <artifactId>maven-checkstyle-plugin</artifactId>
495 <versionRange>[2.0,)</versionRange>
499 </pluginExecutionFilter>
505 <pluginExecutionFilter>
506 <groupId>org.opendaylight.yangtools</groupId>
507 <artifactId>yang-maven-plugin</artifactId>
508 <versionRange>[0.5,)</versionRange>
510 <goal>generate-sources</goal>
512 </pluginExecutionFilter>
518 <pluginExecutionFilter>
519 <groupId>org.codehaus.groovy.maven</groupId>
520 <artifactId>gmaven-plugin</artifactId>
521 <versionRange>1.0</versionRange>
525 </pluginExecutionFilter>
531 <pluginExecutionFilter>
532 <groupId>org.apache.maven.plugins</groupId>
533 <artifactId>maven-enforcer-plugin</artifactId>
534 <versionRange>${enforcer.version}</versionRange>
538 </pluginExecutionFilter>
544 </lifecycleMappingMetadata>
553 <groupId>org.codehaus.mojo</groupId>
554 <artifactId>findbugs-maven-plugin</artifactId>
555 <version>2.5.2</version>
558 <threshold>Low</threshold>
563 <artifactId>maven-jxr-plugin</artifactId>
564 <version>2.3</version>
566 <aggregate>true</aggregate>
567 <linkJavadoc>true</linkJavadoc>
572 <groupId>org.codehaus.mojo</groupId>
573 <artifactId>jdepend-maven-plugin</artifactId>
574 <version>2.0-beta-2</version>
582 <activeByDefault>true</activeByDefault>
585 <build.suffix>${project.version}</build.suffix>
592 <name>BUILDSUFFIX</name>
596 <build.suffix>${BUILDSUFFIX}</build.suffix>
604 <groupId>org.apache.maven.plugins</groupId>
605 <artifactId>maven-javadoc-plugin</artifactId>
606 <version>2.8.1</version>
610 <goal>aggregate</goal>
615 <id>attach-javadocs</id>
623 <groupId>org.apache.maven.plugins</groupId>
624 <artifactId>maven-source-plugin</artifactId>
627 <id>attach-sources</id>
628 <phase>package</phase>
630 <goal>jar-no-fork</goal>