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>features</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 <karaf.distro.empty.version>1.4.2-SNAPSHOT</karaf.distro.empty.version>
40 <salGeneratorPath>${project.build.directory}/yang-gen-sal</salGeneratorPath>
41 <sonar.branch>${user.name}-private-view</sonar.branch>
42 <sonar.skippedModules>org.openflow.openflowj,net.sf.jung2</sonar.skippedModules>
43 <logback.version>1.0.9</logback.version>
44 <slf4j.version>1.7.2</slf4j.version>
45 <yang.prototype.version>1.1-SNAPSHOT</yang.prototype.version>
46 <ietf.model.version>2010.09.24.4-SNAPSHOT</ietf.model.version>
47 <yang.ext.version>2013.09.07.4-SNAPSHOT</yang.ext.version>
48 <maven.bundle.version>2.4.0</maven.bundle.version>
49 <guava.version>14.0.1</guava.version>
50 <netty.version>4.0.23.Final</netty.version>
51 <releaseplugin.version>2.3.2</releaseplugin.version>
52 <yangtools.version>0.6.2-SNAPSHOT</yangtools.version>
53 <yangtools.generator.version>0.6.2-SNAPSHOT</yangtools.generator.version>
54 <config.version>0.2.5-SNAPSHOT</config.version>
57 <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
58 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
59 <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
60 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
61 <sonar.profile>Sonar way with Findbugs</sonar.profile>
65 <!-- Opendaylight public group -->
68 <name>odlPublic</name>
69 <url>${nexusproxy}/groups/public/</url>
71 <enabled>false</enabled>
74 <enabled>true</enabled>
77 <!-- OpenDayLight Snapshot artifact -->
79 <id>opendaylight-snapshot</id>
80 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
82 <enabled>true</enabled>
85 <enabled>false</enabled>
92 <!-- Opendaylight public group -->
95 <name>odlPublic</name>
96 <url>${nexusproxy}/groups/public/</url>
98 <enabled>false</enabled>
101 <enabled>true</enabled>
104 <!-- OpenDayLight Snapshot artifact -->
106 <id>opendaylight-snapshot</id>
107 <name>opendaylight-snapshot</name>
108 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
110 <enabled>true</enabled>
113 <enabled>false</enabled>
117 <distributionManagement>
118 <!-- OpenDayLight Released artifact -->
120 <id>opendaylight-release</id>
121 <url>${nexusproxy}/repositories/opendaylight.release/</url>
123 <!-- OpenDayLight Snapshot artifact -->
125 <id>opendaylight-snapshot</id>
126 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
127 </snapshotRepository>
128 <!-- Site deployment -->
131 <url>${sitedeploy}</url>
133 </distributionManagement>
136 <dependencyManagement>
138 <!-- feature dependencies -->
140 <groupId>org.opendaylight.yangtools</groupId>
141 <artifactId>features-yangtools</artifactId>
142 <version>${yangtools.version}</version>
143 <classifier>features</classifier>
147 <groupId>org.opendaylight.controller</groupId>
148 <artifactId>features-config</artifactId>
149 <version>${config.version}</version>
150 <classifier>features</classifier>
154 <groupId>org.slf4j</groupId>
155 <artifactId>slf4j-api</artifactId>
156 <version>${slf4j.version}</version>
159 <groupId>io.netty</groupId>
160 <artifactId>netty-buffer</artifactId>
161 <version>${netty.version}</version>
164 <groupId>io.netty</groupId>
165 <artifactId>netty-handler</artifactId>
166 <version>${netty.version}</version>
169 <groupId>io.netty</groupId>
170 <artifactId>netty-codec</artifactId>
171 <version>${netty.version}</version>
174 <groupId>io.netty</groupId>
175 <artifactId>netty-common</artifactId>
176 <version>${netty.version}</version>
179 <groupId>io.netty</groupId>
180 <artifactId>netty-transport</artifactId>
181 <version>${netty.version}</version>
184 <groupId>com.google.guava</groupId>
185 <artifactId>guava</artifactId>
186 <version>${guava.version}</version>
189 <groupId>org.opendaylight.yangtools.model</groupId>
190 <artifactId>ietf-inet-types</artifactId>
191 <version>${ietf.model.version}</version>
194 <groupId>org.opendaylight.yangtools.model</groupId>
195 <artifactId>ietf-yang-types</artifactId>
196 <version>${ietf.model.version}</version>
199 <groupId>org.opendaylight.yangtools.model</groupId>
200 <artifactId>yang-ext</artifactId>
201 <version>${yang.ext.version}</version>
204 <groupId>org.osgi</groupId>
205 <artifactId>org.osgi.core</artifactId>
206 <version>5.0.0</version>
209 <groupId>org.opendaylight.controller</groupId>
210 <artifactId>config-api</artifactId>
211 <version>0.2.5-SNAPSHOT</version>
214 <groupId>junit</groupId>
215 <artifactId>junit</artifactId>
216 <version>4.10</version>
218 <optional>true</optional>
221 <groupId>org.mockito</groupId>
222 <artifactId>mockito-all</artifactId>
223 <version>1.9.5</version>
227 <groupId>org.opendaylight.yangtools</groupId>
228 <artifactId>features-test</artifactId>
229 <version>${yangtools.version}</version>
232 </dependencyManagement>
237 <groupId>org.codehaus.sonar-plugins.java</groupId>
238 <artifactId>sonar-jacoco-listeners</artifactId>
239 <version>${sonar-jacoco-listeners.version}</version>
247 <groupId>org.apache.maven.plugins</groupId>
248 <artifactId>maven-compiler-plugin</artifactId>
249 <version>${compiler.version}</version>
250 <inherited>true</inherited>
257 <artifactId>maven-source-plugin</artifactId>
260 <id>attach-sources</id>
261 <phase>deploy</phase>
263 <goal>jar-no-fork</goal>
269 <groupId>org.apache.felix</groupId>
270 <artifactId>maven-bundle-plugin</artifactId>
271 <extensions>true</extensions>
274 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
276 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
280 <groupId>org.apache.maven.plugins</groupId>
281 <artifactId>maven-checkstyle-plugin</artifactId>
282 <version>2.12</version>
284 <failOnViolation>false</failOnViolation>
285 <configLocation>checkstyle-logging.xml</configLocation>
286 <consoleOutput>true</consoleOutput>
287 <includeTestSourceDirectory>true</includeTestSourceDirectory>
288 <sourceDirectory>${project.basedir}</sourceDirectory>
289 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
290 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/src/main/yang-gen-config\/,**\/src/main/yang-gen-sal\/</excludes>
294 <groupId>org.opendaylight.yangtools</groupId>
295 <artifactId>checkstyle-logging</artifactId>
296 <version>${yangtools.version}</version>
308 <groupId>org.codehaus.mojo</groupId>
309 <artifactId>build-helper-maven-plugin</artifactId>
312 <groupId>org.jacoco</groupId>
313 <artifactId>jacoco-maven-plugin</artifactId>
316 <id>prepare-ut-agent</id>
317 <phase>process-test-classes</phase>
319 <goal>prepare-agent</goal>
322 <destFile>${sonar.jacoco.reportPath}</destFile>
323 <propertyName>jacoco.agent.ut.arg</propertyName>
327 <id>prepare-it-agent</id>
328 <phase>pre-integration-test</phase>
330 <goal>prepare-agent</goal>
333 <destFile>${sonar.jacoco.itReportPath}</destFile>
334 <propertyName>jacoco.agent.it.arg</propertyName>
343 <groupId>org.apache.maven.plugins</groupId>
344 <artifactId>maven-source-plugin</artifactId>
345 <version>2.2.1</version>
348 <groupId>org.apache.maven.plugins</groupId>
349 <artifactId>maven-deploy-plugin</artifactId>
350 <version>2.7</version>
353 <groupId>org.apache.maven.plugins</groupId>
354 <artifactId>maven-jar-plugin</artifactId>
355 <version>2.4</version>
358 <groupId>org.apache.maven.plugins</groupId>
359 <artifactId>maven-release-plugin</artifactId>
360 <version>${releaseplugin.version}</version>
363 <groupId>org.opendaylight.yangtools</groupId>
364 <artifactId>yang-maven-plugin</artifactId>
365 <version>${yangtools.version}</version>
368 <groupId>org.apache.felix</groupId>
369 <artifactId>maven-bundle-plugin</artifactId>
370 <version>${maven.bundle.version}</version>
373 <groupId>org.codehaus.mojo</groupId>
374 <artifactId>build-helper-maven-plugin</artifactId>
375 <version>1.8</version>
380 <goal>add-source</goal>
382 <phase>generate-sources</phase>
385 <source>src/main/yang</source>
392 <groupId>org.apache.maven.plugins</groupId>
393 <artifactId>maven-failsafe-plugin</artifactId>
395 <!-- Specific to generate mapping between tests and covered code -->
396 <argLine>${jacoco.agent.it.arg}</argLine>
399 <name>listener</name>
400 <value>org.sonar.java.jacoco.JUnitListener</value>
403 <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
404 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
408 <groupId>org.apache.maven.plugins</groupId>
409 <artifactId>maven-surefire-plugin</artifactId>
411 <!-- Specific to generate mapping between tests and covered code -->
412 <argLine>${jacoco.agent.ut.arg}</argLine>
415 <name>listener</name>
416 <value>org.sonar.java.jacoco.JUnitListener</value>
421 <!-- Ignore/Execute plugin execution -->
423 <groupId>org.eclipse.m2e</groupId>
424 <artifactId>lifecycle-mapping</artifactId>
425 <version>1.0.0</version>
427 <lifecycleMappingMetadata>
430 <pluginExecutionFilter>
431 <groupId>org.codehaus.mojo</groupId>
432 <artifactId>properties-maven-plugin</artifactId>
433 <versionRange>[0.0,)</versionRange>
435 <goal>set-system-properties</goal>
437 </pluginExecutionFilter>
443 <pluginExecutionFilter>
444 <groupId>org.codehaus.enunciate</groupId>
445 <artifactId>maven-enunciate-plugin</artifactId>
446 <versionRange>[0.0,)</versionRange>
450 </pluginExecutionFilter>
456 <pluginExecutionFilter>
457 <groupId>org.jacoco</groupId>
458 <artifactId>jacoco-maven-plugin</artifactId>
459 <versionRange>[0.0,)</versionRange>
461 <goal>prepare-agent</goal>
462 <goal>pre-test</goal>
463 <goal>post-test</goal>
465 </pluginExecutionFilter>
471 <pluginExecutionFilter>
472 <groupId>org.ops4j.pax.exam</groupId>
473 <artifactId>maven-paxexam-plugin</artifactId>
474 <versionRange>[1.2.4,)</versionRange>
476 <goal>generate-depends-file</goal>
478 </pluginExecutionFilter>
481 <runOnIncremental>false</runOnIncremental>
486 <pluginExecutionFilter>
487 <groupId>org.apache.maven.plugins</groupId>
488 <artifactId>maven-checkstyle-plugin</artifactId>
489 <versionRange>[2.0,)</versionRange>
493 </pluginExecutionFilter>
499 <pluginExecutionFilter>
500 <groupId>org.opendaylight.yangtools</groupId>
501 <artifactId>yang-maven-plugin</artifactId>
502 <versionRange>[0.5,)</versionRange>
504 <goal>generate-sources</goal>
506 </pluginExecutionFilter>
512 <pluginExecutionFilter>
513 <groupId>org.codehaus.groovy.maven</groupId>
514 <artifactId>gmaven-plugin</artifactId>
515 <versionRange>1.0</versionRange>
519 </pluginExecutionFilter>
525 <pluginExecutionFilter>
526 <groupId>org.apache.maven.plugins</groupId>
527 <artifactId>maven-enforcer-plugin</artifactId>
528 <versionRange>${enforcer.version}</versionRange>
532 </pluginExecutionFilter>
538 </lifecycleMappingMetadata>
547 <groupId>org.codehaus.mojo</groupId>
548 <artifactId>findbugs-maven-plugin</artifactId>
549 <version>2.5.2</version>
552 <threshold>Low</threshold>
557 <artifactId>maven-jxr-plugin</artifactId>
558 <version>2.3</version>
560 <aggregate>true</aggregate>
561 <linkJavadoc>true</linkJavadoc>
566 <groupId>org.codehaus.mojo</groupId>
567 <artifactId>jdepend-maven-plugin</artifactId>
568 <version>2.0-beta-2</version>
576 <activeByDefault>true</activeByDefault>
579 <build.suffix>${project.version}</build.suffix>
586 <name>BUILDSUFFIX</name>
590 <build.suffix>${BUILDSUFFIX}</build.suffix>
598 <groupId>org.apache.maven.plugins</groupId>
599 <artifactId>maven-javadoc-plugin</artifactId>
600 <version>2.8.1</version>
604 <goal>aggregate</goal>
609 <id>attach-javadocs</id>
617 <groupId>org.apache.maven.plugins</groupId>
618 <artifactId>maven-source-plugin</artifactId>
621 <id>attach-sources</id>
622 <phase>package</phase>
624 <goal>jar-no-fork</goal>