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 <yangtools.version>0.8.0-SNAPSHOT</yangtools.version>
56 <features.test.version>1.6.0-SNAPSHOT</features.test.version>
57 <karaf.distro.empty.version>1.6.0-SNAPSHOT</karaf.distro.empty.version>
58 <dlux.version>0.3.0-SNAPSHOT</dlux.version>
61 <dependencyManagement>
64 <groupId>org.opendaylight.openflowplugin</groupId>
65 <artifactId>openflowplugin-artifacts</artifactId>
66 <version>${openflowplugin.version}</version>
72 <groupId>org.opendaylight.yangtools</groupId>
73 <artifactId>yangtools-artifacts</artifactId>
74 <version>${yangtools.version}</version>
79 <groupId>org.opendaylight.controller</groupId>
80 <artifactId>config-artifacts</artifactId>
81 <version>${config.version}</version>
86 <groupId>org.opendaylight.controller</groupId>
87 <artifactId>mdsal-artifacts</artifactId>
88 <version>${mdsal.version}</version>
93 <groupId>org.opendaylight.openflowjava</groupId>
94 <artifactId>openflowjava-artifacts</artifactId>
95 <version>${openflowjava.version}</version>
100 <groupId>org.opendaylight.odlparent</groupId>
101 <artifactId>features-test</artifactId>
102 <version>${features.test.version}</version>
107 <groupId>org.opendaylight.controller</groupId>
108 <artifactId>liblldp</artifactId>
109 <version>${sal.api.version}</version>
114 <groupId>org.openexi</groupId>
115 <artifactId>nagasena</artifactId>
116 <version>${exi.nagasena.version}</version>
119 <groupId>org.openexi</groupId>
120 <artifactId>nagasena-rta</artifactId>
121 <version>${exi.nagasena.version}</version>
124 <groupId>xml-apis</groupId>
125 <artifactId>xml-apis</artifactId>
126 <version>1.4.01</version>
129 </dependencyManagement>
134 <groupId>org.codehaus.sonar-plugins.java</groupId>
135 <artifactId>sonar-jacoco-listeners</artifactId>
136 <version>${sonar-jacoco-listeners.version}</version>
144 <groupId>org.codehaus.mojo</groupId>
145 <artifactId>build-helper-maven-plugin</artifactId>
148 <groupId>org.jacoco</groupId>
149 <artifactId>jacoco-maven-plugin</artifactId>
152 <id>prepare-ut-agent</id>
153 <phase>process-test-classes</phase>
155 <goal>prepare-agent</goal>
158 <destFile>${sonar.jacoco.reportPath}</destFile>
159 <propertyName>jacoco.agent.ut.arg</propertyName>
163 <id>prepare-it-agent</id>
164 <phase>pre-integration-test</phase>
166 <goal>prepare-agent</goal>
169 <destFile>${sonar.jacoco.itReportPath}</destFile>
170 <propertyName>jacoco.agent.it.arg</propertyName>
177 <include>org.opendaylight.openflowplugin.*</include>
187 <groupId>org.apache.maven.plugins</groupId>
188 <artifactId>maven-compiler-plugin</artifactId>
195 <artifactId>maven-clean-plugin</artifactId>
199 <directory>${jmxGeneratorPath}</directory>
201 <include>**</include>
205 <directory>${salGeneratorPath}</directory>
207 <include>**</include>
214 <groupId>org.codehaus.mojo</groupId>
215 <artifactId>build-helper-maven-plugin</artifactId>
216 <version>${build.helper.version}</version>
220 <phase>generate-sources</phase>
222 <goal>add-source</goal>
226 <source>${jmxGeneratorPath}</source>
227 <source>${salGeneratorPath}</source>
234 <groupId>org.opendaylight.yangtools</groupId>
235 <artifactId>yang-maven-plugin</artifactId>
236 <version>${yangtools.version}</version>
239 <groupId>org.apache.felix</groupId>
240 <artifactId>maven-bundle-plugin</artifactId>
241 <version>${maven.bundle.version}</version>
242 <extensions>true</extensions>
245 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
247 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
250 <!-- Ignore/Execute plugin execution -->
252 <groupId>org.eclipse.m2e</groupId>
253 <artifactId>lifecycle-mapping</artifactId>
254 <version>1.0.0</version>
256 <lifecycleMappingMetadata>
259 <pluginExecutionFilter>
260 <groupId>org.codehaus.mojo</groupId>
261 <artifactId>properties-maven-plugin</artifactId>
262 <versionRange>[0.0,)</versionRange>
264 <goal>set-system-properties</goal>
266 </pluginExecutionFilter>
272 <pluginExecutionFilter>
273 <groupId>org.jacoco</groupId>
274 <artifactId>jacoco-maven-plugin</artifactId>
275 <versionRange>[0.0,)</versionRange>
277 <goal>prepare-agent</goal>
278 <goal>pre-test</goal>
279 <goal>post-test</goal>
281 </pluginExecutionFilter>
287 <pluginExecutionFilter>
288 <groupId>org.ops4j.pax.exam</groupId>
289 <artifactId>maven-paxexam-plugin</artifactId>
290 <versionRange>[1.2.4,)</versionRange>
292 <goal>generate-depends-file</goal>
294 </pluginExecutionFilter>
297 <runOnIncremental>false</runOnIncremental>
302 <pluginExecutionFilter>
303 <groupId>org.apache.maven.plugins</groupId>
304 <artifactId>maven-checkstyle-plugin</artifactId>
305 <versionRange>[2.0,)</versionRange>
309 </pluginExecutionFilter>
315 <pluginExecutionFilter>
316 <groupId>org.opendaylight.yangtools</groupId>
317 <artifactId>yang-maven-plugin</artifactId>
318 <versionRange>[0.5,)</versionRange>
320 <goal>generate-sources</goal>
322 </pluginExecutionFilter>
328 <pluginExecutionFilter>
329 <groupId>org.codehaus.groovy.maven</groupId>
330 <artifactId>gmaven-plugin</artifactId>
331 <versionRange>1.0</versionRange>
335 </pluginExecutionFilter>
341 <pluginExecutionFilter>
342 <groupId>org.apache.maven.plugins</groupId>
343 <artifactId>maven-enforcer-plugin</artifactId>
344 <versionRange>${enforcer.version}</versionRange>
348 </pluginExecutionFilter>
354 </lifecycleMappingMetadata>
358 <groupId>org.apache.maven.plugins</groupId>
359 <artifactId>maven-failsafe-plugin</artifactId>
361 <!-- Specific to generate mapping between tests and covered code -->
362 <argLine>${jacoco.agent.it.arg}</argLine>
365 <name>listener</name>
366 <value>org.sonar.java.jacoco.JUnitListener</value>
369 <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
370 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
374 <groupId>org.apache.maven.plugins</groupId>
375 <artifactId>maven-surefire-plugin</artifactId>
377 <!-- Specific to generate mapping between tests and covered code -->
378 <argLine>${jacoco.agent.ut.arg}</argLine>
381 <name>listener</name>
382 <value>org.sonar.java.jacoco.JUnitListener</value>
393 <id>findbugsReport</id>
397 <groupId>org.apache.maven.plugins</groupId>
398 <artifactId>maven-project-info-reports-plugin</artifactId>
399 <version>2.7</version>
401 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
402 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
407 <report>index</report>
408 <report>project-team</report>
409 <report>license</report>
410 <report>mailing-list</report>
411 <report>plugin-management</report>
413 <report>issue-tracking</report>
415 <report>summary</report>
421 <groupId>org.codehaus.mojo</groupId>
422 <artifactId>findbugs-maven-plugin</artifactId>
423 <version>2.5.2</version>
426 <groupId>org.apache.maven.plugins</groupId>
427 <artifactId>maven-pmd-plugin</artifactId>
428 <version>3.0.1</version>
431 <groupId>org.apache.maven.plugins</groupId>
432 <artifactId>maven-jxr-plugin</artifactId>
433 <version>2.3</version>