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.5.0-SNAPSHOT</version>
14 <groupId>org.opendaylight.openflowplugin</groupId>
15 <artifactId>openflowplugin-parent</artifactId>
16 <version>0.1.0-SNAPSHOT</version>
17 <name>openflowplugin</name> <!-- Used by Sonar to set project name -->
18 <packaging>pom</packaging>
21 <connection>scm:git:ssh://git.opendaylight.org:29418/openflowplugin.git</connection>
22 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/openflowplugin.git</developerConnection>
23 <url>https://wiki.opendaylight.org/view/OpenDaylight_OpenFlow_Plugin:Main</url>
27 <distributionManagement>
28 <!-- OpenDayLight Released artifact -->
30 <id>opendaylight-release</id>
31 <url>${nexusproxy}/repositories/opendaylight.release</url>
33 <!-- OpenDayLight Snapshot artifact -->
35 <id>opendaylight-snapshot</id>
36 <url>${nexusproxy}/repositories/opendaylight.snapshot</url>
38 <!-- Site deployment -->
41 <url>${sitedeploy}</url>
43 </distributionManagement>
46 <project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
47 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
48 <openflowjava.version>0.6.0-SNAPSHOT</openflowjava.version>
49 <openflowplugin.version>0.1.0-SNAPSHOT</openflowplugin.version>
50 <sal.api.version>0.9.0-SNAPSHOT</sal.api.version>
51 <build.helper.version>1.8</build.helper.version>
52 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
53 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
54 <exi.nagasena.version>0000.0002.0038.0</exi.nagasena.version>
55 <controller.distribution.version>0.2.0-SNAPSHOT</controller.distribution.version>
56 <features.test.version>1.5.0-SNAPSHOT</features.test.version>
59 <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
60 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
61 <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
62 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
63 <sonar.profile>Sonar way with Findbugs</sonar.profile>
65 <config.version>0.3.0-SNAPSHOT</config.version>
66 <mdsal.version>1.2.0-SNAPSHOT</mdsal.version>
67 <netconf.version>0.3.0-SNAPSHOT</netconf.version>
68 <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
70 <features.test.version>1.5.0-SNAPSHOT</features.test.version>
71 <karaf.distro.empty.version>1.5.0-SNAPSHOT</karaf.distro.empty.version>
72 <dlux.version>0.2.0-SNAPSHOT</dlux.version>
75 <dependencyManagement>
78 <groupId>org.opendaylight.openflowplugin</groupId>
79 <artifactId>openflowplugin-artifacts</artifactId>
80 <version>${openflowplugin.version}</version>
86 <groupId>org.opendaylight.yangtools</groupId>
87 <artifactId>yangtools-artifacts</artifactId>
88 <version>${yangtools.version}</version>
93 <groupId>org.opendaylight.controller</groupId>
94 <artifactId>config-artifacts</artifactId>
95 <version>${config.version}</version>
100 <groupId>org.opendaylight.controller</groupId>
101 <artifactId>mdsal-artifacts</artifactId>
102 <version>${mdsal.version}</version>
103 <scope>import</scope>
107 <groupId>org.opendaylight.controller</groupId>
108 <artifactId>netconf-artifacts</artifactId>
109 <version>${netconf.version}</version>
110 <scope>import</scope>
114 <groupId>org.opendaylight.openflowjava</groupId>
115 <artifactId>openflowjava-artifacts</artifactId>
116 <version>${openflowjava.version}</version>
117 <scope>import</scope>
121 <groupId>org.opendaylight.odlparent</groupId>
122 <artifactId>features-test</artifactId>
123 <version>${features.test.version}</version>
128 <groupId>org.opendaylight.controller</groupId>
129 <artifactId>liblldp</artifactId>
130 <version>${sal.api.version}</version>
135 <groupId>org.openexi</groupId>
136 <artifactId>nagasena</artifactId>
137 <version>${exi.nagasena.version}</version>
140 <groupId>org.openexi</groupId>
141 <artifactId>nagasena-rta</artifactId>
142 <version>${exi.nagasena.version}</version>
145 <groupId>xml-apis</groupId>
146 <artifactId>xml-apis</artifactId>
147 <version>1.4.01</version>
150 </dependencyManagement>
155 <groupId>org.codehaus.sonar-plugins.java</groupId>
156 <artifactId>sonar-jacoco-listeners</artifactId>
157 <version>${sonar-jacoco-listeners.version}</version>
165 <groupId>org.codehaus.mojo</groupId>
166 <artifactId>build-helper-maven-plugin</artifactId>
169 <groupId>org.jacoco</groupId>
170 <artifactId>jacoco-maven-plugin</artifactId>
173 <id>prepare-ut-agent</id>
174 <phase>process-test-classes</phase>
176 <goal>prepare-agent</goal>
179 <destFile>${sonar.jacoco.reportPath}</destFile>
180 <propertyName>jacoco.agent.ut.arg</propertyName>
184 <id>prepare-it-agent</id>
185 <phase>pre-integration-test</phase>
187 <goal>prepare-agent</goal>
190 <destFile>${sonar.jacoco.itReportPath}</destFile>
191 <propertyName>jacoco.agent.it.arg</propertyName>
198 <include>org.opendaylight.openflowplugin.*</include>
208 <groupId>org.apache.maven.plugins</groupId>
209 <artifactId>maven-compiler-plugin</artifactId>
216 <artifactId>maven-clean-plugin</artifactId>
220 <directory>${jmxGeneratorPath}</directory>
222 <include>**</include>
226 <directory>${salGeneratorPath}</directory>
228 <include>**</include>
235 <groupId>org.codehaus.mojo</groupId>
236 <artifactId>build-helper-maven-plugin</artifactId>
237 <version>${build.helper.version}</version>
241 <phase>generate-sources</phase>
243 <goal>add-source</goal>
247 <source>${jmxGeneratorPath}</source>
248 <source>${salGeneratorPath}</source>
255 <groupId>org.opendaylight.yangtools</groupId>
256 <artifactId>yang-maven-plugin</artifactId>
257 <version>${yangtools.version}</version>
260 <groupId>org.apache.felix</groupId>
261 <artifactId>maven-bundle-plugin</artifactId>
262 <version>${maven.bundle.version}</version>
263 <extensions>true</extensions>
266 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
268 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
271 <!-- Ignore/Execute plugin execution -->
273 <groupId>org.eclipse.m2e</groupId>
274 <artifactId>lifecycle-mapping</artifactId>
275 <version>1.0.0</version>
277 <lifecycleMappingMetadata>
280 <pluginExecutionFilter>
281 <groupId>org.codehaus.mojo</groupId>
282 <artifactId>properties-maven-plugin</artifactId>
283 <versionRange>[0.0,)</versionRange>
285 <goal>set-system-properties</goal>
287 </pluginExecutionFilter>
293 <pluginExecutionFilter>
294 <groupId>org.codehaus.enunciate</groupId>
295 <artifactId>maven-enunciate-plugin</artifactId>
296 <versionRange>[0.0,)</versionRange>
300 </pluginExecutionFilter>
306 <pluginExecutionFilter>
307 <groupId>org.jacoco</groupId>
308 <artifactId>jacoco-maven-plugin</artifactId>
309 <versionRange>[0.0,)</versionRange>
311 <goal>prepare-agent</goal>
312 <goal>pre-test</goal>
313 <goal>post-test</goal>
315 </pluginExecutionFilter>
321 <pluginExecutionFilter>
322 <groupId>org.ops4j.pax.exam</groupId>
323 <artifactId>maven-paxexam-plugin</artifactId>
324 <versionRange>[1.2.4,)</versionRange>
326 <goal>generate-depends-file</goal>
328 </pluginExecutionFilter>
331 <runOnIncremental>false</runOnIncremental>
336 <pluginExecutionFilter>
337 <groupId>org.apache.maven.plugins</groupId>
338 <artifactId>maven-checkstyle-plugin</artifactId>
339 <versionRange>[2.0,)</versionRange>
343 </pluginExecutionFilter>
349 <pluginExecutionFilter>
350 <groupId>org.opendaylight.yangtools</groupId>
351 <artifactId>yang-maven-plugin</artifactId>
352 <versionRange>[0.5,)</versionRange>
354 <goal>generate-sources</goal>
356 </pluginExecutionFilter>
362 <pluginExecutionFilter>
363 <groupId>org.codehaus.groovy.maven</groupId>
364 <artifactId>gmaven-plugin</artifactId>
365 <versionRange>1.0</versionRange>
369 </pluginExecutionFilter>
375 <pluginExecutionFilter>
376 <groupId>org.apache.maven.plugins</groupId>
377 <artifactId>maven-enforcer-plugin</artifactId>
378 <versionRange>${enforcer.version}</versionRange>
382 </pluginExecutionFilter>
388 </lifecycleMappingMetadata>
392 <groupId>org.apache.maven.plugins</groupId>
393 <artifactId>maven-failsafe-plugin</artifactId>
395 <!-- Specific to generate mapping between tests and covered code -->
396 <argLine>${jacoco.agent.it.arg}</argLine>
399 <name>listener</name>
400 <value>org.sonar.java.jacoco.JUnitListener</value>
403 <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
404 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
408 <groupId>org.apache.maven.plugins</groupId>
409 <artifactId>maven-surefire-plugin</artifactId>
411 <!-- Specific to generate mapping between tests and covered code -->
412 <argLine>${jacoco.agent.ut.arg}</argLine>
415 <name>listener</name>
416 <value>org.sonar.java.jacoco.JUnitListener</value>
427 <id>findbugsReport</id>
431 <groupId>org.apache.maven.plugins</groupId>
432 <artifactId>maven-project-info-reports-plugin</artifactId>
433 <version>2.7</version>
435 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
436 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
441 <report>index</report>
442 <report>project-team</report>
443 <report>license</report>
444 <report>mailing-list</report>
445 <report>plugin-management</report>
447 <report>issue-tracking</report>
449 <report>summary</report>
455 <groupId>org.codehaus.mojo</groupId>
456 <artifactId>findbugs-maven-plugin</artifactId>
457 <version>2.5.2</version>
460 <groupId>org.apache.maven.plugins</groupId>
461 <artifactId>maven-pmd-plugin</artifactId>
462 <version>3.0.1</version>
465 <groupId>org.apache.maven.plugins</groupId>
466 <artifactId>maven-jxr-plugin</artifactId>
467 <version>2.3</version>
475 <module>artifacts</module>
476 <module>openflowplugin-api</module>
477 <module>openflowplugin</module>
478 <module>openflowplugin-impl</module>
479 <module>extension</module>
480 <module>distribution/karaf</module>
481 <module>openflowplugin-controller-config</module>
482 <module>openflowplugin-it</module>
483 <module>test-provider</module>
484 <module>drop-test</module>
485 <module>drop-test-karaf</module>
486 <module>test-common</module>
487 <module>features</module>
488 <module>samples/sample-consumer</module>
489 <module>samples/learning-switch</module>
490 <module>applications</module>
491 <module>model</module>
492 <module>legacy</module>