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>
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>src/main/yang-gen-config</jmxGeneratorPath>
37 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
38 <sonar.branch>${user.name}-private-view</sonar.branch>
39 <sonar.skippedModules>org.openflow.openflowj,net.sf.jung2</sonar.skippedModules>
40 <logback.version>1.0.9</logback.version>
41 <slf4j.version>1.7.2</slf4j.version>
42 <yang.prototype.version>1.1-SNAPSHOT</yang.prototype.version>
43 <ietf.model.version>2010.09.24.4-SNAPSHOT</ietf.model.version>
44 <yang.ext.version>2013.09.07.4-SNAPSHOT</yang.ext.version>
45 <maven.bundle.version>2.4.0</maven.bundle.version>
46 <guava.version>14.0.1</guava.version>
47 <netty.version>4.0.19.Final</netty.version>
48 <releaseplugin.version>2.3.2</releaseplugin.version>
49 <yangtools.version>0.6.2-SNAPSHOT</yangtools.version>
50 <yangtools.generator.version>0.6.2-SNAPSHOT</yangtools.generator.version>
51 <config.version>0.2.5-SNAPSHOT</config.version>
55 <!-- Opendaylight public group -->
58 <name>odlPublic</name>
59 <url>${nexusproxy}/groups/public/</url>
61 <enabled>false</enabled>
64 <!-- OpenDayLight Snapshot artifact -->
66 <id>opendaylight-snapshot</id>
67 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
69 <enabled>false</enabled>
76 <!-- Opendaylight public group -->
79 <name>odlPublic</name>
80 <url>${nexusproxy}/groups/public/</url>
82 <enabled>false</enabled>
85 <!-- OpenDayLight Snapshot artifact -->
87 <id>opendaylight-snapshot</id>
88 <name>opendaylight-snapshot</name>
89 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
91 <enabled>false</enabled>
95 <distributionManagement>
96 <!-- OpenDayLight Released artifact -->
98 <id>opendaylight-release</id>
99 <url>${nexusproxy}/repositories/opendaylight.release/</url>
101 <!-- OpenDayLight Snapshot artifact -->
103 <id>opendaylight-snapshot</id>
104 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
105 </snapshotRepository>
106 <!-- Site deployment -->
109 <url>${sitedeploy}</url>
111 </distributionManagement>
114 <dependencyManagement>
117 <groupId>org.slf4j</groupId>
118 <artifactId>slf4j-api</artifactId>
119 <version>${slf4j.version}</version>
122 <groupId>io.netty</groupId>
123 <artifactId>netty-buffer</artifactId>
124 <version>${netty.version}</version>
127 <groupId>io.netty</groupId>
128 <artifactId>netty-handler</artifactId>
129 <version>${netty.version}</version>
132 <groupId>com.google.guava</groupId>
133 <artifactId>guava</artifactId>
134 <version>${guava.version}</version>
137 <groupId>org.opendaylight.yangtools.model</groupId>
138 <artifactId>ietf-inet-types</artifactId>
139 <version>${ietf.model.version}</version>
142 <groupId>org.opendaylight.yangtools.model</groupId>
143 <artifactId>ietf-yang-types</artifactId>
144 <version>${ietf.model.version}</version>
147 <groupId>org.opendaylight.yangtools.model</groupId>
148 <artifactId>yang-ext</artifactId>
149 <version>${yang.ext.version}</version>
152 <groupId>org.osgi</groupId>
153 <artifactId>org.osgi.core</artifactId>
154 <version>5.0.0</version>
157 <groupId>org.opendaylight.controller</groupId>
158 <artifactId>config-api</artifactId>
159 <version>0.2.5-SNAPSHOT</version>
162 <groupId>junit</groupId>
163 <artifactId>junit</artifactId>
164 <version>4.10</version>
166 <optional>true</optional>
169 <groupId>org.mockito</groupId>
170 <artifactId>mockito-all</artifactId>
171 <version>1.9.5</version>
175 </dependencyManagement>
179 <groupId>org.apache.maven.plugins</groupId>
180 <artifactId>maven-compiler-plugin</artifactId>
181 <version>${compiler.version}</version>
182 <inherited>true</inherited>
189 <artifactId>maven-source-plugin</artifactId>
192 <id>attach-sources</id>
193 <phase>deploy</phase>
195 <goal>jar-no-fork</goal>
201 <groupId>org.apache.felix</groupId>
202 <artifactId>maven-bundle-plugin</artifactId>
203 <extensions>true</extensions>
206 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
208 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
212 <groupId>org.apache.maven.plugins</groupId>
213 <artifactId>maven-checkstyle-plugin</artifactId>
214 <version>2.12</version>
216 <failOnViolation>false</failOnViolation>
217 <configLocation>checkstyle-logging.xml</configLocation>
218 <consoleOutput>true</consoleOutput>
219 <includeTestSourceDirectory>true</includeTestSourceDirectory>
220 <sourceDirectory>${project.basedir}</sourceDirectory>
221 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
222 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/src/main/yang-gen-config\/,**\/src/main/yang-gen-sal\/</excludes>
226 <groupId>org.opendaylight.yangtools</groupId>
227 <artifactId>checkstyle-logging</artifactId>
228 <version>${yangtools.version}</version>
240 <groupId>org.codehaus.mojo</groupId>
241 <artifactId>build-helper-maven-plugin</artifactId>
247 <groupId>org.apache.maven.plugins</groupId>
248 <artifactId>maven-source-plugin</artifactId>
249 <version>2.2.1</version>
252 <groupId>org.apache.maven.plugins</groupId>
253 <artifactId>maven-deploy-plugin</artifactId>
254 <version>2.7</version>
257 <groupId>org.apache.maven.plugins</groupId>
258 <artifactId>maven-jar-plugin</artifactId>
259 <version>2.4</version>
262 <groupId>org.apache.maven.plugins</groupId>
263 <artifactId>maven-release-plugin</artifactId>
264 <version>${releaseplugin.version}</version>
267 <groupId>org.opendaylight.yangtools</groupId>
268 <artifactId>yang-maven-plugin</artifactId>
269 <version>${yangtools.version}</version>
272 <groupId>org.apache.felix</groupId>
273 <artifactId>maven-bundle-plugin</artifactId>
274 <version>${maven.bundle.version}</version>
277 <groupId>org.codehaus.mojo</groupId>
278 <artifactId>build-helper-maven-plugin</artifactId>
279 <version>1.8</version>
284 <goal>add-source</goal>
286 <phase>generate-sources</phase>
289 <source>src/main/yang</source>
290 <source>${jmxGeneratorPath}</source>
291 <source>${salGeneratorPath}</source>
297 <!-- Ignore/Execute plugin execution -->
299 <groupId>org.eclipse.m2e</groupId>
300 <artifactId>lifecycle-mapping</artifactId>
301 <version>1.0.0</version>
303 <lifecycleMappingMetadata>
306 <pluginExecutionFilter>
307 <groupId>org.codehaus.mojo</groupId>
308 <artifactId>properties-maven-plugin</artifactId>
309 <versionRange>[0.0,)</versionRange>
311 <goal>set-system-properties</goal>
313 </pluginExecutionFilter>
319 <pluginExecutionFilter>
320 <groupId>org.codehaus.enunciate</groupId>
321 <artifactId>maven-enunciate-plugin</artifactId>
322 <versionRange>[0.0,)</versionRange>
326 </pluginExecutionFilter>
332 <pluginExecutionFilter>
333 <groupId>org.jacoco</groupId>
334 <artifactId>jacoco-maven-plugin</artifactId>
335 <versionRange>[0.0,)</versionRange>
337 <goal>prepare-agent</goal>
338 <goal>pre-test</goal>
339 <goal>post-test</goal>
341 </pluginExecutionFilter>
347 <pluginExecutionFilter>
348 <groupId>org.ops4j.pax.exam</groupId>
349 <artifactId>maven-paxexam-plugin</artifactId>
350 <versionRange>[1.2.4,)</versionRange>
352 <goal>generate-depends-file</goal>
354 </pluginExecutionFilter>
357 <runOnIncremental>false</runOnIncremental>
362 <pluginExecutionFilter>
363 <groupId>org.apache.maven.plugins</groupId>
364 <artifactId>maven-checkstyle-plugin</artifactId>
365 <versionRange>[2.0,)</versionRange>
369 </pluginExecutionFilter>
375 <pluginExecutionFilter>
376 <groupId>org.opendaylight.yangtools</groupId>
377 <artifactId>yang-maven-plugin</artifactId>
378 <versionRange>[0.5,)</versionRange>
380 <goal>generate-sources</goal>
382 </pluginExecutionFilter>
388 <pluginExecutionFilter>
389 <groupId>org.codehaus.groovy.maven</groupId>
390 <artifactId>gmaven-plugin</artifactId>
391 <versionRange>1.0</versionRange>
395 </pluginExecutionFilter>
401 <pluginExecutionFilter>
402 <groupId>org.apache.maven.plugins</groupId>
403 <artifactId>maven-enforcer-plugin</artifactId>
404 <versionRange>${enforcer.version}</versionRange>
408 </pluginExecutionFilter>
414 </lifecycleMappingMetadata>
423 <groupId>org.codehaus.mojo</groupId>
424 <artifactId>findbugs-maven-plugin</artifactId>
425 <version>2.5.2</version>
428 <threshold>Low</threshold>
433 <artifactId>maven-jxr-plugin</artifactId>
434 <version>2.3</version>
436 <aggregate>true</aggregate>
437 <linkJavadoc>true</linkJavadoc>
442 <groupId>org.codehaus.mojo</groupId>
443 <artifactId>jdepend-maven-plugin</artifactId>
444 <version>2.0-beta-2</version>
452 <activeByDefault>true</activeByDefault>
455 <build.suffix>${project.version}</build.suffix>
462 <name>BUILDSUFFIX</name>
466 <build.suffix>${BUILDSUFFIX}</build.suffix>
474 <groupId>org.apache.maven.plugins</groupId>
475 <artifactId>maven-javadoc-plugin</artifactId>
476 <version>2.8.1</version>
480 <goal>aggregate</goal>
485 <id>attach-javadocs</id>
493 <groupId>org.apache.maven.plugins</groupId>
494 <artifactId>maven-source-plugin</artifactId>
497 <id>attach-sources</id>
498 <phase>package</phase>
500 <goal>jar-no-fork</goal>