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>
5 <groupId>org.opendaylight.odlparent</groupId>
6 <artifactId>odlparent</artifactId>
7 <version>1.5.0-SNAPSHOT</version>
11 <groupId>org.opendaylight.openflowjava</groupId>
12 <artifactId>openflow-protocol-parent</artifactId>
13 <version>0.6.0-SNAPSHOT</version>
14 <packaging>pom</packaging>
16 <module>openflowjava-config</module>
17 <module>openflow-protocol-api</module>
18 <module>openflow-protocol-spi</module>
20 <module>openflow-protocol-impl</module>
21 <module>openflow-protocol-it</module>
22 <module>features</module>
23 <module>simple-client</module>
26 <connection>scm:git:ssh://git.opendaylight.org:29418/openflowjava.git</connection>
27 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/openflowjava.git</developerConnection>
28 <url>https://wiki.opendaylight.org/view/Openflow_Protocol_Library:Main</url>
33 <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
34 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
35 <sitedeploy>dav:http://nexus.opendaylight.org/content/sites/site</sitedeploy>
36 <siteplugin>3.2</siteplugin>
37 <projectinfo>2.6</projectinfo>
38 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
39 <compiler.version>2.3.2</compiler.version>
40 <surefire.version>2.13</surefire.version>
41 <exam.version>3.0.0</exam.version>
42 <url.version>1.5.0</url.version>
43 <enunciate.version>1.26.2</enunciate.version>
44 <jmxGeneratorPath>${project.build.directory}/yang-gen-config</jmxGeneratorPath>
45 <karaf.distro.empty.version>1.5.0-SNAPSHOT</karaf.distro.empty.version>
46 <salGeneratorPath>${project.build.directory}/yang-gen-sal</salGeneratorPath>
47 <sonar.branch>${user.name}-private-view</sonar.branch>
48 <sonar.skippedModules>org.openflow.openflowj,net.sf.jung2</sonar.skippedModules>
49 <logback.version>1.0.9</logback.version>
50 <slf4j.version>1.7.2</slf4j.version>
51 <yang.prototype.version>1.2.0-SNAPSHOT</yang.prototype.version>
52 <ietf.model.version>2010.09.24.7-SNAPSHOT</ietf.model.version>
53 <yang.ext.version>2013.09.07.7-SNAPSHOT</yang.ext.version>
54 <maven.bundle.version>2.4.0</maven.bundle.version>
55 <guava.version>14.0.1</guava.version>
56 <netty.version>4.0.23.Final</netty.version>
57 <releaseplugin.version>2.3.2</releaseplugin.version>
58 <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
59 <yangtools.generator.version>0.7.0-SNAPSHOT</yangtools.generator.version>
60 <config.version>0.3.0-SNAPSHOT</config.version>
63 <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
64 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
65 <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
66 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
67 <sonar.profile>Sonar way with Findbugs</sonar.profile>
71 <!-- Opendaylight public group -->
74 <name>odlPublic</name>
75 <url>${nexusproxy}/groups/public/</url>
77 <enabled>false</enabled>
80 <enabled>true</enabled>
83 <!-- OpenDayLight Snapshot artifact -->
85 <id>opendaylight-snapshot</id>
86 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
88 <enabled>true</enabled>
91 <enabled>false</enabled>
98 <!-- Opendaylight public group -->
101 <name>odlPublic</name>
102 <url>${nexusproxy}/groups/public/</url>
104 <enabled>false</enabled>
107 <enabled>true</enabled>
110 <!-- OpenDayLight Snapshot artifact -->
112 <id>opendaylight-snapshot</id>
113 <name>opendaylight-snapshot</name>
114 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
116 <enabled>true</enabled>
119 <enabled>false</enabled>
123 <distributionManagement>
124 <!-- OpenDayLight Released artifact -->
126 <id>opendaylight-release</id>
127 <url>${nexusproxy}/repositories/opendaylight.release/</url>
129 <!-- OpenDayLight Snapshot artifact -->
131 <id>opendaylight-snapshot</id>
132 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
133 </snapshotRepository>
134 <!-- Site deployment -->
137 <url>${sitedeploy}</url>
139 </distributionManagement>
142 <dependencyManagement>
144 <!-- feature dependencies -->
146 <groupId>org.opendaylight.yangtools</groupId>
147 <artifactId>features-yangtools</artifactId>
148 <version>${yangtools.version}</version>
149 <classifier>features</classifier>
153 <groupId>org.opendaylight.controller</groupId>
154 <artifactId>features-config</artifactId>
155 <version>${config.version}</version>
156 <classifier>features</classifier>
160 <groupId>org.slf4j</groupId>
161 <artifactId>slf4j-api</artifactId>
162 <version>${slf4j.version}</version>
165 <groupId>io.netty</groupId>
166 <artifactId>netty-buffer</artifactId>
167 <version>${netty.version}</version>
170 <groupId>io.netty</groupId>
171 <artifactId>netty-handler</artifactId>
172 <version>${netty.version}</version>
175 <groupId>io.netty</groupId>
176 <artifactId>netty-codec</artifactId>
177 <version>${netty.version}</version>
180 <groupId>io.netty</groupId>
181 <artifactId>netty-common</artifactId>
182 <version>${netty.version}</version>
185 <groupId>io.netty</groupId>
186 <artifactId>netty-transport</artifactId>
187 <version>${netty.version}</version>
190 <groupId>com.google.guava</groupId>
191 <artifactId>guava</artifactId>
192 <version>${guava.version}</version>
195 <groupId>org.opendaylight.yangtools.model</groupId>
196 <artifactId>ietf-inet-types</artifactId>
197 <version>${ietf.model.version}</version>
200 <groupId>org.opendaylight.yangtools.model</groupId>
201 <artifactId>ietf-yang-types</artifactId>
202 <version>${ietf.model.version}</version>
205 <groupId>org.opendaylight.yangtools.model</groupId>
206 <artifactId>yang-ext</artifactId>
207 <version>${yang.ext.version}</version>
210 <groupId>org.osgi</groupId>
211 <artifactId>org.osgi.core</artifactId>
212 <version>5.0.0</version>
215 <groupId>org.opendaylight.controller</groupId>
216 <artifactId>config-api</artifactId>
217 <version>0.3.0-SNAPSHOT</version>
220 <groupId>junit</groupId>
221 <artifactId>junit</artifactId>
222 <version>${junit.version}</version>
224 <optional>true</optional>
227 <groupId>org.mockito</groupId>
228 <artifactId>mockito-all</artifactId>
229 <version>1.9.5</version>
233 <groupId>org.opendaylight.yangtools</groupId>
234 <artifactId>features-test</artifactId>
235 <version>${yangtools.version}</version>
238 </dependencyManagement>
243 <groupId>org.codehaus.sonar-plugins.java</groupId>
244 <artifactId>sonar-jacoco-listeners</artifactId>
245 <version>${sonar-jacoco-listeners.version}</version>
253 <groupId>org.apache.maven.plugins</groupId>
254 <artifactId>maven-compiler-plugin</artifactId>
255 <inherited>true</inherited>
262 <artifactId>maven-source-plugin</artifactId>
265 <id>attach-sources</id>
266 <phase>deploy</phase>
268 <goal>jar-no-fork</goal>
274 <groupId>org.apache.felix</groupId>
275 <artifactId>maven-bundle-plugin</artifactId>
276 <extensions>true</extensions>
279 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
281 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
285 <groupId>org.apache.maven.plugins</groupId>
286 <artifactId>maven-checkstyle-plugin</artifactId>
287 <version>2.12</version>
289 <failOnViolation>false</failOnViolation>
290 <configLocation>checkstyle-logging.xml</configLocation>
291 <consoleOutput>true</consoleOutput>
292 <includeTestSourceDirectory>true</includeTestSourceDirectory>
293 <sourceDirectory>${project.basedir}</sourceDirectory>
294 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
295 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/src/main/yang-gen-config\/,**\/src/main/yang-gen-sal\/</excludes>
299 <groupId>org.opendaylight.yangtools</groupId>
300 <artifactId>checkstyle-logging</artifactId>
301 <version>${yangtools.version}</version>
313 <groupId>org.codehaus.mojo</groupId>
314 <artifactId>build-helper-maven-plugin</artifactId>
317 <groupId>org.jacoco</groupId>
318 <artifactId>jacoco-maven-plugin</artifactId>
321 <id>prepare-ut-agent</id>
322 <phase>process-test-classes</phase>
324 <goal>prepare-agent</goal>
327 <destFile>${sonar.jacoco.reportPath}</destFile>
328 <propertyName>jacoco.agent.ut.arg</propertyName>
332 <id>prepare-it-agent</id>
333 <phase>pre-integration-test</phase>
335 <goal>prepare-agent</goal>
338 <destFile>${sonar.jacoco.itReportPath}</destFile>
339 <propertyName>jacoco.agent.it.arg</propertyName>
348 <groupId>org.apache.maven.plugins</groupId>
349 <artifactId>maven-source-plugin</artifactId>
350 <version>2.2.1</version>
353 <groupId>org.apache.maven.plugins</groupId>
354 <artifactId>maven-deploy-plugin</artifactId>
355 <version>2.7</version>
358 <groupId>org.apache.maven.plugins</groupId>
359 <artifactId>maven-jar-plugin</artifactId>
360 <version>2.4</version>
363 <groupId>org.apache.maven.plugins</groupId>
364 <artifactId>maven-release-plugin</artifactId>
365 <version>${releaseplugin.version}</version>
368 <groupId>org.opendaylight.yangtools</groupId>
369 <artifactId>yang-maven-plugin</artifactId>
370 <version>${yangtools.version}</version>
373 <groupId>org.apache.felix</groupId>
374 <artifactId>maven-bundle-plugin</artifactId>
375 <version>${maven.bundle.version}</version>
378 <groupId>org.codehaus.mojo</groupId>
379 <artifactId>build-helper-maven-plugin</artifactId>
380 <version>1.8</version>
385 <goal>add-source</goal>
387 <phase>generate-sources</phase>
390 <source>src/main/yang</source>
397 <groupId>org.apache.maven.plugins</groupId>
398 <artifactId>maven-failsafe-plugin</artifactId>
400 <!-- Specific to generate mapping between tests and covered code -->
401 <argLine>${jacoco.agent.it.arg}</argLine>
404 <name>listener</name>
405 <value>org.sonar.java.jacoco.JUnitListener</value>
408 <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
409 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
413 <groupId>org.apache.maven.plugins</groupId>
414 <artifactId>maven-surefire-plugin</artifactId>
416 <!-- Specific to generate mapping between tests and covered code -->
417 <argLine>${jacoco.agent.ut.arg}</argLine>
420 <name>listener</name>
421 <value>org.sonar.java.jacoco.JUnitListener</value>
426 <!-- Ignore/Execute plugin execution -->
428 <groupId>org.eclipse.m2e</groupId>
429 <artifactId>lifecycle-mapping</artifactId>
430 <version>1.0.0</version>
432 <lifecycleMappingMetadata>
435 <pluginExecutionFilter>
436 <groupId>org.codehaus.mojo</groupId>
437 <artifactId>properties-maven-plugin</artifactId>
438 <versionRange>[0.0,)</versionRange>
440 <goal>set-system-properties</goal>
442 </pluginExecutionFilter>
448 <pluginExecutionFilter>
449 <groupId>org.codehaus.enunciate</groupId>
450 <artifactId>maven-enunciate-plugin</artifactId>
451 <versionRange>[0.0,)</versionRange>
455 </pluginExecutionFilter>
461 <pluginExecutionFilter>
462 <groupId>org.jacoco</groupId>
463 <artifactId>jacoco-maven-plugin</artifactId>
464 <versionRange>[0.0,)</versionRange>
466 <goal>prepare-agent</goal>
467 <goal>pre-test</goal>
468 <goal>post-test</goal>
470 </pluginExecutionFilter>
476 <pluginExecutionFilter>
477 <groupId>org.ops4j.pax.exam</groupId>
478 <artifactId>maven-paxexam-plugin</artifactId>
479 <versionRange>[1.2.4,)</versionRange>
481 <goal>generate-depends-file</goal>
483 </pluginExecutionFilter>
486 <runOnIncremental>false</runOnIncremental>
491 <pluginExecutionFilter>
492 <groupId>org.apache.maven.plugins</groupId>
493 <artifactId>maven-checkstyle-plugin</artifactId>
494 <versionRange>[2.0,)</versionRange>
498 </pluginExecutionFilter>
504 <pluginExecutionFilter>
505 <groupId>org.opendaylight.yangtools</groupId>
506 <artifactId>yang-maven-plugin</artifactId>
507 <versionRange>[0.5,)</versionRange>
509 <goal>generate-sources</goal>
511 </pluginExecutionFilter>
517 <pluginExecutionFilter>
518 <groupId>org.codehaus.groovy.maven</groupId>
519 <artifactId>gmaven-plugin</artifactId>
520 <versionRange>1.0</versionRange>
524 </pluginExecutionFilter>
530 <pluginExecutionFilter>
531 <groupId>org.apache.maven.plugins</groupId>
532 <artifactId>maven-enforcer-plugin</artifactId>
533 <versionRange>${enforcer.version}</versionRange>
537 </pluginExecutionFilter>
543 </lifecycleMappingMetadata>
552 <groupId>org.codehaus.mojo</groupId>
553 <artifactId>findbugs-maven-plugin</artifactId>
554 <version>2.5.2</version>
557 <threshold>Low</threshold>
562 <artifactId>maven-jxr-plugin</artifactId>
563 <version>2.3</version>
565 <aggregate>true</aggregate>
566 <linkJavadoc>true</linkJavadoc>
571 <groupId>org.codehaus.mojo</groupId>
572 <artifactId>jdepend-maven-plugin</artifactId>
573 <version>2.0-beta-2</version>
581 <activeByDefault>true</activeByDefault>
584 <build.suffix>${project.version}</build.suffix>
591 <name>BUILDSUFFIX</name>
595 <build.suffix>${BUILDSUFFIX}</build.suffix>
603 <groupId>org.apache.maven.plugins</groupId>
604 <artifactId>maven-javadoc-plugin</artifactId>
605 <version>2.8.1</version>
609 <goal>aggregate</goal>
614 <id>attach-javadocs</id>
622 <groupId>org.apache.maven.plugins</groupId>
623 <artifactId>maven-source-plugin</artifactId>
626 <id>attach-sources</id>
627 <phase>package</phase>
629 <goal>jar-no-fork</goal>