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 <name>openflowjava</name> <!-- Used by Sonar to set project name -->
15 <packaging>pom</packaging>
18 <module>openflowjava-config</module>
19 <module>openflow-protocol-api</module>
20 <module>openflow-protocol-spi</module>
22 <module>openflow-protocol-impl</module>
23 <module>openflow-protocol-it</module>
24 <module>features</module>
25 <module>simple-client</module>
28 <connection>scm:git:ssh://git.opendaylight.org:29418/openflowjava.git</connection>
29 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/openflowjava.git</developerConnection>
30 <url>https://wiki.opendaylight.org/view/Openflow_Protocol_Library:Main</url>
35 <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
36 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
37 <sitedeploy>dav:http://nexus.opendaylight.org/content/sites/site</sitedeploy>
38 <siteplugin>3.2</siteplugin>
39 <projectinfo>2.6</projectinfo>
40 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41 <compiler.version>2.3.2</compiler.version>
42 <surefire.version>2.13</surefire.version>
43 <exam.version>3.0.0</exam.version>
44 <url.version>1.5.0</url.version>
45 <enunciate.version>1.26.2</enunciate.version>
46 <jmxGeneratorPath>${project.build.directory}/yang-gen-config</jmxGeneratorPath>
47 <karaf.distro.empty.version>1.5.0-SNAPSHOT</karaf.distro.empty.version>
48 <salGeneratorPath>${project.build.directory}/yang-gen-sal</salGeneratorPath>
49 <sonar.branch>${user.name}-private-view</sonar.branch>
50 <sonar.skippedModules>org.openflow.openflowj,net.sf.jung2</sonar.skippedModules>
51 <logback.version>1.0.9</logback.version>
52 <slf4j.version>1.7.2</slf4j.version>
53 <yang.prototype.version>1.2.0-SNAPSHOT</yang.prototype.version>
54 <ietf.model.version>2010.09.24.7-SNAPSHOT</ietf.model.version>
55 <yang.ext.version>2013.09.07.7-SNAPSHOT</yang.ext.version>
56 <maven.bundle.version>2.4.0</maven.bundle.version>
57 <guava.version>14.0.1</guava.version>
58 <netty.version>4.0.23.Final</netty.version>
59 <releaseplugin.version>2.3.2</releaseplugin.version>
60 <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
61 <yangtools.generator.version>0.7.0-SNAPSHOT</yangtools.generator.version>
62 <mdsal.version>1.2.0-SNAPSHOT</mdsal.version>
63 <config.version>0.3.0-SNAPSHOT</config.version>
66 <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
67 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
68 <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
69 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
70 <sonar.profile>Sonar way with Findbugs</sonar.profile>
74 <!-- Opendaylight public group -->
77 <name>odlPublic</name>
78 <url>${nexusproxy}/groups/public/</url>
80 <enabled>false</enabled>
83 <enabled>true</enabled>
86 <!-- OpenDayLight Snapshot artifact -->
88 <id>opendaylight-snapshot</id>
89 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
91 <enabled>true</enabled>
94 <enabled>false</enabled>
101 <!-- Opendaylight public group -->
104 <name>odlPublic</name>
105 <url>${nexusproxy}/groups/public/</url>
107 <enabled>false</enabled>
110 <enabled>true</enabled>
113 <!-- OpenDayLight Snapshot artifact -->
115 <id>opendaylight-snapshot</id>
116 <name>opendaylight-snapshot</name>
117 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
119 <enabled>true</enabled>
122 <enabled>false</enabled>
126 <distributionManagement>
127 <!-- OpenDayLight Released artifact -->
129 <id>opendaylight-release</id>
130 <url>${nexusproxy}/repositories/opendaylight.release/</url>
132 <!-- OpenDayLight Snapshot artifact -->
134 <id>opendaylight-snapshot</id>
135 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
136 </snapshotRepository>
137 <!-- Site deployment -->
140 <url>${sitedeploy}</url>
142 </distributionManagement>
145 <dependencyManagement>
147 <!-- feature dependencies -->
149 <groupId>org.opendaylight.yangtools</groupId>
150 <artifactId>features-yangtools</artifactId>
151 <version>${yangtools.version}</version>
152 <classifier>features</classifier>
156 <groupId>org.opendaylight.controller</groupId>
157 <artifactId>features-config</artifactId>
158 <version>${config.version}</version>
159 <classifier>features</classifier>
163 <groupId>org.slf4j</groupId>
164 <artifactId>slf4j-api</artifactId>
165 <version>${slf4j.version}</version>
168 <groupId>io.netty</groupId>
169 <artifactId>netty-buffer</artifactId>
170 <version>${netty.version}</version>
173 <groupId>io.netty</groupId>
174 <artifactId>netty-handler</artifactId>
175 <version>${netty.version}</version>
178 <groupId>io.netty</groupId>
179 <artifactId>netty-codec</artifactId>
180 <version>${netty.version}</version>
183 <groupId>io.netty</groupId>
184 <artifactId>netty-common</artifactId>
185 <version>${netty.version}</version>
188 <groupId>io.netty</groupId>
189 <artifactId>netty-transport</artifactId>
190 <version>${netty.version}</version>
193 <groupId>com.google.guava</groupId>
194 <artifactId>guava</artifactId>
195 <version>${guava.version}</version>
198 <groupId>org.opendaylight.yangtools.model</groupId>
199 <artifactId>ietf-inet-types</artifactId>
200 <version>${ietf.model.version}</version>
203 <groupId>org.opendaylight.yangtools.model</groupId>
204 <artifactId>ietf-yang-types</artifactId>
205 <version>${ietf.model.version}</version>
208 <groupId>org.opendaylight.yangtools.model</groupId>
209 <artifactId>yang-ext</artifactId>
210 <version>${yang.ext.version}</version>
213 <groupId>org.osgi</groupId>
214 <artifactId>org.osgi.core</artifactId>
215 <version>5.0.0</version>
218 <groupId>org.opendaylight.controller</groupId>
219 <artifactId>config-api</artifactId>
220 <version>0.3.0-SNAPSHOT</version>
223 <groupId>junit</groupId>
224 <artifactId>junit</artifactId>
225 <version>${junit.version}</version>
227 <optional>true</optional>
230 <groupId>org.mockito</groupId>
231 <artifactId>mockito-all</artifactId>
232 <version>1.9.5</version>
236 <groupId>org.opendaylight.yangtools</groupId>
237 <artifactId>features-test</artifactId>
238 <version>${yangtools.version}</version>
241 </dependencyManagement>
246 <groupId>org.codehaus.sonar-plugins.java</groupId>
247 <artifactId>sonar-jacoco-listeners</artifactId>
248 <version>${sonar-jacoco-listeners.version}</version>
256 <groupId>org.apache.maven.plugins</groupId>
257 <artifactId>maven-compiler-plugin</artifactId>
258 <inherited>true</inherited>
265 <artifactId>maven-source-plugin</artifactId>
268 <id>attach-sources</id>
269 <phase>deploy</phase>
271 <goal>jar-no-fork</goal>
277 <groupId>org.apache.felix</groupId>
278 <artifactId>maven-bundle-plugin</artifactId>
279 <extensions>true</extensions>
282 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
284 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
288 <groupId>org.apache.maven.plugins</groupId>
289 <artifactId>maven-checkstyle-plugin</artifactId>
290 <version>2.12</version>
292 <failOnViolation>false</failOnViolation>
293 <configLocation>checkstyle-logging.xml</configLocation>
294 <consoleOutput>true</consoleOutput>
295 <includeTestSourceDirectory>true</includeTestSourceDirectory>
296 <sourceDirectory>${project.basedir}</sourceDirectory>
297 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
298 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/src/main/yang-gen-config\/,**\/src/main/yang-gen-sal\/</excludes>
302 <groupId>org.opendaylight.yangtools</groupId>
303 <artifactId>checkstyle-logging</artifactId>
304 <version>${yangtools.version}</version>
316 <groupId>org.codehaus.mojo</groupId>
317 <artifactId>build-helper-maven-plugin</artifactId>
320 <groupId>org.jacoco</groupId>
321 <artifactId>jacoco-maven-plugin</artifactId>
324 <id>prepare-ut-agent</id>
325 <phase>process-test-classes</phase>
327 <goal>prepare-agent</goal>
330 <destFile>${sonar.jacoco.reportPath}</destFile>
331 <propertyName>jacoco.agent.ut.arg</propertyName>
335 <id>prepare-it-agent</id>
336 <phase>pre-integration-test</phase>
338 <goal>prepare-agent</goal>
341 <destFile>${sonar.jacoco.itReportPath}</destFile>
342 <propertyName>jacoco.agent.it.arg</propertyName>
351 <groupId>org.apache.maven.plugins</groupId>
352 <artifactId>maven-source-plugin</artifactId>
353 <version>2.2.1</version>
356 <groupId>org.apache.maven.plugins</groupId>
357 <artifactId>maven-deploy-plugin</artifactId>
358 <version>2.7</version>
361 <groupId>org.apache.maven.plugins</groupId>
362 <artifactId>maven-jar-plugin</artifactId>
363 <version>2.4</version>
366 <groupId>org.apache.maven.plugins</groupId>
367 <artifactId>maven-release-plugin</artifactId>
368 <version>${releaseplugin.version}</version>
371 <groupId>org.opendaylight.yangtools</groupId>
372 <artifactId>yang-maven-plugin</artifactId>
373 <version>${yangtools.version}</version>
376 <groupId>org.apache.felix</groupId>
377 <artifactId>maven-bundle-plugin</artifactId>
378 <version>${maven.bundle.version}</version>
381 <groupId>org.codehaus.mojo</groupId>
382 <artifactId>build-helper-maven-plugin</artifactId>
383 <version>1.8</version>
388 <goal>add-source</goal>
390 <phase>generate-sources</phase>
393 <source>src/main/yang</source>
400 <groupId>org.apache.maven.plugins</groupId>
401 <artifactId>maven-failsafe-plugin</artifactId>
403 <!-- Specific to generate mapping between tests and covered code -->
404 <argLine>${jacoco.agent.it.arg}</argLine>
407 <name>listener</name>
408 <value>org.sonar.java.jacoco.JUnitListener</value>
411 <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
412 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
416 <groupId>org.apache.maven.plugins</groupId>
417 <artifactId>maven-surefire-plugin</artifactId>
419 <!-- Specific to generate mapping between tests and covered code -->
420 <argLine>${jacoco.agent.ut.arg}</argLine>
423 <name>listener</name>
424 <value>org.sonar.java.jacoco.JUnitListener</value>
429 <!-- Ignore/Execute plugin execution -->
431 <groupId>org.eclipse.m2e</groupId>
432 <artifactId>lifecycle-mapping</artifactId>
433 <version>1.0.0</version>
435 <lifecycleMappingMetadata>
438 <pluginExecutionFilter>
439 <groupId>org.codehaus.mojo</groupId>
440 <artifactId>properties-maven-plugin</artifactId>
441 <versionRange>[0.0,)</versionRange>
443 <goal>set-system-properties</goal>
445 </pluginExecutionFilter>
451 <pluginExecutionFilter>
452 <groupId>org.codehaus.enunciate</groupId>
453 <artifactId>maven-enunciate-plugin</artifactId>
454 <versionRange>[0.0,)</versionRange>
458 </pluginExecutionFilter>
464 <pluginExecutionFilter>
465 <groupId>org.jacoco</groupId>
466 <artifactId>jacoco-maven-plugin</artifactId>
467 <versionRange>[0.0,)</versionRange>
469 <goal>prepare-agent</goal>
470 <goal>pre-test</goal>
471 <goal>post-test</goal>
473 </pluginExecutionFilter>
479 <pluginExecutionFilter>
480 <groupId>org.ops4j.pax.exam</groupId>
481 <artifactId>maven-paxexam-plugin</artifactId>
482 <versionRange>[1.2.4,)</versionRange>
484 <goal>generate-depends-file</goal>
486 </pluginExecutionFilter>
489 <runOnIncremental>false</runOnIncremental>
494 <pluginExecutionFilter>
495 <groupId>org.apache.maven.plugins</groupId>
496 <artifactId>maven-checkstyle-plugin</artifactId>
497 <versionRange>[2.0,)</versionRange>
501 </pluginExecutionFilter>
507 <pluginExecutionFilter>
508 <groupId>org.opendaylight.yangtools</groupId>
509 <artifactId>yang-maven-plugin</artifactId>
510 <versionRange>[0.5,)</versionRange>
512 <goal>generate-sources</goal>
514 </pluginExecutionFilter>
520 <pluginExecutionFilter>
521 <groupId>org.codehaus.groovy.maven</groupId>
522 <artifactId>gmaven-plugin</artifactId>
523 <versionRange>1.0</versionRange>
527 </pluginExecutionFilter>
533 <pluginExecutionFilter>
534 <groupId>org.apache.maven.plugins</groupId>
535 <artifactId>maven-enforcer-plugin</artifactId>
536 <versionRange>${enforcer.version}</versionRange>
540 </pluginExecutionFilter>
546 </lifecycleMappingMetadata>
555 <groupId>org.codehaus.mojo</groupId>
556 <artifactId>findbugs-maven-plugin</artifactId>
557 <version>2.5.2</version>
560 <threshold>Low</threshold>
565 <artifactId>maven-jxr-plugin</artifactId>
566 <version>2.3</version>
568 <aggregate>true</aggregate>
569 <linkJavadoc>true</linkJavadoc>
574 <groupId>org.codehaus.mojo</groupId>
575 <artifactId>jdepend-maven-plugin</artifactId>
576 <version>2.0-beta-2</version>
584 <activeByDefault>true</activeByDefault>
587 <build.suffix>${project.version}</build.suffix>
594 <name>BUILDSUFFIX</name>
598 <build.suffix>${BUILDSUFFIX}</build.suffix>
606 <groupId>org.apache.maven.plugins</groupId>
607 <artifactId>maven-javadoc-plugin</artifactId>
608 <version>2.8.1</version>
612 <goal>aggregate</goal>
617 <id>attach-javadocs</id>
625 <groupId>org.apache.maven.plugins</groupId>
626 <artifactId>maven-source-plugin</artifactId>
629 <id>attach-sources</id>
630 <phase>package</phase>
632 <goal>jar-no-fork</goal>