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>feature</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 <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.1-SNAPSHOT</yang.prototype.version>
45 <ietf.model.version>2010.09.24.4-SNAPSHOT</ietf.model.version>
46 <yang.ext.version>2013.09.07.4-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.19.Final</netty.version>
50 <releaseplugin.version>2.3.2</releaseplugin.version>
51 <yangtools.version>0.6.2-SNAPSHOT</yangtools.version>
52 <yangtools.generator.version>0.6.2-SNAPSHOT</yangtools.generator.version>
53 <config.version>0.2.5-SNAPSHOT</config.version>
56 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
57 <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
61 <!-- Opendaylight public group -->
64 <name>odlPublic</name>
65 <url>${nexusproxy}/groups/public/</url>
67 <enabled>false</enabled>
70 <!-- OpenDayLight Snapshot artifact -->
72 <id>opendaylight-snapshot</id>
73 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
75 <enabled>false</enabled>
82 <!-- Opendaylight public group -->
85 <name>odlPublic</name>
86 <url>${nexusproxy}/groups/public/</url>
88 <enabled>false</enabled>
91 <!-- OpenDayLight Snapshot artifact -->
93 <id>opendaylight-snapshot</id>
94 <name>opendaylight-snapshot</name>
95 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
97 <enabled>false</enabled>
101 <distributionManagement>
102 <!-- OpenDayLight Released artifact -->
104 <id>opendaylight-release</id>
105 <url>${nexusproxy}/repositories/opendaylight.release/</url>
107 <!-- OpenDayLight Snapshot artifact -->
109 <id>opendaylight-snapshot</id>
110 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
111 </snapshotRepository>
112 <!-- Site deployment -->
115 <url>${sitedeploy}</url>
117 </distributionManagement>
120 <dependencyManagement>
123 <groupId>org.slf4j</groupId>
124 <artifactId>slf4j-api</artifactId>
125 <version>${slf4j.version}</version>
128 <groupId>io.netty</groupId>
129 <artifactId>netty-buffer</artifactId>
130 <version>${netty.version}</version>
133 <groupId>io.netty</groupId>
134 <artifactId>netty-handler</artifactId>
135 <version>${netty.version}</version>
138 <groupId>com.google.guava</groupId>
139 <artifactId>guava</artifactId>
140 <version>${guava.version}</version>
143 <groupId>org.opendaylight.yangtools.model</groupId>
144 <artifactId>ietf-inet-types</artifactId>
145 <version>${ietf.model.version}</version>
148 <groupId>org.opendaylight.yangtools.model</groupId>
149 <artifactId>ietf-yang-types</artifactId>
150 <version>${ietf.model.version}</version>
153 <groupId>org.opendaylight.yangtools.model</groupId>
154 <artifactId>yang-ext</artifactId>
155 <version>${yang.ext.version}</version>
158 <groupId>org.osgi</groupId>
159 <artifactId>org.osgi.core</artifactId>
160 <version>5.0.0</version>
163 <groupId>org.opendaylight.controller</groupId>
164 <artifactId>config-api</artifactId>
165 <version>0.2.5-SNAPSHOT</version>
168 <groupId>junit</groupId>
169 <artifactId>junit</artifactId>
170 <version>4.10</version>
172 <optional>true</optional>
175 <groupId>org.mockito</groupId>
176 <artifactId>mockito-all</artifactId>
177 <version>1.9.5</version>
181 </dependencyManagement>
185 <groupId>org.apache.maven.plugins</groupId>
186 <artifactId>maven-compiler-plugin</artifactId>
187 <version>${compiler.version}</version>
188 <inherited>true</inherited>
195 <artifactId>maven-source-plugin</artifactId>
198 <id>attach-sources</id>
199 <phase>deploy</phase>
201 <goal>jar-no-fork</goal>
207 <groupId>org.jacoco</groupId>
208 <artifactId>jacoco-maven-plugin</artifactId>
212 <goal>prepare-agent</goal>
215 <destFile>${sonar.jacoco.reportPath}</destFile>
221 <groupId>org.apache.felix</groupId>
222 <artifactId>maven-bundle-plugin</artifactId>
223 <extensions>true</extensions>
226 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
228 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
232 <groupId>org.apache.maven.plugins</groupId>
233 <artifactId>maven-checkstyle-plugin</artifactId>
234 <version>2.12</version>
236 <failOnViolation>false</failOnViolation>
237 <configLocation>checkstyle-logging.xml</configLocation>
238 <consoleOutput>true</consoleOutput>
239 <includeTestSourceDirectory>true</includeTestSourceDirectory>
240 <sourceDirectory>${project.basedir}</sourceDirectory>
241 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
242 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/src/main/yang-gen-config\/,**\/src/main/yang-gen-sal\/</excludes>
246 <groupId>org.opendaylight.yangtools</groupId>
247 <artifactId>checkstyle-logging</artifactId>
248 <version>${yangtools.version}</version>
260 <groupId>org.codehaus.mojo</groupId>
261 <artifactId>build-helper-maven-plugin</artifactId>
267 <groupId>org.apache.maven.plugins</groupId>
268 <artifactId>maven-source-plugin</artifactId>
269 <version>2.2.1</version>
272 <groupId>org.apache.maven.plugins</groupId>
273 <artifactId>maven-deploy-plugin</artifactId>
274 <version>2.7</version>
277 <groupId>org.apache.maven.plugins</groupId>
278 <artifactId>maven-jar-plugin</artifactId>
279 <version>2.4</version>
282 <groupId>org.apache.maven.plugins</groupId>
283 <artifactId>maven-release-plugin</artifactId>
284 <version>${releaseplugin.version}</version>
287 <groupId>org.opendaylight.yangtools</groupId>
288 <artifactId>yang-maven-plugin</artifactId>
289 <version>${yangtools.version}</version>
292 <groupId>org.apache.felix</groupId>
293 <artifactId>maven-bundle-plugin</artifactId>
294 <version>${maven.bundle.version}</version>
297 <groupId>org.codehaus.mojo</groupId>
298 <artifactId>build-helper-maven-plugin</artifactId>
299 <version>1.8</version>
304 <goal>add-source</goal>
306 <phase>generate-sources</phase>
309 <source>src/main/yang</source>
315 <!-- Ignore/Execute plugin execution -->
317 <groupId>org.eclipse.m2e</groupId>
318 <artifactId>lifecycle-mapping</artifactId>
319 <version>1.0.0</version>
321 <lifecycleMappingMetadata>
324 <pluginExecutionFilter>
325 <groupId>org.codehaus.mojo</groupId>
326 <artifactId>properties-maven-plugin</artifactId>
327 <versionRange>[0.0,)</versionRange>
329 <goal>set-system-properties</goal>
331 </pluginExecutionFilter>
337 <pluginExecutionFilter>
338 <groupId>org.codehaus.enunciate</groupId>
339 <artifactId>maven-enunciate-plugin</artifactId>
340 <versionRange>[0.0,)</versionRange>
344 </pluginExecutionFilter>
350 <pluginExecutionFilter>
351 <groupId>org.jacoco</groupId>
352 <artifactId>jacoco-maven-plugin</artifactId>
353 <versionRange>[0.0,)</versionRange>
355 <goal>prepare-agent</goal>
356 <goal>pre-test</goal>
357 <goal>post-test</goal>
359 </pluginExecutionFilter>
365 <pluginExecutionFilter>
366 <groupId>org.ops4j.pax.exam</groupId>
367 <artifactId>maven-paxexam-plugin</artifactId>
368 <versionRange>[1.2.4,)</versionRange>
370 <goal>generate-depends-file</goal>
372 </pluginExecutionFilter>
375 <runOnIncremental>false</runOnIncremental>
380 <pluginExecutionFilter>
381 <groupId>org.apache.maven.plugins</groupId>
382 <artifactId>maven-checkstyle-plugin</artifactId>
383 <versionRange>[2.0,)</versionRange>
387 </pluginExecutionFilter>
393 <pluginExecutionFilter>
394 <groupId>org.opendaylight.yangtools</groupId>
395 <artifactId>yang-maven-plugin</artifactId>
396 <versionRange>[0.5,)</versionRange>
398 <goal>generate-sources</goal>
400 </pluginExecutionFilter>
406 <pluginExecutionFilter>
407 <groupId>org.codehaus.groovy.maven</groupId>
408 <artifactId>gmaven-plugin</artifactId>
409 <versionRange>1.0</versionRange>
413 </pluginExecutionFilter>
419 <pluginExecutionFilter>
420 <groupId>org.apache.maven.plugins</groupId>
421 <artifactId>maven-enforcer-plugin</artifactId>
422 <versionRange>${enforcer.version}</versionRange>
426 </pluginExecutionFilter>
432 </lifecycleMappingMetadata>
441 <groupId>org.codehaus.mojo</groupId>
442 <artifactId>findbugs-maven-plugin</artifactId>
443 <version>2.5.2</version>
446 <threshold>Low</threshold>
451 <artifactId>maven-jxr-plugin</artifactId>
452 <version>2.3</version>
454 <aggregate>true</aggregate>
455 <linkJavadoc>true</linkJavadoc>
460 <groupId>org.codehaus.mojo</groupId>
461 <artifactId>jdepend-maven-plugin</artifactId>
462 <version>2.0-beta-2</version>
470 <activeByDefault>true</activeByDefault>
473 <build.suffix>${project.version}</build.suffix>
480 <name>BUILDSUFFIX</name>
484 <build.suffix>${BUILDSUFFIX}</build.suffix>
492 <groupId>org.apache.maven.plugins</groupId>
493 <artifactId>maven-javadoc-plugin</artifactId>
494 <version>2.8.1</version>
498 <goal>aggregate</goal>
503 <id>attach-javadocs</id>
511 <groupId>org.apache.maven.plugins</groupId>
512 <artifactId>maven-source-plugin</artifactId>
515 <id>attach-sources</id>
516 <phase>package</phase>
518 <goal>jar-no-fork</goal>