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.6.0-SNAPSHOT</version>
7 <packaging>pom</packaging>
9 <module>openflowjava-config</module>
10 <module>openflow-protocol-api</module>
11 <module>openflow-protocol-spi</module>
13 <module>openflow-protocol-impl</module>
14 <module>openflow-protocol-it</module>
15 <module>features</module>
16 <module>simple-client</module>
19 <connection>scm:git:ssh://git.opendaylight.org:29418/openflowjava.git</connection>
20 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/openflowjava.git</developerConnection>
21 <url>https://wiki.opendaylight.org/view/Openflow_Protocol_Library:Main</url>
26 <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
27 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
28 <sitedeploy>dav:http://nexus.opendaylight.org/content/sites/site</sitedeploy>
29 <siteplugin>3.2</siteplugin>
30 <projectinfo>2.6</projectinfo>
31 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
32 <compiler.version>2.3.2</compiler.version>
33 <surefire.version>2.13</surefire.version>
34 <exam.version>3.0.0</exam.version>
35 <url.version>1.5.0</url.version>
36 <enunciate.version>1.26.2</enunciate.version>
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.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.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 <maven.bundle.version>2.4.0</maven.bundle.version>
48 <guava.version>14.0.1</guava.version>
49 <netty.version>4.0.23.Final</netty.version>
50 <releaseplugin.version>2.3.2</releaseplugin.version>
51 <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
52 <yangtools.generator.version>0.7.0-SNAPSHOT</yangtools.generator.version>
53 <config.version>0.3.0-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 <enabled>true</enabled>
76 <!-- OpenDayLight Snapshot artifact -->
78 <id>opendaylight-snapshot</id>
79 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
81 <enabled>true</enabled>
84 <enabled>false</enabled>
91 <!-- Opendaylight public group -->
94 <name>odlPublic</name>
95 <url>${nexusproxy}/groups/public/</url>
97 <enabled>false</enabled>
100 <enabled>true</enabled>
103 <!-- OpenDayLight Snapshot artifact -->
105 <id>opendaylight-snapshot</id>
106 <name>opendaylight-snapshot</name>
107 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
109 <enabled>true</enabled>
112 <enabled>false</enabled>
116 <distributionManagement>
117 <!-- OpenDayLight Released artifact -->
119 <id>opendaylight-release</id>
120 <url>${nexusproxy}/repositories/opendaylight.release/</url>
122 <!-- OpenDayLight Snapshot artifact -->
124 <id>opendaylight-snapshot</id>
125 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
126 </snapshotRepository>
127 <!-- Site deployment -->
130 <url>${sitedeploy}</url>
132 </distributionManagement>
135 <dependencyManagement>
137 <!-- feature dependencies -->
139 <groupId>org.opendaylight.yangtools</groupId>
140 <artifactId>features-yangtools</artifactId>
141 <version>${yangtools.version}</version>
142 <classifier>features</classifier>
146 <groupId>org.opendaylight.controller</groupId>
147 <artifactId>features-config</artifactId>
148 <version>${config.version}</version>
149 <classifier>features</classifier>
153 <groupId>org.slf4j</groupId>
154 <artifactId>slf4j-api</artifactId>
155 <version>${slf4j.version}</version>
158 <groupId>io.netty</groupId>
159 <artifactId>netty-buffer</artifactId>
160 <version>${netty.version}</version>
163 <groupId>io.netty</groupId>
164 <artifactId>netty-handler</artifactId>
165 <version>${netty.version}</version>
168 <groupId>io.netty</groupId>
169 <artifactId>netty-codec</artifactId>
170 <version>${netty.version}</version>
173 <groupId>io.netty</groupId>
174 <artifactId>netty-common</artifactId>
175 <version>${netty.version}</version>
178 <groupId>io.netty</groupId>
179 <artifactId>netty-transport</artifactId>
180 <version>${netty.version}</version>
183 <groupId>com.google.guava</groupId>
184 <artifactId>guava</artifactId>
185 <version>${guava.version}</version>
188 <groupId>org.opendaylight.yangtools.model</groupId>
189 <artifactId>ietf-inet-types</artifactId>
190 <version>${ietf.model.version}</version>
193 <groupId>org.opendaylight.yangtools.model</groupId>
194 <artifactId>ietf-yang-types</artifactId>
195 <version>${ietf.model.version}</version>
198 <groupId>org.opendaylight.yangtools.model</groupId>
199 <artifactId>yang-ext</artifactId>
200 <version>${yang.ext.version}</version>
203 <groupId>org.osgi</groupId>
204 <artifactId>org.osgi.core</artifactId>
205 <version>5.0.0</version>
208 <groupId>org.opendaylight.controller</groupId>
209 <artifactId>config-api</artifactId>
210 <version>0.3.0-SNAPSHOT</version>
213 <groupId>junit</groupId>
214 <artifactId>junit</artifactId>
215 <version>4.10</version>
217 <optional>true</optional>
220 <groupId>org.mockito</groupId>
221 <artifactId>mockito-all</artifactId>
222 <version>1.9.5</version>
226 <groupId>org.opendaylight.yangtools</groupId>
227 <artifactId>features-test</artifactId>
228 <version>${yangtools.version}</version>
231 </dependencyManagement>
236 <groupId>org.codehaus.sonar-plugins.java</groupId>
237 <artifactId>sonar-jacoco-listeners</artifactId>
238 <version>${sonar-jacoco-listeners.version}</version>
246 <groupId>org.apache.maven.plugins</groupId>
247 <artifactId>maven-compiler-plugin</artifactId>
248 <version>${compiler.version}</version>
249 <inherited>true</inherited>
256 <artifactId>maven-source-plugin</artifactId>
259 <id>attach-sources</id>
260 <phase>deploy</phase>
262 <goal>jar-no-fork</goal>
268 <groupId>org.apache.felix</groupId>
269 <artifactId>maven-bundle-plugin</artifactId>
270 <extensions>true</extensions>
273 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
275 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
279 <groupId>org.apache.maven.plugins</groupId>
280 <artifactId>maven-checkstyle-plugin</artifactId>
281 <version>2.12</version>
283 <failOnViolation>false</failOnViolation>
284 <configLocation>checkstyle-logging.xml</configLocation>
285 <consoleOutput>true</consoleOutput>
286 <includeTestSourceDirectory>true</includeTestSourceDirectory>
287 <sourceDirectory>${project.basedir}</sourceDirectory>
288 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
289 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/src/main/yang-gen-config\/,**\/src/main/yang-gen-sal\/</excludes>
293 <groupId>org.opendaylight.yangtools</groupId>
294 <artifactId>checkstyle-logging</artifactId>
295 <version>${yangtools.version}</version>
307 <groupId>org.codehaus.mojo</groupId>
308 <artifactId>build-helper-maven-plugin</artifactId>
311 <groupId>org.jacoco</groupId>
312 <artifactId>jacoco-maven-plugin</artifactId>
315 <id>prepare-ut-agent</id>
316 <phase>process-test-classes</phase>
318 <goal>prepare-agent</goal>
321 <destFile>${sonar.jacoco.reportPath}</destFile>
322 <propertyName>jacoco.agent.ut.arg</propertyName>
326 <id>prepare-it-agent</id>
327 <phase>pre-integration-test</phase>
329 <goal>prepare-agent</goal>
332 <destFile>${sonar.jacoco.itReportPath}</destFile>
333 <propertyName>jacoco.agent.it.arg</propertyName>
342 <groupId>org.apache.maven.plugins</groupId>
343 <artifactId>maven-source-plugin</artifactId>
344 <version>2.2.1</version>
347 <groupId>org.apache.maven.plugins</groupId>
348 <artifactId>maven-deploy-plugin</artifactId>
349 <version>2.7</version>
352 <groupId>org.apache.maven.plugins</groupId>
353 <artifactId>maven-jar-plugin</artifactId>
354 <version>2.4</version>
357 <groupId>org.apache.maven.plugins</groupId>
358 <artifactId>maven-release-plugin</artifactId>
359 <version>${releaseplugin.version}</version>
362 <groupId>org.opendaylight.yangtools</groupId>
363 <artifactId>yang-maven-plugin</artifactId>
364 <version>${yangtools.version}</version>
367 <groupId>org.apache.felix</groupId>
368 <artifactId>maven-bundle-plugin</artifactId>
369 <version>${maven.bundle.version}</version>
372 <groupId>org.codehaus.mojo</groupId>
373 <artifactId>build-helper-maven-plugin</artifactId>
374 <version>1.8</version>
379 <goal>add-source</goal>
381 <phase>generate-sources</phase>
384 <source>src/main/yang</source>
391 <groupId>org.apache.maven.plugins</groupId>
392 <artifactId>maven-failsafe-plugin</artifactId>
394 <!-- Specific to generate mapping between tests and covered code -->
395 <argLine>${jacoco.agent.it.arg}</argLine>
398 <name>listener</name>
399 <value>org.sonar.java.jacoco.JUnitListener</value>
402 <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
403 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
407 <groupId>org.apache.maven.plugins</groupId>
408 <artifactId>maven-surefire-plugin</artifactId>
410 <!-- Specific to generate mapping between tests and covered code -->
411 <argLine>${jacoco.agent.ut.arg}</argLine>
414 <name>listener</name>
415 <value>org.sonar.java.jacoco.JUnitListener</value>
420 <!-- Ignore/Execute plugin execution -->
422 <groupId>org.eclipse.m2e</groupId>
423 <artifactId>lifecycle-mapping</artifactId>
424 <version>1.0.0</version>
426 <lifecycleMappingMetadata>
429 <pluginExecutionFilter>
430 <groupId>org.codehaus.mojo</groupId>
431 <artifactId>properties-maven-plugin</artifactId>
432 <versionRange>[0.0,)</versionRange>
434 <goal>set-system-properties</goal>
436 </pluginExecutionFilter>
442 <pluginExecutionFilter>
443 <groupId>org.codehaus.enunciate</groupId>
444 <artifactId>maven-enunciate-plugin</artifactId>
445 <versionRange>[0.0,)</versionRange>
449 </pluginExecutionFilter>
455 <pluginExecutionFilter>
456 <groupId>org.jacoco</groupId>
457 <artifactId>jacoco-maven-plugin</artifactId>
458 <versionRange>[0.0,)</versionRange>
460 <goal>prepare-agent</goal>
461 <goal>pre-test</goal>
462 <goal>post-test</goal>
464 </pluginExecutionFilter>
470 <pluginExecutionFilter>
471 <groupId>org.ops4j.pax.exam</groupId>
472 <artifactId>maven-paxexam-plugin</artifactId>
473 <versionRange>[1.2.4,)</versionRange>
475 <goal>generate-depends-file</goal>
477 </pluginExecutionFilter>
480 <runOnIncremental>false</runOnIncremental>
485 <pluginExecutionFilter>
486 <groupId>org.apache.maven.plugins</groupId>
487 <artifactId>maven-checkstyle-plugin</artifactId>
488 <versionRange>[2.0,)</versionRange>
492 </pluginExecutionFilter>
498 <pluginExecutionFilter>
499 <groupId>org.opendaylight.yangtools</groupId>
500 <artifactId>yang-maven-plugin</artifactId>
501 <versionRange>[0.5,)</versionRange>
503 <goal>generate-sources</goal>
505 </pluginExecutionFilter>
511 <pluginExecutionFilter>
512 <groupId>org.codehaus.groovy.maven</groupId>
513 <artifactId>gmaven-plugin</artifactId>
514 <versionRange>1.0</versionRange>
518 </pluginExecutionFilter>
524 <pluginExecutionFilter>
525 <groupId>org.apache.maven.plugins</groupId>
526 <artifactId>maven-enforcer-plugin</artifactId>
527 <versionRange>${enforcer.version}</versionRange>
531 </pluginExecutionFilter>
537 </lifecycleMappingMetadata>
546 <groupId>org.codehaus.mojo</groupId>
547 <artifactId>findbugs-maven-plugin</artifactId>
548 <version>2.5.2</version>
551 <threshold>Low</threshold>
556 <artifactId>maven-jxr-plugin</artifactId>
557 <version>2.3</version>
559 <aggregate>true</aggregate>
560 <linkJavadoc>true</linkJavadoc>
565 <groupId>org.codehaus.mojo</groupId>
566 <artifactId>jdepend-maven-plugin</artifactId>
567 <version>2.0-beta-2</version>
575 <activeByDefault>true</activeByDefault>
578 <build.suffix>${project.version}</build.suffix>
585 <name>BUILDSUFFIX</name>
589 <build.suffix>${BUILDSUFFIX}</build.suffix>
597 <groupId>org.apache.maven.plugins</groupId>
598 <artifactId>maven-javadoc-plugin</artifactId>
599 <version>2.8.1</version>
603 <goal>aggregate</goal>
608 <id>attach-javadocs</id>
616 <groupId>org.apache.maven.plugins</groupId>
617 <artifactId>maven-source-plugin</artifactId>
620 <id>attach-sources</id>
621 <phase>package</phase>
623 <goal>jar-no-fork</goal>