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 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
39 <jmxGeneratorPath>${project.build.directory}/yang-gen-config</jmxGeneratorPath>
40 <karaf.distro.empty.version>1.5.0-SNAPSHOT</karaf.distro.empty.version>
41 <salGeneratorPath>${project.build.directory}/yang-gen-sal</salGeneratorPath>
42 <sonar.branch>${user.name}-private-view</sonar.branch>
43 <sonar.skippedModules>org.openflow.openflowj,net.sf.jung2</sonar.skippedModules>
44 <yang.prototype.version>1.2.0-SNAPSHOT</yang.prototype.version>
45 <ietf.model.version>2010.09.24.7-SNAPSHOT</ietf.model.version>
46 <yang.ext.version>2013.09.07.7-SNAPSHOT</yang.ext.version>
47 <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
48 <yangtools.generator.version>0.7.0-SNAPSHOT</yangtools.generator.version>
49 <mdsal.version>1.2.0-SNAPSHOT</mdsal.version>
50 <config.version>0.3.0-SNAPSHOT</config.version>
53 <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
54 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
55 <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
56 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
57 <sonar.profile>Sonar way with Findbugs</sonar.profile>
61 <!-- Opendaylight public group -->
64 <name>odlPublic</name>
65 <url>${nexusproxy}/groups/public/</url>
67 <enabled>false</enabled>
70 <enabled>true</enabled>
73 <!-- OpenDayLight Snapshot artifact -->
75 <id>opendaylight-snapshot</id>
76 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
78 <enabled>true</enabled>
81 <enabled>false</enabled>
88 <!-- Opendaylight public group -->
91 <name>odlPublic</name>
92 <url>${nexusproxy}/groups/public/</url>
94 <enabled>false</enabled>
97 <enabled>true</enabled>
100 <!-- OpenDayLight Snapshot artifact -->
102 <id>opendaylight-snapshot</id>
103 <name>opendaylight-snapshot</name>
104 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
106 <enabled>true</enabled>
109 <enabled>false</enabled>
113 <distributionManagement>
114 <!-- OpenDayLight Released artifact -->
116 <id>opendaylight-release</id>
117 <url>${nexusproxy}/repositories/opendaylight.release/</url>
119 <!-- OpenDayLight Snapshot artifact -->
121 <id>opendaylight-snapshot</id>
122 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
123 </snapshotRepository>
124 <!-- Site deployment -->
127 <url>${sitedeploy}</url>
129 </distributionManagement>
132 <dependencyManagement>
134 <!-- feature dependencies -->
136 <groupId>org.opendaylight.yangtools</groupId>
137 <artifactId>features-yangtools</artifactId>
138 <version>${yangtools.version}</version>
139 <classifier>features</classifier>
143 <groupId>org.opendaylight.controller</groupId>
144 <artifactId>features-config</artifactId>
145 <version>${config.version}</version>
146 <classifier>features</classifier>
150 <groupId>org.opendaylight.yangtools.model</groupId>
151 <artifactId>ietf-inet-types</artifactId>
152 <version>${ietf.model.version}</version>
155 <groupId>org.opendaylight.yangtools.model</groupId>
156 <artifactId>ietf-yang-types</artifactId>
157 <version>${ietf.model.version}</version>
160 <groupId>org.opendaylight.yangtools.model</groupId>
161 <artifactId>yang-ext</artifactId>
162 <version>${yang.ext.version}</version>
165 <groupId>org.opendaylight.controller</groupId>
166 <artifactId>config-api</artifactId>
167 <version>0.3.0-SNAPSHOT</version>
170 <groupId>org.opendaylight.yangtools</groupId>
171 <artifactId>features-test</artifactId>
172 <version>${yangtools.version}</version>
175 </dependencyManagement>
180 <groupId>org.codehaus.sonar-plugins.java</groupId>
181 <artifactId>sonar-jacoco-listeners</artifactId>
182 <version>${sonar-jacoco-listeners.version}</version>
190 <groupId>org.apache.maven.plugins</groupId>
191 <artifactId>maven-compiler-plugin</artifactId>
192 <inherited>true</inherited>
199 <artifactId>maven-source-plugin</artifactId>
202 <id>attach-sources</id>
203 <phase>deploy</phase>
205 <goal>jar-no-fork</goal>
211 <groupId>org.apache.felix</groupId>
212 <artifactId>maven-bundle-plugin</artifactId>
213 <extensions>true</extensions>
216 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
218 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
222 <groupId>org.apache.maven.plugins</groupId>
223 <artifactId>maven-checkstyle-plugin</artifactId>
224 <version>2.12</version>
226 <failOnViolation>false</failOnViolation>
227 <configLocation>checkstyle-logging.xml</configLocation>
228 <consoleOutput>true</consoleOutput>
229 <includeTestSourceDirectory>true</includeTestSourceDirectory>
230 <sourceDirectory>${project.basedir}</sourceDirectory>
231 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
232 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/src/main/yang-gen-config\/,**\/src/main/yang-gen-sal\/</excludes>
236 <groupId>org.opendaylight.yangtools</groupId>
237 <artifactId>checkstyle-logging</artifactId>
238 <version>${yangtools.version}</version>
250 <groupId>org.codehaus.mojo</groupId>
251 <artifactId>build-helper-maven-plugin</artifactId>
254 <groupId>org.jacoco</groupId>
255 <artifactId>jacoco-maven-plugin</artifactId>
258 <id>prepare-ut-agent</id>
259 <phase>process-test-classes</phase>
261 <goal>prepare-agent</goal>
264 <destFile>${sonar.jacoco.reportPath}</destFile>
265 <propertyName>jacoco.agent.ut.arg</propertyName>
269 <id>prepare-it-agent</id>
270 <phase>pre-integration-test</phase>
272 <goal>prepare-agent</goal>
275 <destFile>${sonar.jacoco.itReportPath}</destFile>
276 <propertyName>jacoco.agent.it.arg</propertyName>
285 <groupId>org.opendaylight.yangtools</groupId>
286 <artifactId>yang-maven-plugin</artifactId>
287 <version>${yangtools.version}</version>
290 <groupId>org.codehaus.mojo</groupId>
291 <artifactId>build-helper-maven-plugin</artifactId>
292 <version>1.8</version>
297 <goal>add-source</goal>
299 <phase>generate-sources</phase>
302 <source>src/main/yang</source>
309 <groupId>org.apache.maven.plugins</groupId>
310 <artifactId>maven-failsafe-plugin</artifactId>
312 <!-- Specific to generate mapping between tests and covered code -->
313 <argLine>${jacoco.agent.it.arg}</argLine>
316 <name>listener</name>
317 <value>org.sonar.java.jacoco.JUnitListener</value>
320 <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
321 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
325 <groupId>org.apache.maven.plugins</groupId>
326 <artifactId>maven-surefire-plugin</artifactId>
328 <!-- Specific to generate mapping between tests and covered code -->
329 <argLine>${jacoco.agent.ut.arg}</argLine>
332 <name>listener</name>
333 <value>org.sonar.java.jacoco.JUnitListener</value>
338 <!-- Ignore/Execute plugin execution -->
340 <groupId>org.eclipse.m2e</groupId>
341 <artifactId>lifecycle-mapping</artifactId>
342 <version>1.0.0</version>
344 <lifecycleMappingMetadata>
347 <pluginExecutionFilter>
348 <groupId>org.codehaus.mojo</groupId>
349 <artifactId>properties-maven-plugin</artifactId>
350 <versionRange>[0.0,)</versionRange>
352 <goal>set-system-properties</goal>
354 </pluginExecutionFilter>
360 <pluginExecutionFilter>
361 <groupId>org.codehaus.enunciate</groupId>
362 <artifactId>maven-enunciate-plugin</artifactId>
363 <versionRange>[0.0,)</versionRange>
367 </pluginExecutionFilter>
373 <pluginExecutionFilter>
374 <groupId>org.jacoco</groupId>
375 <artifactId>jacoco-maven-plugin</artifactId>
376 <versionRange>[0.0,)</versionRange>
378 <goal>prepare-agent</goal>
379 <goal>pre-test</goal>
380 <goal>post-test</goal>
382 </pluginExecutionFilter>
388 <pluginExecutionFilter>
389 <groupId>org.ops4j.pax.exam</groupId>
390 <artifactId>maven-paxexam-plugin</artifactId>
391 <versionRange>[1.2.4,)</versionRange>
393 <goal>generate-depends-file</goal>
395 </pluginExecutionFilter>
398 <runOnIncremental>false</runOnIncremental>
403 <pluginExecutionFilter>
404 <groupId>org.apache.maven.plugins</groupId>
405 <artifactId>maven-checkstyle-plugin</artifactId>
406 <versionRange>[2.0,)</versionRange>
410 </pluginExecutionFilter>
416 <pluginExecutionFilter>
417 <groupId>org.opendaylight.yangtools</groupId>
418 <artifactId>yang-maven-plugin</artifactId>
419 <versionRange>[0.5,)</versionRange>
421 <goal>generate-sources</goal>
423 </pluginExecutionFilter>
429 <pluginExecutionFilter>
430 <groupId>org.codehaus.groovy.maven</groupId>
431 <artifactId>gmaven-plugin</artifactId>
432 <versionRange>1.0</versionRange>
436 </pluginExecutionFilter>
442 <pluginExecutionFilter>
443 <groupId>org.apache.maven.plugins</groupId>
444 <artifactId>maven-enforcer-plugin</artifactId>
445 <versionRange>${enforcer.version}</versionRange>
449 </pluginExecutionFilter>
455 </lifecycleMappingMetadata>
464 <groupId>org.codehaus.mojo</groupId>
465 <artifactId>findbugs-maven-plugin</artifactId>
466 <version>2.5.2</version>
469 <threshold>Low</threshold>
474 <artifactId>maven-jxr-plugin</artifactId>
475 <version>2.3</version>
477 <aggregate>true</aggregate>
478 <linkJavadoc>true</linkJavadoc>
483 <groupId>org.codehaus.mojo</groupId>
484 <artifactId>jdepend-maven-plugin</artifactId>
485 <version>2.0-beta-2</version>
493 <activeByDefault>true</activeByDefault>
496 <build.suffix>${project.version}</build.suffix>
503 <name>BUILDSUFFIX</name>
507 <build.suffix>${BUILDSUFFIX}</build.suffix>
515 <groupId>org.apache.maven.plugins</groupId>
516 <artifactId>maven-javadoc-plugin</artifactId>
517 <version>2.8.1</version>
521 <goal>aggregate</goal>
526 <id>attach-javadocs</id>
534 <groupId>org.apache.maven.plugins</groupId>
535 <artifactId>maven-source-plugin</artifactId>
538 <id>attach-sources</id>
539 <phase>package</phase>
541 <goal>jar-no-fork</goal>