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.19.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 <!-- OpenDayLight Snapshot artifact -->
76 <id>opendaylight-snapshot</id>
77 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
79 <enabled>false</enabled>
86 <!-- Opendaylight public group -->
89 <name>odlPublic</name>
90 <url>${nexusproxy}/groups/public/</url>
92 <enabled>false</enabled>
95 <!-- OpenDayLight Snapshot artifact -->
97 <id>opendaylight-snapshot</id>
98 <name>opendaylight-snapshot</name>
99 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
101 <enabled>false</enabled>
105 <distributionManagement>
106 <!-- OpenDayLight Released artifact -->
108 <id>opendaylight-release</id>
109 <url>${nexusproxy}/repositories/opendaylight.release/</url>
111 <!-- OpenDayLight Snapshot artifact -->
113 <id>opendaylight-snapshot</id>
114 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
115 </snapshotRepository>
116 <!-- Site deployment -->
119 <url>${sitedeploy}</url>
121 </distributionManagement>
124 <dependencyManagement>
126 <!-- feature dependencies -->
128 <groupId>org.opendaylight.yangtools</groupId>
129 <artifactId>features-yangtools</artifactId>
130 <version>${yangtools.version}</version>
131 <classifier>features</classifier>
135 <groupId>org.opendaylight.controller</groupId>
136 <artifactId>features-config</artifactId>
137 <version>${config.version}</version>
138 <classifier>features</classifier>
142 <groupId>org.slf4j</groupId>
143 <artifactId>slf4j-api</artifactId>
144 <version>${slf4j.version}</version>
147 <groupId>io.netty</groupId>
148 <artifactId>netty-buffer</artifactId>
149 <version>${netty.version}</version>
152 <groupId>io.netty</groupId>
153 <artifactId>netty-handler</artifactId>
154 <version>${netty.version}</version>
157 <groupId>io.netty</groupId>
158 <artifactId>netty-codec</artifactId>
159 <version>${netty.version}</version>
162 <groupId>io.netty</groupId>
163 <artifactId>netty-common</artifactId>
164 <version>${netty.version}</version>
167 <groupId>io.netty</groupId>
168 <artifactId>netty-transport</artifactId>
169 <version>${netty.version}</version>
172 <groupId>com.google.guava</groupId>
173 <artifactId>guava</artifactId>
174 <version>${guava.version}</version>
177 <groupId>org.opendaylight.yangtools.model</groupId>
178 <artifactId>ietf-inet-types</artifactId>
179 <version>${ietf.model.version}</version>
182 <groupId>org.opendaylight.yangtools.model</groupId>
183 <artifactId>ietf-yang-types</artifactId>
184 <version>${ietf.model.version}</version>
187 <groupId>org.opendaylight.yangtools.model</groupId>
188 <artifactId>yang-ext</artifactId>
189 <version>${yang.ext.version}</version>
192 <groupId>org.osgi</groupId>
193 <artifactId>org.osgi.core</artifactId>
194 <version>5.0.0</version>
197 <groupId>org.opendaylight.controller</groupId>
198 <artifactId>config-api</artifactId>
199 <version>0.2.5-SNAPSHOT</version>
202 <groupId>junit</groupId>
203 <artifactId>junit</artifactId>
204 <version>4.10</version>
206 <optional>true</optional>
209 <groupId>org.mockito</groupId>
210 <artifactId>mockito-all</artifactId>
211 <version>1.9.5</version>
215 <groupId>org.opendaylight.yangtools</groupId>
216 <artifactId>features-test</artifactId>
217 <version>${yangtools.version}</version>
220 </dependencyManagement>
225 <groupId>org.codehaus.sonar-plugins.java</groupId>
226 <artifactId>sonar-jacoco-listeners</artifactId>
227 <version>${sonar-jacoco-listeners.version}</version>
235 <groupId>org.apache.maven.plugins</groupId>
236 <artifactId>maven-compiler-plugin</artifactId>
237 <version>${compiler.version}</version>
238 <inherited>true</inherited>
245 <artifactId>maven-source-plugin</artifactId>
248 <id>attach-sources</id>
249 <phase>deploy</phase>
251 <goal>jar-no-fork</goal>
257 <groupId>org.apache.felix</groupId>
258 <artifactId>maven-bundle-plugin</artifactId>
259 <extensions>true</extensions>
262 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
264 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
268 <groupId>org.apache.maven.plugins</groupId>
269 <artifactId>maven-checkstyle-plugin</artifactId>
270 <version>2.12</version>
272 <failOnViolation>false</failOnViolation>
273 <configLocation>checkstyle-logging.xml</configLocation>
274 <consoleOutput>true</consoleOutput>
275 <includeTestSourceDirectory>true</includeTestSourceDirectory>
276 <sourceDirectory>${project.basedir}</sourceDirectory>
277 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
278 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/src/main/yang-gen-config\/,**\/src/main/yang-gen-sal\/</excludes>
282 <groupId>org.opendaylight.yangtools</groupId>
283 <artifactId>checkstyle-logging</artifactId>
284 <version>${yangtools.version}</version>
296 <groupId>org.codehaus.mojo</groupId>
297 <artifactId>build-helper-maven-plugin</artifactId>
300 <groupId>org.jacoco</groupId>
301 <artifactId>jacoco-maven-plugin</artifactId>
304 <id>prepare-ut-agent</id>
305 <phase>process-test-classes</phase>
307 <goal>prepare-agent</goal>
310 <destFile>${sonar.jacoco.reportPath}</destFile>
311 <propertyName>jacoco.agent.ut.arg</propertyName>
315 <id>prepare-it-agent</id>
316 <phase>pre-integration-test</phase>
318 <goal>prepare-agent</goal>
321 <destFile>${sonar.jacoco.itReportPath}</destFile>
322 <propertyName>jacoco.agent.it.arg</propertyName>
331 <groupId>org.apache.maven.plugins</groupId>
332 <artifactId>maven-source-plugin</artifactId>
333 <version>2.2.1</version>
336 <groupId>org.apache.maven.plugins</groupId>
337 <artifactId>maven-deploy-plugin</artifactId>
338 <version>2.7</version>
341 <groupId>org.apache.maven.plugins</groupId>
342 <artifactId>maven-jar-plugin</artifactId>
343 <version>2.4</version>
346 <groupId>org.apache.maven.plugins</groupId>
347 <artifactId>maven-release-plugin</artifactId>
348 <version>${releaseplugin.version}</version>
351 <groupId>org.opendaylight.yangtools</groupId>
352 <artifactId>yang-maven-plugin</artifactId>
353 <version>${yangtools.version}</version>
356 <groupId>org.apache.felix</groupId>
357 <artifactId>maven-bundle-plugin</artifactId>
358 <version>${maven.bundle.version}</version>
361 <groupId>org.codehaus.mojo</groupId>
362 <artifactId>build-helper-maven-plugin</artifactId>
363 <version>1.8</version>
368 <goal>add-source</goal>
370 <phase>generate-sources</phase>
373 <source>src/main/yang</source>
380 <groupId>org.apache.maven.plugins</groupId>
381 <artifactId>maven-failsafe-plugin</artifactId>
383 <!-- Specific to generate mapping between tests and covered code -->
384 <argLine>${jacoco.agent.it.arg}</argLine>
387 <name>listener</name>
388 <value>org.sonar.java.jacoco.JUnitListener</value>
391 <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
392 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
396 <groupId>org.apache.maven.plugins</groupId>
397 <artifactId>maven-surefire-plugin</artifactId>
399 <!-- Specific to generate mapping between tests and covered code -->
400 <argLine>${jacoco.agent.ut.arg}</argLine>
403 <name>listener</name>
404 <value>org.sonar.java.jacoco.JUnitListener</value>
409 <!-- Ignore/Execute plugin execution -->
411 <groupId>org.eclipse.m2e</groupId>
412 <artifactId>lifecycle-mapping</artifactId>
413 <version>1.0.0</version>
415 <lifecycleMappingMetadata>
418 <pluginExecutionFilter>
419 <groupId>org.codehaus.mojo</groupId>
420 <artifactId>properties-maven-plugin</artifactId>
421 <versionRange>[0.0,)</versionRange>
423 <goal>set-system-properties</goal>
425 </pluginExecutionFilter>
431 <pluginExecutionFilter>
432 <groupId>org.codehaus.enunciate</groupId>
433 <artifactId>maven-enunciate-plugin</artifactId>
434 <versionRange>[0.0,)</versionRange>
438 </pluginExecutionFilter>
444 <pluginExecutionFilter>
445 <groupId>org.jacoco</groupId>
446 <artifactId>jacoco-maven-plugin</artifactId>
447 <versionRange>[0.0,)</versionRange>
449 <goal>prepare-agent</goal>
450 <goal>pre-test</goal>
451 <goal>post-test</goal>
453 </pluginExecutionFilter>
459 <pluginExecutionFilter>
460 <groupId>org.ops4j.pax.exam</groupId>
461 <artifactId>maven-paxexam-plugin</artifactId>
462 <versionRange>[1.2.4,)</versionRange>
464 <goal>generate-depends-file</goal>
466 </pluginExecutionFilter>
469 <runOnIncremental>false</runOnIncremental>
474 <pluginExecutionFilter>
475 <groupId>org.apache.maven.plugins</groupId>
476 <artifactId>maven-checkstyle-plugin</artifactId>
477 <versionRange>[2.0,)</versionRange>
481 </pluginExecutionFilter>
487 <pluginExecutionFilter>
488 <groupId>org.opendaylight.yangtools</groupId>
489 <artifactId>yang-maven-plugin</artifactId>
490 <versionRange>[0.5,)</versionRange>
492 <goal>generate-sources</goal>
494 </pluginExecutionFilter>
500 <pluginExecutionFilter>
501 <groupId>org.codehaus.groovy.maven</groupId>
502 <artifactId>gmaven-plugin</artifactId>
503 <versionRange>1.0</versionRange>
507 </pluginExecutionFilter>
513 <pluginExecutionFilter>
514 <groupId>org.apache.maven.plugins</groupId>
515 <artifactId>maven-enforcer-plugin</artifactId>
516 <versionRange>${enforcer.version}</versionRange>
520 </pluginExecutionFilter>
526 </lifecycleMappingMetadata>
535 <groupId>org.codehaus.mojo</groupId>
536 <artifactId>findbugs-maven-plugin</artifactId>
537 <version>2.5.2</version>
540 <threshold>Low</threshold>
545 <artifactId>maven-jxr-plugin</artifactId>
546 <version>2.3</version>
548 <aggregate>true</aggregate>
549 <linkJavadoc>true</linkJavadoc>
554 <groupId>org.codehaus.mojo</groupId>
555 <artifactId>jdepend-maven-plugin</artifactId>
556 <version>2.0-beta-2</version>
564 <activeByDefault>true</activeByDefault>
567 <build.suffix>${project.version}</build.suffix>
574 <name>BUILDSUFFIX</name>
578 <build.suffix>${BUILDSUFFIX}</build.suffix>
586 <groupId>org.apache.maven.plugins</groupId>
587 <artifactId>maven-javadoc-plugin</artifactId>
588 <version>2.8.1</version>
592 <goal>aggregate</goal>
597 <id>attach-javadocs</id>
605 <groupId>org.apache.maven.plugins</groupId>
606 <artifactId>maven-source-plugin</artifactId>
609 <id>attach-sources</id>
610 <phase>package</phase>
612 <goal>jar-no-fork</goal>