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>
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 <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.19.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>
56 <!-- Opendaylight public group -->
59 <name>odlPublic</name>
60 <url>${nexusproxy}/groups/public/</url>
62 <enabled>false</enabled>
65 <!-- OpenDayLight Snapshot artifact -->
67 <id>opendaylight-snapshot</id>
68 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
70 <enabled>false</enabled>
77 <!-- Opendaylight public group -->
80 <name>odlPublic</name>
81 <url>${nexusproxy}/groups/public/</url>
83 <enabled>false</enabled>
86 <!-- OpenDayLight Snapshot artifact -->
88 <id>opendaylight-snapshot</id>
89 <name>opendaylight-snapshot</name>
90 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
92 <enabled>false</enabled>
96 <distributionManagement>
97 <!-- OpenDayLight Released artifact -->
99 <id>opendaylight-release</id>
100 <url>${nexusproxy}/repositories/opendaylight.release/</url>
102 <!-- OpenDayLight Snapshot artifact -->
104 <id>opendaylight-snapshot</id>
105 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
106 </snapshotRepository>
107 <!-- Site deployment -->
110 <url>${sitedeploy}</url>
112 </distributionManagement>
115 <dependencyManagement>
118 <groupId>org.slf4j</groupId>
119 <artifactId>slf4j-api</artifactId>
120 <version>${slf4j.version}</version>
123 <groupId>io.netty</groupId>
124 <artifactId>netty-buffer</artifactId>
125 <version>${netty.version}</version>
128 <groupId>io.netty</groupId>
129 <artifactId>netty-handler</artifactId>
130 <version>${netty.version}</version>
133 <groupId>com.google.guava</groupId>
134 <artifactId>guava</artifactId>
135 <version>${guava.version}</version>
138 <groupId>org.opendaylight.yangtools.model</groupId>
139 <artifactId>ietf-inet-types</artifactId>
140 <version>${ietf.model.version}</version>
143 <groupId>org.opendaylight.yangtools.model</groupId>
144 <artifactId>ietf-yang-types</artifactId>
145 <version>${ietf.model.version}</version>
148 <groupId>org.opendaylight.yangtools.model</groupId>
149 <artifactId>yang-ext</artifactId>
150 <version>${yang.ext.version}</version>
153 <groupId>org.osgi</groupId>
154 <artifactId>org.osgi.core</artifactId>
155 <version>5.0.0</version>
158 <groupId>org.opendaylight.controller</groupId>
159 <artifactId>config-api</artifactId>
160 <version>0.2.5-SNAPSHOT</version>
163 <groupId>junit</groupId>
164 <artifactId>junit</artifactId>
165 <version>4.10</version>
167 <optional>true</optional>
170 <groupId>org.mockito</groupId>
171 <artifactId>mockito-all</artifactId>
172 <version>1.9.5</version>
176 </dependencyManagement>
180 <groupId>org.apache.maven.plugins</groupId>
181 <artifactId>maven-compiler-plugin</artifactId>
182 <version>${compiler.version}</version>
183 <inherited>true</inherited>
190 <artifactId>maven-source-plugin</artifactId>
193 <id>attach-sources</id>
194 <phase>deploy</phase>
196 <goal>jar-no-fork</goal>
202 <groupId>org.apache.felix</groupId>
203 <artifactId>maven-bundle-plugin</artifactId>
204 <extensions>true</extensions>
207 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
209 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
213 <groupId>org.apache.maven.plugins</groupId>
214 <artifactId>maven-checkstyle-plugin</artifactId>
215 <version>2.12</version>
217 <failOnViolation>false</failOnViolation>
218 <configLocation>checkstyle-logging.xml</configLocation>
219 <consoleOutput>true</consoleOutput>
220 <includeTestSourceDirectory>true</includeTestSourceDirectory>
221 <sourceDirectory>${project.basedir}</sourceDirectory>
222 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
223 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/src/main/yang-gen-config\/,**\/src/main/yang-gen-sal\/</excludes>
227 <groupId>org.opendaylight.yangtools</groupId>
228 <artifactId>checkstyle-logging</artifactId>
229 <version>${yangtools.version}</version>
241 <groupId>org.codehaus.mojo</groupId>
242 <artifactId>build-helper-maven-plugin</artifactId>
248 <groupId>org.apache.maven.plugins</groupId>
249 <artifactId>maven-source-plugin</artifactId>
250 <version>2.2.1</version>
253 <groupId>org.apache.maven.plugins</groupId>
254 <artifactId>maven-deploy-plugin</artifactId>
255 <version>2.7</version>
258 <groupId>org.apache.maven.plugins</groupId>
259 <artifactId>maven-jar-plugin</artifactId>
260 <version>2.4</version>
263 <groupId>org.apache.maven.plugins</groupId>
264 <artifactId>maven-release-plugin</artifactId>
265 <version>${releaseplugin.version}</version>
268 <groupId>org.opendaylight.yangtools</groupId>
269 <artifactId>yang-maven-plugin</artifactId>
270 <version>${yangtools.version}</version>
273 <groupId>org.apache.felix</groupId>
274 <artifactId>maven-bundle-plugin</artifactId>
275 <version>${maven.bundle.version}</version>
278 <groupId>org.codehaus.mojo</groupId>
279 <artifactId>build-helper-maven-plugin</artifactId>
280 <version>1.8</version>
285 <goal>add-source</goal>
287 <phase>generate-sources</phase>
290 <source>src/main/yang</source>
296 <!-- Ignore/Execute plugin execution -->
298 <groupId>org.eclipse.m2e</groupId>
299 <artifactId>lifecycle-mapping</artifactId>
300 <version>1.0.0</version>
302 <lifecycleMappingMetadata>
305 <pluginExecutionFilter>
306 <groupId>org.codehaus.mojo</groupId>
307 <artifactId>properties-maven-plugin</artifactId>
308 <versionRange>[0.0,)</versionRange>
310 <goal>set-system-properties</goal>
312 </pluginExecutionFilter>
318 <pluginExecutionFilter>
319 <groupId>org.codehaus.enunciate</groupId>
320 <artifactId>maven-enunciate-plugin</artifactId>
321 <versionRange>[0.0,)</versionRange>
325 </pluginExecutionFilter>
331 <pluginExecutionFilter>
332 <groupId>org.jacoco</groupId>
333 <artifactId>jacoco-maven-plugin</artifactId>
334 <versionRange>[0.0,)</versionRange>
336 <goal>prepare-agent</goal>
337 <goal>pre-test</goal>
338 <goal>post-test</goal>
340 </pluginExecutionFilter>
346 <pluginExecutionFilter>
347 <groupId>org.ops4j.pax.exam</groupId>
348 <artifactId>maven-paxexam-plugin</artifactId>
349 <versionRange>[1.2.4,)</versionRange>
351 <goal>generate-depends-file</goal>
353 </pluginExecutionFilter>
356 <runOnIncremental>false</runOnIncremental>
361 <pluginExecutionFilter>
362 <groupId>org.apache.maven.plugins</groupId>
363 <artifactId>maven-checkstyle-plugin</artifactId>
364 <versionRange>[2.0,)</versionRange>
368 </pluginExecutionFilter>
374 <pluginExecutionFilter>
375 <groupId>org.opendaylight.yangtools</groupId>
376 <artifactId>yang-maven-plugin</artifactId>
377 <versionRange>[0.5,)</versionRange>
379 <goal>generate-sources</goal>
381 </pluginExecutionFilter>
387 <pluginExecutionFilter>
388 <groupId>org.codehaus.groovy.maven</groupId>
389 <artifactId>gmaven-plugin</artifactId>
390 <versionRange>1.0</versionRange>
394 </pluginExecutionFilter>
400 <pluginExecutionFilter>
401 <groupId>org.apache.maven.plugins</groupId>
402 <artifactId>maven-enforcer-plugin</artifactId>
403 <versionRange>${enforcer.version}</versionRange>
407 </pluginExecutionFilter>
413 </lifecycleMappingMetadata>
422 <groupId>org.codehaus.mojo</groupId>
423 <artifactId>findbugs-maven-plugin</artifactId>
424 <version>2.5.2</version>
427 <threshold>Low</threshold>
432 <artifactId>maven-jxr-plugin</artifactId>
433 <version>2.3</version>
435 <aggregate>true</aggregate>
436 <linkJavadoc>true</linkJavadoc>
441 <groupId>org.codehaus.mojo</groupId>
442 <artifactId>jdepend-maven-plugin</artifactId>
443 <version>2.0-beta-2</version>
451 <activeByDefault>true</activeByDefault>
454 <build.suffix>${project.version}</build.suffix>
461 <name>BUILDSUFFIX</name>
465 <build.suffix>${BUILDSUFFIX}</build.suffix>
473 <groupId>org.apache.maven.plugins</groupId>
474 <artifactId>maven-javadoc-plugin</artifactId>
475 <version>2.8.1</version>
479 <goal>aggregate</goal>
484 <id>attach-javadocs</id>
492 <groupId>org.apache.maven.plugins</groupId>
493 <artifactId>maven-source-plugin</artifactId>
496 <id>attach-sources</id>
497 <phase>package</phase>
499 <goal>jar-no-fork</goal>