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-SNAPSHOT</version>
7 <packaging>pom</packaging>
9 <module>openflow-protocol-api</module>
10 <module>openflow-protocol-spi</module>
12 <module>openflow-protocol-impl</module>
13 <module>openflow-protocol-it</module>
14 <module>feature</module>
15 <module>simple-client</module>
16 <module>openflow-nx-resubmit-action</module>
17 <module>openflow-extension-nicira</module>
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>
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 <salGeneratorPath>${project.build.directory}/yang-gen-sal</salGeneratorPath>
40 <sonar.branch>${user.name}-private-view</sonar.branch>
41 <sonar.skippedModules>org.openflow.openflowj,net.sf.jung2</sonar.skippedModules>
42 <logback.version>1.0.9</logback.version>
43 <slf4j.version>1.7.2</slf4j.version>
44 <yang.prototype.version>1.1-SNAPSHOT</yang.prototype.version>
45 <ietf.model.version>2010.09.24.4-SNAPSHOT</ietf.model.version>
46 <yang.ext.version>2013.09.07.4-SNAPSHOT</yang.ext.version>
47 <maven.bundle.version>2.4.0</maven.bundle.version>
48 <guava.version>14.0.1</guava.version>
49 <netty.version>4.0.19.Final</netty.version>
50 <releaseplugin.version>2.3.2</releaseplugin.version>
51 <yangtools.version>0.6.2-SNAPSHOT</yangtools.version>
52 <yangtools.generator.version>0.6.2-SNAPSHOT</yangtools.generator.version>
53 <config.version>0.2.5-SNAPSHOT</config.version>
56 <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
57 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
58 <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
59 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
60 <sonar.profile>Sonar way with Findbugs</sonar.profile>
64 <!-- Opendaylight public group -->
67 <name>odlPublic</name>
68 <url>${nexusproxy}/groups/public/</url>
70 <enabled>false</enabled>
73 <!-- OpenDayLight Snapshot artifact -->
75 <id>opendaylight-snapshot</id>
76 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
78 <enabled>false</enabled>
85 <!-- Opendaylight public group -->
88 <name>odlPublic</name>
89 <url>${nexusproxy}/groups/public/</url>
91 <enabled>false</enabled>
94 <!-- OpenDayLight Snapshot artifact -->
96 <id>opendaylight-snapshot</id>
97 <name>opendaylight-snapshot</name>
98 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
100 <enabled>false</enabled>
104 <distributionManagement>
105 <!-- OpenDayLight Released artifact -->
107 <id>opendaylight-release</id>
108 <url>${nexusproxy}/repositories/opendaylight.release/</url>
110 <!-- OpenDayLight Snapshot artifact -->
112 <id>opendaylight-snapshot</id>
113 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
114 </snapshotRepository>
115 <!-- Site deployment -->
118 <url>${sitedeploy}</url>
120 </distributionManagement>
123 <dependencyManagement>
126 <groupId>org.slf4j</groupId>
127 <artifactId>slf4j-api</artifactId>
128 <version>${slf4j.version}</version>
131 <groupId>io.netty</groupId>
132 <artifactId>netty-buffer</artifactId>
133 <version>${netty.version}</version>
136 <groupId>io.netty</groupId>
137 <artifactId>netty-handler</artifactId>
138 <version>${netty.version}</version>
141 <groupId>com.google.guava</groupId>
142 <artifactId>guava</artifactId>
143 <version>${guava.version}</version>
146 <groupId>org.opendaylight.yangtools.model</groupId>
147 <artifactId>ietf-inet-types</artifactId>
148 <version>${ietf.model.version}</version>
151 <groupId>org.opendaylight.yangtools.model</groupId>
152 <artifactId>ietf-yang-types</artifactId>
153 <version>${ietf.model.version}</version>
156 <groupId>org.opendaylight.yangtools.model</groupId>
157 <artifactId>yang-ext</artifactId>
158 <version>${yang.ext.version}</version>
161 <groupId>org.osgi</groupId>
162 <artifactId>org.osgi.core</artifactId>
163 <version>5.0.0</version>
166 <groupId>org.opendaylight.controller</groupId>
167 <artifactId>config-api</artifactId>
168 <version>0.2.5-SNAPSHOT</version>
171 <groupId>junit</groupId>
172 <artifactId>junit</artifactId>
173 <version>4.10</version>
175 <optional>true</optional>
178 <groupId>org.mockito</groupId>
179 <artifactId>mockito-all</artifactId>
180 <version>1.9.5</version>
184 </dependencyManagement>
189 <groupId>org.codehaus.sonar-plugins.java</groupId>
190 <artifactId>sonar-jacoco-listeners</artifactId>
191 <version>${sonar-jacoco-listeners.version}</version>
199 <groupId>org.apache.maven.plugins</groupId>
200 <artifactId>maven-compiler-plugin</artifactId>
201 <version>${compiler.version}</version>
202 <inherited>true</inherited>
209 <artifactId>maven-source-plugin</artifactId>
212 <id>attach-sources</id>
213 <phase>deploy</phase>
215 <goal>jar-no-fork</goal>
221 <groupId>org.apache.felix</groupId>
222 <artifactId>maven-bundle-plugin</artifactId>
223 <extensions>true</extensions>
226 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
228 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
232 <groupId>org.apache.maven.plugins</groupId>
233 <artifactId>maven-checkstyle-plugin</artifactId>
234 <version>2.12</version>
236 <failOnViolation>false</failOnViolation>
237 <configLocation>checkstyle-logging.xml</configLocation>
238 <consoleOutput>true</consoleOutput>
239 <includeTestSourceDirectory>true</includeTestSourceDirectory>
240 <sourceDirectory>${project.basedir}</sourceDirectory>
241 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
242 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/src/main/yang-gen-config\/,**\/src/main/yang-gen-sal\/</excludes>
246 <groupId>org.opendaylight.yangtools</groupId>
247 <artifactId>checkstyle-logging</artifactId>
248 <version>${yangtools.version}</version>
260 <groupId>org.codehaus.mojo</groupId>
261 <artifactId>build-helper-maven-plugin</artifactId>
264 <groupId>org.jacoco</groupId>
265 <artifactId>jacoco-maven-plugin</artifactId>
268 <id>prepare-ut-agent</id>
269 <phase>process-test-classes</phase>
271 <goal>prepare-agent</goal>
274 <destFile>${sonar.jacoco.reportPath}</destFile>
275 <propertyName>jacoco.agent.ut.arg</propertyName>
279 <id>prepare-it-agent</id>
280 <phase>pre-integration-test</phase>
282 <goal>prepare-agent</goal>
285 <destFile>${sonar.jacoco.itReportPath}</destFile>
286 <propertyName>jacoco.agent.it.arg</propertyName>
295 <groupId>org.apache.maven.plugins</groupId>
296 <artifactId>maven-source-plugin</artifactId>
297 <version>2.2.1</version>
300 <groupId>org.apache.maven.plugins</groupId>
301 <artifactId>maven-deploy-plugin</artifactId>
302 <version>2.7</version>
305 <groupId>org.apache.maven.plugins</groupId>
306 <artifactId>maven-jar-plugin</artifactId>
307 <version>2.4</version>
310 <groupId>org.apache.maven.plugins</groupId>
311 <artifactId>maven-release-plugin</artifactId>
312 <version>${releaseplugin.version}</version>
315 <groupId>org.opendaylight.yangtools</groupId>
316 <artifactId>yang-maven-plugin</artifactId>
317 <version>${yangtools.version}</version>
320 <groupId>org.apache.felix</groupId>
321 <artifactId>maven-bundle-plugin</artifactId>
322 <version>${maven.bundle.version}</version>
325 <groupId>org.codehaus.mojo</groupId>
326 <artifactId>build-helper-maven-plugin</artifactId>
327 <version>1.8</version>
332 <goal>add-source</goal>
334 <phase>generate-sources</phase>
337 <source>src/main/yang</source>
344 <groupId>org.apache.maven.plugins</groupId>
345 <artifactId>maven-failsafe-plugin</artifactId>
347 <!-- Specific to generate mapping between tests and covered code -->
348 <argLine>${jacoco.agent.it.arg}</argLine>
351 <name>listener</name>
352 <value>org.sonar.java.jacoco.JUnitListener</value>
355 <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
356 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
360 <groupId>org.apache.maven.plugins</groupId>
361 <artifactId>maven-surefire-plugin</artifactId>
363 <!-- Specific to generate mapping between tests and covered code -->
364 <argLine>${jacoco.agent.ut.arg}</argLine>
367 <name>listener</name>
368 <value>org.sonar.java.jacoco.JUnitListener</value>
373 <!-- Ignore/Execute plugin execution -->
375 <groupId>org.eclipse.m2e</groupId>
376 <artifactId>lifecycle-mapping</artifactId>
377 <version>1.0.0</version>
379 <lifecycleMappingMetadata>
382 <pluginExecutionFilter>
383 <groupId>org.codehaus.mojo</groupId>
384 <artifactId>properties-maven-plugin</artifactId>
385 <versionRange>[0.0,)</versionRange>
387 <goal>set-system-properties</goal>
389 </pluginExecutionFilter>
395 <pluginExecutionFilter>
396 <groupId>org.codehaus.enunciate</groupId>
397 <artifactId>maven-enunciate-plugin</artifactId>
398 <versionRange>[0.0,)</versionRange>
402 </pluginExecutionFilter>
408 <pluginExecutionFilter>
409 <groupId>org.jacoco</groupId>
410 <artifactId>jacoco-maven-plugin</artifactId>
411 <versionRange>[0.0,)</versionRange>
413 <goal>prepare-agent</goal>
414 <goal>pre-test</goal>
415 <goal>post-test</goal>
417 </pluginExecutionFilter>
423 <pluginExecutionFilter>
424 <groupId>org.ops4j.pax.exam</groupId>
425 <artifactId>maven-paxexam-plugin</artifactId>
426 <versionRange>[1.2.4,)</versionRange>
428 <goal>generate-depends-file</goal>
430 </pluginExecutionFilter>
433 <runOnIncremental>false</runOnIncremental>
438 <pluginExecutionFilter>
439 <groupId>org.apache.maven.plugins</groupId>
440 <artifactId>maven-checkstyle-plugin</artifactId>
441 <versionRange>[2.0,)</versionRange>
445 </pluginExecutionFilter>
451 <pluginExecutionFilter>
452 <groupId>org.opendaylight.yangtools</groupId>
453 <artifactId>yang-maven-plugin</artifactId>
454 <versionRange>[0.5,)</versionRange>
456 <goal>generate-sources</goal>
458 </pluginExecutionFilter>
464 <pluginExecutionFilter>
465 <groupId>org.codehaus.groovy.maven</groupId>
466 <artifactId>gmaven-plugin</artifactId>
467 <versionRange>1.0</versionRange>
471 </pluginExecutionFilter>
477 <pluginExecutionFilter>
478 <groupId>org.apache.maven.plugins</groupId>
479 <artifactId>maven-enforcer-plugin</artifactId>
480 <versionRange>${enforcer.version}</versionRange>
484 </pluginExecutionFilter>
490 </lifecycleMappingMetadata>
499 <groupId>org.codehaus.mojo</groupId>
500 <artifactId>findbugs-maven-plugin</artifactId>
501 <version>2.5.2</version>
504 <threshold>Low</threshold>
509 <artifactId>maven-jxr-plugin</artifactId>
510 <version>2.3</version>
512 <aggregate>true</aggregate>
513 <linkJavadoc>true</linkJavadoc>
518 <groupId>org.codehaus.mojo</groupId>
519 <artifactId>jdepend-maven-plugin</artifactId>
520 <version>2.0-beta-2</version>
528 <activeByDefault>true</activeByDefault>
531 <build.suffix>${project.version}</build.suffix>
538 <name>BUILDSUFFIX</name>
542 <build.suffix>${BUILDSUFFIX}</build.suffix>
550 <groupId>org.apache.maven.plugins</groupId>
551 <artifactId>maven-javadoc-plugin</artifactId>
552 <version>2.8.1</version>
556 <goal>aggregate</goal>
561 <id>attach-javadocs</id>
569 <groupId>org.apache.maven.plugins</groupId>
570 <artifactId>maven-source-plugin</artifactId>
573 <id>attach-sources</id>
574 <phase>package</phase>
576 <goal>jar-no-fork</goal>