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 <sitedeploy>dav:http://nexus.opendaylight.org/content/sites/site</sitedeploy>
36 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
37 <jmxGeneratorPath>${project.build.directory}/yang-gen-config</jmxGeneratorPath>
38 <karaf.distro.empty.version>1.5.0-SNAPSHOT</karaf.distro.empty.version>
39 <salGeneratorPath>${project.build.directory}/yang-gen-sal</salGeneratorPath>
40 <sonar.skippedModules>org.openflow.openflowj,net.sf.jung2</sonar.skippedModules>
41 <yang.prototype.version>1.2.0-SNAPSHOT</yang.prototype.version>
42 <ietf.model.version>2010.09.24.7-SNAPSHOT</ietf.model.version>
43 <yang.ext.version>2013.09.07.7-SNAPSHOT</yang.ext.version>
44 <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
45 <yangtools.generator.version>0.7.0-SNAPSHOT</yangtools.generator.version>
46 <mdsal.version>1.2.0-SNAPSHOT</mdsal.version>
47 <config.version>0.3.0-SNAPSHOT</config.version>
50 <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
51 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
52 <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
53 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
56 <dependencyManagement>
59 <groupId>org.opendaylight.yangtools</groupId>
60 <artifactId>yangtools-artifacts</artifactId>
61 <version>${yangtools.version}</version>
66 <groupId>org.opendaylight.controller</groupId>
67 <artifactId>config-artifacts</artifactId>
68 <version>${config.version}</version>
73 </dependencyManagement>
78 <groupId>org.codehaus.sonar-plugins.java</groupId>
79 <artifactId>sonar-jacoco-listeners</artifactId>
80 <version>${sonar-jacoco-listeners.version}</version>
88 <groupId>org.apache.maven.plugins</groupId>
89 <artifactId>maven-compiler-plugin</artifactId>
90 <inherited>true</inherited>
97 <artifactId>maven-source-plugin</artifactId>
100 <id>attach-sources</id>
101 <phase>deploy</phase>
103 <goal>jar-no-fork</goal>
109 <groupId>org.apache.felix</groupId>
110 <artifactId>maven-bundle-plugin</artifactId>
111 <extensions>true</extensions>
114 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
116 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
120 <groupId>org.apache.maven.plugins</groupId>
121 <artifactId>maven-checkstyle-plugin</artifactId>
122 <version>2.12</version>
124 <failOnViolation>false</failOnViolation>
125 <configLocation>checkstyle-logging.xml</configLocation>
126 <consoleOutput>true</consoleOutput>
127 <includeTestSourceDirectory>true</includeTestSourceDirectory>
128 <sourceDirectory>${project.basedir}</sourceDirectory>
129 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
130 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/src/main/yang-gen-config\/,**\/src/main/yang-gen-sal\/</excludes>
134 <groupId>org.opendaylight.yangtools</groupId>
135 <artifactId>checkstyle-logging</artifactId>
136 <version>${yangtools.version}</version>
148 <groupId>org.codehaus.mojo</groupId>
149 <artifactId>build-helper-maven-plugin</artifactId>
152 <groupId>org.jacoco</groupId>
153 <artifactId>jacoco-maven-plugin</artifactId>
156 <id>prepare-ut-agent</id>
157 <phase>process-test-classes</phase>
159 <goal>prepare-agent</goal>
162 <destFile>${sonar.jacoco.reportPath}</destFile>
163 <propertyName>jacoco.agent.ut.arg</propertyName>
167 <id>prepare-it-agent</id>
168 <phase>pre-integration-test</phase>
170 <goal>prepare-agent</goal>
173 <destFile>${sonar.jacoco.itReportPath}</destFile>
174 <propertyName>jacoco.agent.it.arg</propertyName>
183 <groupId>org.opendaylight.yangtools</groupId>
184 <artifactId>yang-maven-plugin</artifactId>
185 <version>${yangtools.version}</version>
188 <groupId>org.codehaus.mojo</groupId>
189 <artifactId>build-helper-maven-plugin</artifactId>
190 <version>1.8</version>
195 <goal>add-source</goal>
197 <phase>generate-sources</phase>
200 <source>src/main/yang</source>
207 <groupId>org.apache.maven.plugins</groupId>
208 <artifactId>maven-failsafe-plugin</artifactId>
210 <!-- Specific to generate mapping between tests and covered code -->
211 <argLine>${jacoco.agent.it.arg}</argLine>
214 <name>listener</name>
215 <value>org.sonar.java.jacoco.JUnitListener</value>
218 <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
219 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
223 <groupId>org.apache.maven.plugins</groupId>
224 <artifactId>maven-surefire-plugin</artifactId>
226 <!-- Specific to generate mapping between tests and covered code -->
227 <argLine>${jacoco.agent.ut.arg}</argLine>
230 <name>listener</name>
231 <value>org.sonar.java.jacoco.JUnitListener</value>
236 <!-- Ignore/Execute plugin execution -->
238 <groupId>org.eclipse.m2e</groupId>
239 <artifactId>lifecycle-mapping</artifactId>
240 <version>1.0.0</version>
242 <lifecycleMappingMetadata>
245 <pluginExecutionFilter>
246 <groupId>org.codehaus.mojo</groupId>
247 <artifactId>properties-maven-plugin</artifactId>
248 <versionRange>[0.0,)</versionRange>
250 <goal>set-system-properties</goal>
252 </pluginExecutionFilter>
258 <pluginExecutionFilter>
259 <groupId>org.codehaus.enunciate</groupId>
260 <artifactId>maven-enunciate-plugin</artifactId>
261 <versionRange>[0.0,)</versionRange>
265 </pluginExecutionFilter>
271 <pluginExecutionFilter>
272 <groupId>org.jacoco</groupId>
273 <artifactId>jacoco-maven-plugin</artifactId>
274 <versionRange>[0.0,)</versionRange>
276 <goal>prepare-agent</goal>
277 <goal>pre-test</goal>
278 <goal>post-test</goal>
280 </pluginExecutionFilter>
286 <pluginExecutionFilter>
287 <groupId>org.ops4j.pax.exam</groupId>
288 <artifactId>maven-paxexam-plugin</artifactId>
289 <versionRange>[1.2.4,)</versionRange>
291 <goal>generate-depends-file</goal>
293 </pluginExecutionFilter>
296 <runOnIncremental>false</runOnIncremental>
301 <pluginExecutionFilter>
302 <groupId>org.apache.maven.plugins</groupId>
303 <artifactId>maven-checkstyle-plugin</artifactId>
304 <versionRange>[2.0,)</versionRange>
308 </pluginExecutionFilter>
314 <pluginExecutionFilter>
315 <groupId>org.opendaylight.yangtools</groupId>
316 <artifactId>yang-maven-plugin</artifactId>
317 <versionRange>[0.5,)</versionRange>
319 <goal>generate-sources</goal>
321 </pluginExecutionFilter>
327 <pluginExecutionFilter>
328 <groupId>org.codehaus.groovy.maven</groupId>
329 <artifactId>gmaven-plugin</artifactId>
330 <versionRange>1.0</versionRange>
334 </pluginExecutionFilter>
340 <pluginExecutionFilter>
341 <groupId>org.apache.maven.plugins</groupId>
342 <artifactId>maven-enforcer-plugin</artifactId>
343 <versionRange>${enforcer.version}</versionRange>
347 </pluginExecutionFilter>
353 </lifecycleMappingMetadata>
362 <groupId>org.codehaus.mojo</groupId>
363 <artifactId>findbugs-maven-plugin</artifactId>
364 <version>2.5.2</version>
367 <threshold>Low</threshold>
372 <artifactId>maven-jxr-plugin</artifactId>
373 <version>2.3</version>
375 <aggregate>true</aggregate>
376 <linkJavadoc>true</linkJavadoc>
381 <groupId>org.codehaus.mojo</groupId>
382 <artifactId>jdepend-maven-plugin</artifactId>
383 <version>2.0-beta-2</version>
391 <activeByDefault>true</activeByDefault>
394 <build.suffix>${project.version}</build.suffix>
401 <name>BUILDSUFFIX</name>
405 <build.suffix>${BUILDSUFFIX}</build.suffix>
413 <groupId>org.apache.maven.plugins</groupId>
414 <artifactId>maven-javadoc-plugin</artifactId>
415 <version>2.8.1</version>
419 <goal>aggregate</goal>
424 <id>attach-javadocs</id>
432 <groupId>org.apache.maven.plugins</groupId>
433 <artifactId>maven-source-plugin</artifactId>
436 <id>attach-sources</id>
437 <phase>package</phase>
439 <goal>jar-no-fork</goal>