1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
4 Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
6 This program and the accompanying materials are made available under the
7 terms of the Eclipse Public License v1.0 which accompanies this distribution,
8 and is available at http://www.eclipse.org/legal/epl-v10.html
10 <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">
13 <groupId>org.opendaylight.odlparent</groupId>
14 <artifactId>odlparent</artifactId>
15 <version>1.6.0-SNAPSHOT</version>
19 <modelVersion>4.0.0</modelVersion>
20 <groupId>org.opendaylight.openflowplugin</groupId>
21 <artifactId>openflowplugin-parent</artifactId>
22 <version>0.2.0-SNAPSHOT</version>
23 <packaging>pom</packaging>
26 <connection>scm:git:ssh://git.opendaylight.org:29418/openflowplugin.git</connection>
27 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/openflowplugin.git</developerConnection>
28 <url>https://wiki.opendaylight.org/view/OpenDaylight_OpenFlow_Plugin:Main</url>
33 <project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
34 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
35 <openflowjava.version>0.7.0-SNAPSHOT</openflowjava.version>
36 <openflowplugin.version>0.2.0-SNAPSHOT</openflowplugin.version>
37 <sal.api.version>0.10.0-SNAPSHOT</sal.api.version>
38 <build.helper.version>1.8</build.helper.version>
39 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
40 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
41 <exi.nagasena.version>0000.0002.0038.0</exi.nagasena.version>
42 <controller.distribution.version>0.3.0-SNAPSHOT</controller.distribution.version>
43 <features.test.version>1.6.0-SNAPSHOT</features.test.version>
46 <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
47 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
48 <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
49 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
50 <sonar.profile>Sonar way with Findbugs</sonar.profile>
52 <config.version>0.4.0-SNAPSHOT</config.version>
53 <mdsal.version>1.3.0-SNAPSHOT</mdsal.version>
54 <netconf.version>0.4.0-SNAPSHOT</netconf.version>
55 <yangtools.version>0.8.0-SNAPSHOT</yangtools.version>
57 <features.test.version>1.6.0-SNAPSHOT</features.test.version>
58 <karaf.distro.empty.version>1.6.0-SNAPSHOT</karaf.distro.empty.version>
59 <dlux.version>0.3.0-SNAPSHOT</dlux.version>
62 <dependencyManagement>
65 <groupId>org.opendaylight.openflowplugin</groupId>
66 <artifactId>openflowplugin-artifacts</artifactId>
67 <version>${openflowplugin.version}</version>
73 <groupId>org.opendaylight.yangtools</groupId>
74 <artifactId>yangtools-artifacts</artifactId>
75 <version>${yangtools.version}</version>
80 <groupId>org.opendaylight.controller</groupId>
81 <artifactId>config-artifacts</artifactId>
82 <version>${config.version}</version>
87 <groupId>org.opendaylight.controller</groupId>
88 <artifactId>mdsal-artifacts</artifactId>
89 <version>${mdsal.version}</version>
94 <groupId>org.opendaylight.controller</groupId>
95 <artifactId>netconf-artifacts</artifactId>
96 <version>${netconf.version}</version>
101 <groupId>org.opendaylight.openflowjava</groupId>
102 <artifactId>openflowjava-artifacts</artifactId>
103 <version>${openflowjava.version}</version>
104 <scope>import</scope>
108 <groupId>org.opendaylight.odlparent</groupId>
109 <artifactId>features-test</artifactId>
110 <version>${features.test.version}</version>
115 <groupId>org.opendaylight.controller</groupId>
116 <artifactId>liblldp</artifactId>
117 <version>${sal.api.version}</version>
122 <groupId>org.openexi</groupId>
123 <artifactId>nagasena</artifactId>
124 <version>${exi.nagasena.version}</version>
127 <groupId>org.openexi</groupId>
128 <artifactId>nagasena-rta</artifactId>
129 <version>${exi.nagasena.version}</version>
132 <groupId>xml-apis</groupId>
133 <artifactId>xml-apis</artifactId>
134 <version>1.4.01</version>
137 </dependencyManagement>
142 <groupId>org.codehaus.sonar-plugins.java</groupId>
143 <artifactId>sonar-jacoco-listeners</artifactId>
144 <version>${sonar-jacoco-listeners.version}</version>
152 <groupId>org.codehaus.mojo</groupId>
153 <artifactId>build-helper-maven-plugin</artifactId>
156 <groupId>org.jacoco</groupId>
157 <artifactId>jacoco-maven-plugin</artifactId>
160 <id>prepare-ut-agent</id>
161 <phase>process-test-classes</phase>
163 <goal>prepare-agent</goal>
166 <destFile>${sonar.jacoco.reportPath}</destFile>
167 <propertyName>jacoco.agent.ut.arg</propertyName>
171 <id>prepare-it-agent</id>
172 <phase>pre-integration-test</phase>
174 <goal>prepare-agent</goal>
177 <destFile>${sonar.jacoco.itReportPath}</destFile>
178 <propertyName>jacoco.agent.it.arg</propertyName>
185 <include>org.opendaylight.openflowplugin.*</include>
195 <groupId>org.apache.maven.plugins</groupId>
196 <artifactId>maven-compiler-plugin</artifactId>
203 <artifactId>maven-clean-plugin</artifactId>
207 <directory>${jmxGeneratorPath}</directory>
209 <include>**</include>
213 <directory>${salGeneratorPath}</directory>
215 <include>**</include>
222 <groupId>org.codehaus.mojo</groupId>
223 <artifactId>build-helper-maven-plugin</artifactId>
224 <version>${build.helper.version}</version>
228 <phase>generate-sources</phase>
230 <goal>add-source</goal>
234 <source>${jmxGeneratorPath}</source>
235 <source>${salGeneratorPath}</source>
242 <groupId>org.opendaylight.yangtools</groupId>
243 <artifactId>yang-maven-plugin</artifactId>
244 <version>${yangtools.version}</version>
247 <groupId>org.apache.felix</groupId>
248 <artifactId>maven-bundle-plugin</artifactId>
249 <version>${maven.bundle.version}</version>
250 <extensions>true</extensions>
253 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
255 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
258 <!-- Ignore/Execute plugin execution -->
260 <groupId>org.eclipse.m2e</groupId>
261 <artifactId>lifecycle-mapping</artifactId>
262 <version>1.0.0</version>
264 <lifecycleMappingMetadata>
267 <pluginExecutionFilter>
268 <groupId>org.codehaus.mojo</groupId>
269 <artifactId>properties-maven-plugin</artifactId>
270 <versionRange>[0.0,)</versionRange>
272 <goal>set-system-properties</goal>
274 </pluginExecutionFilter>
280 <pluginExecutionFilter>
281 <groupId>org.jacoco</groupId>
282 <artifactId>jacoco-maven-plugin</artifactId>
283 <versionRange>[0.0,)</versionRange>
285 <goal>prepare-agent</goal>
286 <goal>pre-test</goal>
287 <goal>post-test</goal>
289 </pluginExecutionFilter>
295 <pluginExecutionFilter>
296 <groupId>org.ops4j.pax.exam</groupId>
297 <artifactId>maven-paxexam-plugin</artifactId>
298 <versionRange>[1.2.4,)</versionRange>
300 <goal>generate-depends-file</goal>
302 </pluginExecutionFilter>
305 <runOnIncremental>false</runOnIncremental>
310 <pluginExecutionFilter>
311 <groupId>org.apache.maven.plugins</groupId>
312 <artifactId>maven-checkstyle-plugin</artifactId>
313 <versionRange>[2.0,)</versionRange>
317 </pluginExecutionFilter>
323 <pluginExecutionFilter>
324 <groupId>org.opendaylight.yangtools</groupId>
325 <artifactId>yang-maven-plugin</artifactId>
326 <versionRange>[0.5,)</versionRange>
328 <goal>generate-sources</goal>
330 </pluginExecutionFilter>
336 <pluginExecutionFilter>
337 <groupId>org.codehaus.groovy.maven</groupId>
338 <artifactId>gmaven-plugin</artifactId>
339 <versionRange>1.0</versionRange>
343 </pluginExecutionFilter>
349 <pluginExecutionFilter>
350 <groupId>org.apache.maven.plugins</groupId>
351 <artifactId>maven-enforcer-plugin</artifactId>
352 <versionRange>${enforcer.version}</versionRange>
356 </pluginExecutionFilter>
362 </lifecycleMappingMetadata>
366 <groupId>org.apache.maven.plugins</groupId>
367 <artifactId>maven-failsafe-plugin</artifactId>
369 <!-- Specific to generate mapping between tests and covered code -->
370 <argLine>${jacoco.agent.it.arg}</argLine>
373 <name>listener</name>
374 <value>org.sonar.java.jacoco.JUnitListener</value>
377 <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
378 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
382 <groupId>org.apache.maven.plugins</groupId>
383 <artifactId>maven-surefire-plugin</artifactId>
385 <!-- Specific to generate mapping between tests and covered code -->
386 <argLine>${jacoco.agent.ut.arg}</argLine>
389 <name>listener</name>
390 <value>org.sonar.java.jacoco.JUnitListener</value>
401 <id>findbugsReport</id>
405 <groupId>org.apache.maven.plugins</groupId>
406 <artifactId>maven-project-info-reports-plugin</artifactId>
407 <version>2.7</version>
409 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
410 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
415 <report>index</report>
416 <report>project-team</report>
417 <report>license</report>
418 <report>mailing-list</report>
419 <report>plugin-management</report>
421 <report>issue-tracking</report>
423 <report>summary</report>
429 <groupId>org.codehaus.mojo</groupId>
430 <artifactId>findbugs-maven-plugin</artifactId>
431 <version>2.5.2</version>
434 <groupId>org.apache.maven.plugins</groupId>
435 <artifactId>maven-pmd-plugin</artifactId>
436 <version>3.0.1</version>
439 <groupId>org.apache.maven.plugins</groupId>
440 <artifactId>maven-jxr-plugin</artifactId>
441 <version>2.3</version>