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.5.0-SNAPSHOT</version>
19 <modelVersion>4.0.0</modelVersion>
20 <groupId>org.opendaylight.openflowplugin</groupId>
21 <artifactId>openflowplugin-parent</artifactId>
22 <version>0.1.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.6.0-SNAPSHOT</openflowjava.version>
36 <openflowplugin.version>0.1.0-SNAPSHOT</openflowplugin.version>
37 <sal.api.version>0.9.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.2.0-SNAPSHOT</controller.distribution.version>
43 <features.test.version>1.5.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.3.0-SNAPSHOT</config.version>
53 <mdsal.version>1.2.0-SNAPSHOT</mdsal.version>
54 <netconf.version>0.3.0-SNAPSHOT</netconf.version>
55 <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
57 <features.test.version>1.5.0-SNAPSHOT</features.test.version>
58 <karaf.distro.empty.version>1.5.0-SNAPSHOT</karaf.distro.empty.version>
59 <dlux.version>0.2.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.codehaus.enunciate</groupId>
282 <artifactId>maven-enunciate-plugin</artifactId>
283 <versionRange>[0.0,)</versionRange>
287 </pluginExecutionFilter>
293 <pluginExecutionFilter>
294 <groupId>org.jacoco</groupId>
295 <artifactId>jacoco-maven-plugin</artifactId>
296 <versionRange>[0.0,)</versionRange>
298 <goal>prepare-agent</goal>
299 <goal>pre-test</goal>
300 <goal>post-test</goal>
302 </pluginExecutionFilter>
308 <pluginExecutionFilter>
309 <groupId>org.ops4j.pax.exam</groupId>
310 <artifactId>maven-paxexam-plugin</artifactId>
311 <versionRange>[1.2.4,)</versionRange>
313 <goal>generate-depends-file</goal>
315 </pluginExecutionFilter>
318 <runOnIncremental>false</runOnIncremental>
323 <pluginExecutionFilter>
324 <groupId>org.apache.maven.plugins</groupId>
325 <artifactId>maven-checkstyle-plugin</artifactId>
326 <versionRange>[2.0,)</versionRange>
330 </pluginExecutionFilter>
336 <pluginExecutionFilter>
337 <groupId>org.opendaylight.yangtools</groupId>
338 <artifactId>yang-maven-plugin</artifactId>
339 <versionRange>[0.5,)</versionRange>
341 <goal>generate-sources</goal>
343 </pluginExecutionFilter>
349 <pluginExecutionFilter>
350 <groupId>org.codehaus.groovy.maven</groupId>
351 <artifactId>gmaven-plugin</artifactId>
352 <versionRange>1.0</versionRange>
356 </pluginExecutionFilter>
362 <pluginExecutionFilter>
363 <groupId>org.apache.maven.plugins</groupId>
364 <artifactId>maven-enforcer-plugin</artifactId>
365 <versionRange>${enforcer.version}</versionRange>
369 </pluginExecutionFilter>
375 </lifecycleMappingMetadata>
379 <groupId>org.apache.maven.plugins</groupId>
380 <artifactId>maven-failsafe-plugin</artifactId>
382 <!-- Specific to generate mapping between tests and covered code -->
383 <argLine>${jacoco.agent.it.arg}</argLine>
386 <name>listener</name>
387 <value>org.sonar.java.jacoco.JUnitListener</value>
390 <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
391 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
395 <groupId>org.apache.maven.plugins</groupId>
396 <artifactId>maven-surefire-plugin</artifactId>
398 <!-- Specific to generate mapping between tests and covered code -->
399 <argLine>${jacoco.agent.ut.arg}</argLine>
402 <name>listener</name>
403 <value>org.sonar.java.jacoco.JUnitListener</value>
414 <id>findbugsReport</id>
418 <groupId>org.apache.maven.plugins</groupId>
419 <artifactId>maven-project-info-reports-plugin</artifactId>
420 <version>2.7</version>
422 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
423 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
428 <report>index</report>
429 <report>project-team</report>
430 <report>license</report>
431 <report>mailing-list</report>
432 <report>plugin-management</report>
434 <report>issue-tracking</report>
436 <report>summary</report>
442 <groupId>org.codehaus.mojo</groupId>
443 <artifactId>findbugs-maven-plugin</artifactId>
444 <version>2.5.2</version>
447 <groupId>org.apache.maven.plugins</groupId>
448 <artifactId>maven-pmd-plugin</artifactId>
449 <version>3.0.1</version>
452 <groupId>org.apache.maven.plugins</groupId>
453 <artifactId>maven-jxr-plugin</artifactId>
454 <version>2.3</version>