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.6.0-SNAPSHOT</version>
11 <groupId>org.opendaylight.openflowjava</groupId>
12 <artifactId>openflowjava-parent</artifactId>
13 <version>0.7.0-SNAPSHOT</version>
14 <packaging>pom</packaging>
18 <name>The Eclipse Public License v1.0</name>
19 <url>http://www.eclipse.org/legal/epl-v10.html</url>
20 <distribution>repo</distribution>
25 <connection>scm:git:ssh://git.opendaylight.org:29418/openflowjava.git</connection>
26 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/openflowjava.git</developerConnection>
27 <url>https://wiki.opendaylight.org/view/Openflow_Protocol_Library:Main</url>
32 <sitedeploy>dav:http://nexus.opendaylight.org/content/sites/site</sitedeploy>
33 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
34 <jmxGeneratorPath>${project.build.directory}/yang-gen-config</jmxGeneratorPath>
35 <karaf.distro.empty.version>1.6.0-SNAPSHOT</karaf.distro.empty.version>
36 <salGeneratorPath>${project.build.directory}/yang-gen-sal</salGeneratorPath>
38 <config.version>0.4.0-SNAPSHOT</config.version>
39 <mdsal.version>1.3.0-SNAPSHOT</mdsal.version>
40 <yangtools.version>0.8.0-SNAPSHOT</yangtools.version>
43 <dependencyManagement>
46 <groupId>org.opendaylight.openflowjava</groupId>
47 <artifactId>openflowjava-artifacts</artifactId>
48 <version>${project.version}</version>
53 <groupId>org.opendaylight.yangtools</groupId>
54 <artifactId>yangtools-artifacts</artifactId>
55 <version>${yangtools.version}</version>
60 <groupId>org.opendaylight.controller</groupId>
61 <artifactId>config-artifacts</artifactId>
62 <version>${config.version}</version>
67 <groupId>org.opendaylight.controller</groupId>
68 <artifactId>mdsal-artifacts</artifactId>
69 <version>${mdsal.version}</version>
74 </dependencyManagement>
79 <groupId>org.apache.maven.plugins</groupId>
80 <artifactId>maven-compiler-plugin</artifactId>
81 <inherited>true</inherited>
88 <artifactId>maven-source-plugin</artifactId>
91 <id>attach-sources</id>
94 <goal>jar-no-fork</goal>
100 <groupId>org.apache.felix</groupId>
101 <artifactId>maven-bundle-plugin</artifactId>
102 <extensions>true</extensions>
105 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
107 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
111 <groupId>org.apache.maven.plugins</groupId>
112 <artifactId>maven-checkstyle-plugin</artifactId>
113 <version>${checkstyle.version}</version>
115 <failOnViolation>false</failOnViolation>
116 <configLocation>checkstyle-logging.xml</configLocation>
117 <consoleOutput>true</consoleOutput>
118 <includeTestSourceDirectory>true</includeTestSourceDirectory>
119 <sourceDirectory>${project.basedir}</sourceDirectory>
120 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
121 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/src/main/yang-gen-config\/,**\/src/main/yang-gen-sal\/</excludes>
125 <groupId>org.opendaylight.yangtools</groupId>
126 <artifactId>checkstyle-logging</artifactId>
127 <version>${yangtools.version}</version>
139 <groupId>org.codehaus.mojo</groupId>
140 <artifactId>build-helper-maven-plugin</artifactId>
146 <groupId>org.opendaylight.yangtools</groupId>
147 <artifactId>yang-maven-plugin</artifactId>
148 <version>${yangtools.version}</version>
151 <groupId>org.codehaus.mojo</groupId>
152 <artifactId>build-helper-maven-plugin</artifactId>
153 <version>1.8</version>
158 <goal>add-source</goal>
160 <phase>generate-sources</phase>
163 <source>src/main/yang</source>
169 <!-- Ignore/Execute plugin execution -->
171 <groupId>org.eclipse.m2e</groupId>
172 <artifactId>lifecycle-mapping</artifactId>
173 <version>1.0.0</version>
175 <lifecycleMappingMetadata>
178 <pluginExecutionFilter>
179 <groupId>org.codehaus.mojo</groupId>
180 <artifactId>properties-maven-plugin</artifactId>
181 <versionRange>[0.0,)</versionRange>
183 <goal>set-system-properties</goal>
185 </pluginExecutionFilter>
191 <pluginExecutionFilter>
192 <groupId>org.jacoco</groupId>
193 <artifactId>jacoco-maven-plugin</artifactId>
194 <versionRange>[0.0,)</versionRange>
196 <goal>prepare-agent</goal>
197 <goal>pre-test</goal>
198 <goal>post-test</goal>
200 </pluginExecutionFilter>
206 <pluginExecutionFilter>
207 <groupId>org.ops4j.pax.exam</groupId>
208 <artifactId>maven-paxexam-plugin</artifactId>
209 <versionRange>[1.2.4,)</versionRange>
211 <goal>generate-depends-file</goal>
213 </pluginExecutionFilter>
216 <runOnIncremental>false</runOnIncremental>
221 <pluginExecutionFilter>
222 <groupId>org.apache.maven.plugins</groupId>
223 <artifactId>maven-checkstyle-plugin</artifactId>
224 <versionRange>[2.0,)</versionRange>
228 </pluginExecutionFilter>
234 <pluginExecutionFilter>
235 <groupId>org.opendaylight.yangtools</groupId>
236 <artifactId>yang-maven-plugin</artifactId>
237 <versionRange>[0.5,)</versionRange>
239 <goal>generate-sources</goal>
241 </pluginExecutionFilter>
247 <pluginExecutionFilter>
248 <groupId>org.codehaus.groovy.maven</groupId>
249 <artifactId>gmaven-plugin</artifactId>
250 <versionRange>1.0</versionRange>
254 </pluginExecutionFilter>
260 <pluginExecutionFilter>
261 <groupId>org.apache.maven.plugins</groupId>
262 <artifactId>maven-enforcer-plugin</artifactId>
263 <versionRange>${enforcer.version}</versionRange>
267 </pluginExecutionFilter>
273 </lifecycleMappingMetadata>
282 <groupId>org.codehaus.mojo</groupId>
283 <artifactId>findbugs-maven-plugin</artifactId>
284 <version>2.5.2</version>
287 <threshold>Low</threshold>
292 <artifactId>maven-jxr-plugin</artifactId>
293 <version>2.3</version>
295 <aggregate>true</aggregate>
296 <linkJavadoc>true</linkJavadoc>
301 <groupId>org.codehaus.mojo</groupId>
302 <artifactId>jdepend-maven-plugin</artifactId>
303 <version>2.0-beta-2</version>
311 <activeByDefault>true</activeByDefault>
314 <build.suffix>${project.version}</build.suffix>
321 <name>BUILDSUFFIX</name>
325 <build.suffix>${BUILDSUFFIX}</build.suffix>
333 <groupId>org.apache.maven.plugins</groupId>
334 <artifactId>maven-javadoc-plugin</artifactId>
335 <version>2.8.1</version>
339 <goal>aggregate</goal>
344 <id>attach-javadocs</id>
352 <groupId>org.apache.maven.plugins</groupId>
353 <artifactId>maven-source-plugin</artifactId>
356 <id>attach-sources</id>
357 <phase>package</phase>
359 <goal>jar-no-fork</goal>