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>
18 <connection>scm:git:ssh://git.opendaylight.org:29418/openflowjava.git</connection>
19 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/openflowjava.git</developerConnection>
20 <url>https://wiki.opendaylight.org/view/Openflow_Protocol_Library:Main</url>
25 <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
26 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
27 <sitedeploy>dav:http://nexus.opendaylight.org/content/sites/site</sitedeploy>
28 <siteplugin>3.2</siteplugin>
29 <projectinfo>2.6</projectinfo>
30 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
31 <compiler.version>2.3.2</compiler.version>
32 <surefire.version>2.13</surefire.version>
33 <exam.version>3.0.0</exam.version>
34 <url.version>1.5.0</url.version>
35 <enunciate.version>1.26.2</enunciate.version>
36 <jmxGeneratorPath>${project.build.directory}/yang-gen-config</jmxGeneratorPath>
37 <karaf.distro.empty.version>1.4.2-SNAPSHOT</karaf.distro.empty.version>
38 <salGeneratorPath>${project.build.directory}/yang-gen-sal</salGeneratorPath>
39 <sonar.branch>${user.name}-private-view</sonar.branch>
40 <sonar.skippedModules>org.openflow.openflowj,net.sf.jung2</sonar.skippedModules>
41 <logback.version>1.0.9</logback.version>
42 <slf4j.version>1.7.2</slf4j.version>
43 <yang.prototype.version>1.1-SNAPSHOT</yang.prototype.version>
44 <ietf.model.version>2010.09.24.4-SNAPSHOT</ietf.model.version>
45 <yang.ext.version>2013.09.07.4-SNAPSHOT</yang.ext.version>
46 <maven.bundle.version>2.4.0</maven.bundle.version>
47 <guava.version>14.0.1</guava.version>
48 <netty.version>4.0.23.Final</netty.version>
49 <releaseplugin.version>2.3.2</releaseplugin.version>
50 <yangtools.version>0.6.2-SNAPSHOT</yangtools.version>
51 <yangtools.generator.version>0.6.2-SNAPSHOT</yangtools.generator.version>
52 <config.version>0.2.5-SNAPSHOT</config.version>
55 <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
56 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
57 <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
58 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
59 <sonar.profile>Sonar way with Findbugs</sonar.profile>
63 <!-- Opendaylight public group -->
66 <name>odlPublic</name>
67 <url>${nexusproxy}/groups/public/</url>
69 <enabled>false</enabled>
72 <enabled>true</enabled>
75 <!-- OpenDayLight Snapshot artifact -->
77 <id>opendaylight-snapshot</id>
78 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
80 <enabled>true</enabled>
83 <enabled>false</enabled>
90 <!-- Opendaylight public group -->
93 <name>odlPublic</name>
94 <url>${nexusproxy}/groups/public/</url>
96 <enabled>false</enabled>
99 <enabled>true</enabled>
102 <!-- OpenDayLight Snapshot artifact -->
104 <id>opendaylight-snapshot</id>
105 <name>opendaylight-snapshot</name>
106 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
108 <enabled>true</enabled>
111 <enabled>false</enabled>
115 <distributionManagement>
116 <!-- OpenDayLight Released artifact -->
118 <id>opendaylight-release</id>
119 <url>${nexusproxy}/repositories/opendaylight.release/</url>
121 <!-- OpenDayLight Snapshot artifact -->
123 <id>opendaylight-snapshot</id>
124 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
125 </snapshotRepository>
126 <!-- Site deployment -->
129 <url>${sitedeploy}</url>
131 </distributionManagement>
134 <dependencyManagement>
136 <!-- feature dependencies -->
138 <groupId>org.opendaylight.yangtools</groupId>
139 <artifactId>features-yangtools</artifactId>
140 <version>${yangtools.version}</version>
141 <classifier>features</classifier>
145 <groupId>org.opendaylight.controller</groupId>
146 <artifactId>features-config</artifactId>
147 <version>${config.version}</version>
148 <classifier>features</classifier>
152 <groupId>org.slf4j</groupId>
153 <artifactId>slf4j-api</artifactId>
154 <version>${slf4j.version}</version>
157 <groupId>io.netty</groupId>
158 <artifactId>netty-buffer</artifactId>
159 <version>${netty.version}</version>
162 <groupId>io.netty</groupId>
163 <artifactId>netty-handler</artifactId>
164 <version>${netty.version}</version>
167 <groupId>io.netty</groupId>
168 <artifactId>netty-codec</artifactId>
169 <version>${netty.version}</version>
172 <groupId>io.netty</groupId>
173 <artifactId>netty-common</artifactId>
174 <version>${netty.version}</version>
177 <groupId>io.netty</groupId>
178 <artifactId>netty-transport</artifactId>
179 <version>${netty.version}</version>
182 <groupId>com.google.guava</groupId>
183 <artifactId>guava</artifactId>
184 <version>${guava.version}</version>
187 <groupId>org.opendaylight.yangtools.model</groupId>
188 <artifactId>ietf-inet-types</artifactId>
189 <version>${ietf.model.version}</version>
192 <groupId>org.opendaylight.yangtools.model</groupId>
193 <artifactId>ietf-yang-types</artifactId>
194 <version>${ietf.model.version}</version>
197 <groupId>org.opendaylight.yangtools.model</groupId>
198 <artifactId>yang-ext</artifactId>
199 <version>${yang.ext.version}</version>
202 <groupId>org.osgi</groupId>
203 <artifactId>org.osgi.core</artifactId>
204 <version>5.0.0</version>
207 <groupId>org.opendaylight.controller</groupId>
208 <artifactId>config-api</artifactId>
209 <version>0.2.5-SNAPSHOT</version>
212 <groupId>junit</groupId>
213 <artifactId>junit</artifactId>
214 <version>4.10</version>
216 <optional>true</optional>
219 <groupId>org.mockito</groupId>
220 <artifactId>mockito-all</artifactId>
221 <version>1.9.5</version>
225 <groupId>org.opendaylight.yangtools</groupId>
226 <artifactId>features-test</artifactId>
227 <version>${yangtools.version}</version>
230 </dependencyManagement>
235 <groupId>org.codehaus.sonar-plugins.java</groupId>
236 <artifactId>sonar-jacoco-listeners</artifactId>
237 <version>${sonar-jacoco-listeners.version}</version>
245 <groupId>org.apache.maven.plugins</groupId>
246 <artifactId>maven-compiler-plugin</artifactId>
247 <version>${compiler.version}</version>
248 <inherited>true</inherited>
255 <artifactId>maven-source-plugin</artifactId>
258 <id>attach-sources</id>
259 <phase>deploy</phase>
261 <goal>jar-no-fork</goal>
267 <groupId>org.apache.felix</groupId>
268 <artifactId>maven-bundle-plugin</artifactId>
269 <extensions>true</extensions>
272 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
274 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
278 <groupId>org.apache.maven.plugins</groupId>
279 <artifactId>maven-checkstyle-plugin</artifactId>
280 <version>2.12</version>
282 <failOnViolation>false</failOnViolation>
283 <configLocation>checkstyle-logging.xml</configLocation>
284 <consoleOutput>true</consoleOutput>
285 <includeTestSourceDirectory>true</includeTestSourceDirectory>
286 <sourceDirectory>${project.basedir}</sourceDirectory>
287 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
288 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/src/main/yang-gen-config\/,**\/src/main/yang-gen-sal\/</excludes>
292 <groupId>org.opendaylight.yangtools</groupId>
293 <artifactId>checkstyle-logging</artifactId>
294 <version>${yangtools.version}</version>
306 <groupId>org.codehaus.mojo</groupId>
307 <artifactId>build-helper-maven-plugin</artifactId>
310 <groupId>org.jacoco</groupId>
311 <artifactId>jacoco-maven-plugin</artifactId>
314 <id>prepare-ut-agent</id>
315 <phase>process-test-classes</phase>
317 <goal>prepare-agent</goal>
320 <destFile>${sonar.jacoco.reportPath}</destFile>
321 <propertyName>jacoco.agent.ut.arg</propertyName>
325 <id>prepare-it-agent</id>
326 <phase>pre-integration-test</phase>
328 <goal>prepare-agent</goal>
331 <destFile>${sonar.jacoco.itReportPath}</destFile>
332 <propertyName>jacoco.agent.it.arg</propertyName>
341 <groupId>org.apache.maven.plugins</groupId>
342 <artifactId>maven-source-plugin</artifactId>
343 <version>2.2.1</version>
346 <groupId>org.apache.maven.plugins</groupId>
347 <artifactId>maven-deploy-plugin</artifactId>
348 <version>2.7</version>
351 <groupId>org.apache.maven.plugins</groupId>
352 <artifactId>maven-jar-plugin</artifactId>
353 <version>2.4</version>
356 <groupId>org.apache.maven.plugins</groupId>
357 <artifactId>maven-release-plugin</artifactId>
358 <version>${releaseplugin.version}</version>
361 <groupId>org.opendaylight.yangtools</groupId>
362 <artifactId>yang-maven-plugin</artifactId>
363 <version>${yangtools.version}</version>
366 <groupId>org.apache.felix</groupId>
367 <artifactId>maven-bundle-plugin</artifactId>
368 <version>${maven.bundle.version}</version>
371 <groupId>org.codehaus.mojo</groupId>
372 <artifactId>build-helper-maven-plugin</artifactId>
373 <version>1.8</version>
378 <goal>add-source</goal>
380 <phase>generate-sources</phase>
383 <source>src/main/yang</source>
390 <groupId>org.apache.maven.plugins</groupId>
391 <artifactId>maven-failsafe-plugin</artifactId>
393 <!-- Specific to generate mapping between tests and covered code -->
394 <argLine>${jacoco.agent.it.arg}</argLine>
397 <name>listener</name>
398 <value>org.sonar.java.jacoco.JUnitListener</value>
401 <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
402 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
406 <groupId>org.apache.maven.plugins</groupId>
407 <artifactId>maven-surefire-plugin</artifactId>
409 <!-- Specific to generate mapping between tests and covered code -->
410 <argLine>${jacoco.agent.ut.arg}</argLine>
413 <name>listener</name>
414 <value>org.sonar.java.jacoco.JUnitListener</value>
419 <!-- Ignore/Execute plugin execution -->
421 <groupId>org.eclipse.m2e</groupId>
422 <artifactId>lifecycle-mapping</artifactId>
423 <version>1.0.0</version>
425 <lifecycleMappingMetadata>
428 <pluginExecutionFilter>
429 <groupId>org.codehaus.mojo</groupId>
430 <artifactId>properties-maven-plugin</artifactId>
431 <versionRange>[0.0,)</versionRange>
433 <goal>set-system-properties</goal>
435 </pluginExecutionFilter>
441 <pluginExecutionFilter>
442 <groupId>org.codehaus.enunciate</groupId>
443 <artifactId>maven-enunciate-plugin</artifactId>
444 <versionRange>[0.0,)</versionRange>
448 </pluginExecutionFilter>
454 <pluginExecutionFilter>
455 <groupId>org.jacoco</groupId>
456 <artifactId>jacoco-maven-plugin</artifactId>
457 <versionRange>[0.0,)</versionRange>
459 <goal>prepare-agent</goal>
460 <goal>pre-test</goal>
461 <goal>post-test</goal>
463 </pluginExecutionFilter>
469 <pluginExecutionFilter>
470 <groupId>org.ops4j.pax.exam</groupId>
471 <artifactId>maven-paxexam-plugin</artifactId>
472 <versionRange>[1.2.4,)</versionRange>
474 <goal>generate-depends-file</goal>
476 </pluginExecutionFilter>
479 <runOnIncremental>false</runOnIncremental>
484 <pluginExecutionFilter>
485 <groupId>org.apache.maven.plugins</groupId>
486 <artifactId>maven-checkstyle-plugin</artifactId>
487 <versionRange>[2.0,)</versionRange>
491 </pluginExecutionFilter>
497 <pluginExecutionFilter>
498 <groupId>org.opendaylight.yangtools</groupId>
499 <artifactId>yang-maven-plugin</artifactId>
500 <versionRange>[0.5,)</versionRange>
502 <goal>generate-sources</goal>
504 </pluginExecutionFilter>
510 <pluginExecutionFilter>
511 <groupId>org.codehaus.groovy.maven</groupId>
512 <artifactId>gmaven-plugin</artifactId>
513 <versionRange>1.0</versionRange>
517 </pluginExecutionFilter>
523 <pluginExecutionFilter>
524 <groupId>org.apache.maven.plugins</groupId>
525 <artifactId>maven-enforcer-plugin</artifactId>
526 <versionRange>${enforcer.version}</versionRange>
530 </pluginExecutionFilter>
536 </lifecycleMappingMetadata>
545 <groupId>org.codehaus.mojo</groupId>
546 <artifactId>findbugs-maven-plugin</artifactId>
547 <version>2.5.2</version>
550 <threshold>Low</threshold>
555 <artifactId>maven-jxr-plugin</artifactId>
556 <version>2.3</version>
558 <aggregate>true</aggregate>
559 <linkJavadoc>true</linkJavadoc>
564 <groupId>org.codehaus.mojo</groupId>
565 <artifactId>jdepend-maven-plugin</artifactId>
566 <version>2.0-beta-2</version>
574 <activeByDefault>true</activeByDefault>
577 <build.suffix>${project.version}</build.suffix>
584 <name>BUILDSUFFIX</name>
588 <build.suffix>${BUILDSUFFIX}</build.suffix>
596 <groupId>org.apache.maven.plugins</groupId>
597 <artifactId>maven-javadoc-plugin</artifactId>
598 <version>2.8.1</version>
602 <goal>aggregate</goal>
607 <id>attach-javadocs</id>
615 <groupId>org.apache.maven.plugins</groupId>
616 <artifactId>maven-source-plugin</artifactId>
619 <id>attach-sources</id>
620 <phase>package</phase>
622 <goal>jar-no-fork</goal>