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 <mdsal.version>1.2.0-SNAPSHOT</mdsal.version>
48 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
49 <openflowjava.version>0.6.0-SNAPSHOT</openflowjava.version>
50 <controller.model.version>1.2.0-SNAPSHOT</controller.model.version>
51 <sal.api.version>0.9.0-SNAPSHOT</sal.api.version>
52 <sal.connection.api.version>0.2.0-SNAPSHOT</sal.connection.api.version>
53 <sal.common.util.version>1.2.0-SNAPSHOT</sal.common.util.version>
54 <netconf.parent.version>0.3.0-SNAPSHOT</netconf.parent.version>
55 <config.parent.version>0.3.0-SNAPSHOT</config.parent.version>
56 <build.helper.version>1.8</build.helper.version>
57 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
58 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
59 <exi.nagasena.version>0000.0002.0038.0</exi.nagasena.version>
60 <controller.distribution.version>0.2.0-SNAPSHOT</controller.distribution.version>
61 <features.test.version>1.5.0-SNAPSHOT</features.test.version>
64 <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
65 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
66 <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
67 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
68 <sonar.profile>Sonar way with Findbugs</sonar.profile>
70 <karaf.distro.empty.version>1.5.0-SNAPSHOT</karaf.distro.empty.version>
71 <yang.binding.version>0.7.0-SNAPSHOT</yang.binding.version>
72 <dlux.version>0.2.0-SNAPSHOT</dlux.version>
73 <config.version>0.3.0-SNAPSHOT</config.version>
74 <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
75 <opendaylight-l2-types.version>2013.08.27.7-SNAPSHOT</opendaylight-l2-types.version>
76 <ietf-yang-types.version>2010.09.24.7-SNAPSHOT</ietf-yang-types.version>
77 <ietf-inet-types.version>2010.09.24.7-SNAPSHOT</ietf-inet-types.version>
78 <yang-ext.version>2013.09.07.7-SNAPSHOT</yang-ext.version>
81 <dependencyManagement>
84 <groupId>org.opendaylight.yangtools</groupId>
85 <artifactId>yang-binding</artifactId>
86 <version>${yang.binding.version}</version>
89 <groupId>org.opendaylight.yangtools</groupId>
90 <artifactId>yang-common</artifactId>
91 <version>${yang.binding.version}</version>
94 <groupId>org.opendaylight.yangtools.model</groupId>
95 <artifactId>ietf-inet-types</artifactId>
96 <version>${ietf-inet-types.version}</version>
99 <groupId>org.opendaylight.yangtools.model</groupId>
100 <artifactId>ietf-yang-types</artifactId>
101 <version>${ietf-yang-types.version}</version>
104 <groupId>org.opendaylight.yangtools.model</groupId>
105 <artifactId>yang-ext</artifactId>
106 <version>${yang-ext.version}</version>
109 <groupId>org.opendaylight.yangtools.model</groupId>
110 <artifactId>opendaylight-l2-types</artifactId>
111 <version>${opendaylight-l2-types.version}</version>
115 <groupId>org.opendaylight.openflowplugin</groupId>
116 <artifactId>openflowplugin-api</artifactId>
117 <version>${project.version}</version>
120 <groupId>org.opendaylight.openflowjava</groupId>
121 <artifactId>openflow-protocol-impl</artifactId>
122 <version>${openflowjava.version}</version>
125 <groupId>org.opendaylight.openflowjava</groupId>
126 <artifactId>openflow-protocol-api</artifactId>
127 <version>${openflowjava.version}</version>
130 <groupId>org.opendaylight.openflowjava</groupId>
131 <artifactId>openflow-protocol-spi</artifactId>
132 <version>${openflowjava.version}</version>
135 <groupId>org.opendaylight.openflowjava</groupId>
136 <artifactId>util</artifactId>
137 <version>${openflowjava.version}</version>
140 <groupId>org.opendaylight.openflowjava</groupId>
141 <artifactId>simple-client</artifactId>
142 <version>${openflowjava.version}</version>
145 <groupId>org.opendaylight.controller.model</groupId>
146 <artifactId>model-flow-base</artifactId>
147 <version>${controller.model.version}</version>
150 <groupId>org.opendaylight.controller.model</groupId>
151 <artifactId>model-flow-service</artifactId>
152 <version>${controller.model.version}</version>
155 <groupId>org.opendaylight.controller.model</groupId>
156 <artifactId>model-flow-statistics</artifactId>
157 <version>${controller.model.version}</version>
160 <groupId>org.opendaylight.controller.model</groupId>
161 <artifactId>model-inventory</artifactId>
162 <version>${controller.model.version}</version>
165 <groupId>org.opendaylight.controller.model</groupId>
166 <artifactId>model-topology</artifactId>
167 <version>${controller.model.version}</version>
171 <groupId>org.opendaylight.controller</groupId>
172 <artifactId>sal-binding-api</artifactId>
173 <version>${controller.model.version}</version>
176 <groupId>org.opendaylight.controller</groupId>
177 <artifactId>sal-binding-config</artifactId>
178 <version>${controller.model.version}</version>
181 <groupId>org.opendaylight.controller</groupId>
182 <artifactId>sal-binding-util</artifactId>
183 <version>${controller.model.version}</version>
187 <groupId>org.opendaylight.controller</groupId>
188 <artifactId>liblldp</artifactId>
189 <version>${sal.api.version}</version>
192 <groupId>org.opendaylight.controller</groupId>
193 <artifactId>sal-common-util</artifactId>
194 <version>${controller.model.version}</version>
198 <groupId>org.opendaylight.controller</groupId>
199 <artifactId>sal-common-util</artifactId>
200 <version>${sal.common.util.version}</version>
203 <groupId>org.opendaylight.controller</groupId>
204 <artifactId>config-netconf-connector</artifactId>
205 <version>${netconf.parent.version}</version>
208 <groupId>org.opendaylight.controller</groupId>
209 <artifactId>sal-binding-it</artifactId>
210 <version>${controller.model.version}</version>
213 <groupId>org.opendaylight.controller</groupId>
214 <artifactId>sal-binding-broker-impl</artifactId>
215 <version>${controller.model.version}</version>
218 <groupId>org.opendaylight.controller</groupId>
219 <artifactId>config-manager</artifactId>
220 <version>${config.parent.version}</version>
223 <groupId>org.opendaylight.controller</groupId>
224 <artifactId>config-api</artifactId>
225 <version>${config.parent.version}</version>
228 <groupId>org.opendaylight.yangtools.thirdparty</groupId>
229 <artifactId>antlr4-runtime-osgi-nohead</artifactId>
230 <version>4.0</version>
233 <groupId>org.opendaylight.controller</groupId>
234 <artifactId>logback-config</artifactId>
235 <version>${config.parent.version}</version>
238 <groupId>org.opendaylight.controller</groupId>
239 <artifactId>config-persister-api</artifactId>
240 <version>${config.parent.version}</version>
243 <groupId>org.opendaylight.controller</groupId>
244 <artifactId>config-persister-impl</artifactId>
245 <version>${config.parent.version}</version>
248 <groupId>org.opendaylight.controller</groupId>
249 <artifactId>config-persister-file-xml-adapter</artifactId>
250 <version>${config.parent.version}</version>
253 <groupId>org.opendaylight.controller</groupId>
254 <artifactId>netconf-monitoring</artifactId>
255 <version>${netconf.parent.version}</version>
258 <groupId>org.opendaylight.controller</groupId>
259 <artifactId>netconf-client</artifactId>
260 <version>${netconf.parent.version}</version>
263 <groupId>org.opendaylight.controller</groupId>
264 <artifactId>netconf-impl</artifactId>
265 <version>${netconf.parent.version}</version>
269 <groupId>org.opendaylight.odlparent</groupId>
270 <artifactId>features-test</artifactId>
271 <version>${features.test.version}</version>
276 <groupId>org.openexi</groupId>
277 <artifactId>nagasena</artifactId>
278 <version>${exi.nagasena.version}</version>
281 <groupId>org.openexi</groupId>
282 <artifactId>nagasena-rta</artifactId>
283 <version>${exi.nagasena.version}</version>
286 <groupId>xml-apis</groupId>
287 <artifactId>xml-apis</artifactId>
288 <version>1.4.01</version>
291 </dependencyManagement>
296 <groupId>org.codehaus.sonar-plugins.java</groupId>
297 <artifactId>sonar-jacoco-listeners</artifactId>
298 <version>${sonar-jacoco-listeners.version}</version>
306 <groupId>org.codehaus.mojo</groupId>
307 <artifactId>build-helper-maven-plugin</artifactId>
310 <groupId>org.jacoco</groupId>
311 <artifactId>jacoco-maven-plugin</artifactId>
314 <id>prepare-ut-agent</id>
315 <phase>process-test-classes</phase>
317 <goal>prepare-agent</goal>
320 <destFile>${sonar.jacoco.reportPath}</destFile>
321 <propertyName>jacoco.agent.ut.arg</propertyName>
325 <id>prepare-it-agent</id>
326 <phase>pre-integration-test</phase>
328 <goal>prepare-agent</goal>
331 <destFile>${sonar.jacoco.itReportPath}</destFile>
332 <propertyName>jacoco.agent.it.arg</propertyName>
339 <include>org.opendaylight.openflowplugin.*</include>
349 <groupId>org.apache.maven.plugins</groupId>
350 <artifactId>maven-compiler-plugin</artifactId>
357 <groupId>org.ops4j.pax.exam</groupId>
358 <artifactId>maven-paxexam-plugin</artifactId>
359 <version>1.2.4</version>
362 <artifactId>maven-clean-plugin</artifactId>
366 <directory>${jmxGeneratorPath}</directory>
368 <include>**</include>
372 <directory>${salGeneratorPath}</directory>
374 <include>**</include>
381 <groupId>org.codehaus.mojo</groupId>
382 <artifactId>build-helper-maven-plugin</artifactId>
383 <version>${build.helper.version}</version>
387 <phase>generate-sources</phase>
389 <goal>add-source</goal>
393 <source>${jmxGeneratorPath}</source>
394 <source>${salGeneratorPath}</source>
401 <groupId>org.opendaylight.yangtools</groupId>
402 <artifactId>yang-maven-plugin</artifactId>
403 <version>${yang.binding.version}</version>
406 <groupId>org.apache.felix</groupId>
407 <artifactId>maven-bundle-plugin</artifactId>
408 <version>${maven.bundle.version}</version>
409 <extensions>true</extensions>
412 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
414 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
417 <!-- Ignore/Execute plugin execution -->
419 <groupId>org.eclipse.m2e</groupId>
420 <artifactId>lifecycle-mapping</artifactId>
421 <version>1.0.0</version>
423 <lifecycleMappingMetadata>
426 <pluginExecutionFilter>
427 <groupId>org.codehaus.mojo</groupId>
428 <artifactId>properties-maven-plugin</artifactId>
429 <versionRange>[0.0,)</versionRange>
431 <goal>set-system-properties</goal>
433 </pluginExecutionFilter>
439 <pluginExecutionFilter>
440 <groupId>org.codehaus.enunciate</groupId>
441 <artifactId>maven-enunciate-plugin</artifactId>
442 <versionRange>[0.0,)</versionRange>
446 </pluginExecutionFilter>
452 <pluginExecutionFilter>
453 <groupId>org.jacoco</groupId>
454 <artifactId>jacoco-maven-plugin</artifactId>
455 <versionRange>[0.0,)</versionRange>
457 <goal>prepare-agent</goal>
458 <goal>pre-test</goal>
459 <goal>post-test</goal>
461 </pluginExecutionFilter>
467 <pluginExecutionFilter>
468 <groupId>org.ops4j.pax.exam</groupId>
469 <artifactId>maven-paxexam-plugin</artifactId>
470 <versionRange>[1.2.4,)</versionRange>
472 <goal>generate-depends-file</goal>
474 </pluginExecutionFilter>
477 <runOnIncremental>false</runOnIncremental>
482 <pluginExecutionFilter>
483 <groupId>org.apache.maven.plugins</groupId>
484 <artifactId>maven-checkstyle-plugin</artifactId>
485 <versionRange>[2.0,)</versionRange>
489 </pluginExecutionFilter>
495 <pluginExecutionFilter>
496 <groupId>org.opendaylight.yangtools</groupId>
497 <artifactId>yang-maven-plugin</artifactId>
498 <versionRange>[0.5,)</versionRange>
500 <goal>generate-sources</goal>
502 </pluginExecutionFilter>
508 <pluginExecutionFilter>
509 <groupId>org.codehaus.groovy.maven</groupId>
510 <artifactId>gmaven-plugin</artifactId>
511 <versionRange>1.0</versionRange>
515 </pluginExecutionFilter>
521 <pluginExecutionFilter>
522 <groupId>org.apache.maven.plugins</groupId>
523 <artifactId>maven-enforcer-plugin</artifactId>
524 <versionRange>${enforcer.version}</versionRange>
528 </pluginExecutionFilter>
534 </lifecycleMappingMetadata>
538 <groupId>org.apache.maven.plugins</groupId>
539 <artifactId>maven-failsafe-plugin</artifactId>
541 <!-- Specific to generate mapping between tests and covered code -->
542 <argLine>${jacoco.agent.it.arg}</argLine>
545 <name>listener</name>
546 <value>org.sonar.java.jacoco.JUnitListener</value>
549 <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
550 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
554 <groupId>org.apache.maven.plugins</groupId>
555 <artifactId>maven-surefire-plugin</artifactId>
557 <!-- Specific to generate mapping between tests and covered code -->
558 <argLine>${jacoco.agent.ut.arg}</argLine>
561 <name>listener</name>
562 <value>org.sonar.java.jacoco.JUnitListener</value>
573 <id>findbugsReport</id>
577 <groupId>org.apache.maven.plugins</groupId>
578 <artifactId>maven-project-info-reports-plugin</artifactId>
579 <version>2.7</version>
581 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
582 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
587 <report>index</report>
588 <report>project-team</report>
589 <report>license</report>
590 <report>mailing-list</report>
591 <report>plugin-management</report>
593 <report>issue-tracking</report>
595 <report>summary</report>
601 <groupId>org.codehaus.mojo</groupId>
602 <artifactId>findbugs-maven-plugin</artifactId>
603 <version>2.5.2</version>
606 <groupId>org.apache.maven.plugins</groupId>
607 <artifactId>maven-pmd-plugin</artifactId>
608 <version>3.0.1</version>
611 <groupId>org.apache.maven.plugins</groupId>
612 <artifactId>maven-jxr-plugin</artifactId>
613 <version>2.3</version>
620 <id>nsf-migration</id>
622 <activeByDefault>false</activeByDefault>
624 <exists>${basedir}/migrationStep.1</exists>
629 <!-- TODO: pull out into parent -->
630 <openflowplugin.model.version>${project.version}</openflowplugin.model.version>
633 <dependencyManagement>
634 <!-- TODO: pull out into parent -->
637 <groupId>org.opendaylight.openflowplugin.model</groupId>
638 <artifactId>model-flow-base</artifactId>
639 <version>${openflowplugin.model.version}</version>
642 <groupId>org.opendaylight.openflowplugin.model</groupId>
643 <artifactId>model-flow-service</artifactId>
644 <version>${openflowplugin.model.version}</version>
647 <groupId>org.opendaylight.openflowplugin.model</groupId>
648 <artifactId>model-flow-statistics</artifactId>
649 <version>${openflowplugin.model.version}</version>
652 <!-- excluding old models pulled as transient dependencies
655 <groupId>org.opendaylight.openflowplugin</groupId>
656 <artifactId>openflowplugin-api</artifactId>
657 <version>${project.version}</version>
660 <groupId>org.opendaylight.controller.model</groupId>
661 <artifactId>model-flow-base</artifactId>
664 <groupId>org.opendaylight.controller.model</groupId>
665 <artifactId>model-flow-service</artifactId>
668 <groupId>org.opendaylight.controller.model</groupId>
669 <artifactId>model-flow-statistics</artifactId>
674 <groupId>org.opendaylight.controller</groupId>
675 <artifactId>sal-binding-broker-impl</artifactId>
676 <version>${controller.model.version}</version>
679 <groupId>org.opendaylight.controller.model</groupId>
680 <artifactId>model-flow-base</artifactId>
683 <groupId>org.opendaylight.controller.model</groupId>
684 <artifactId>model-flow-service</artifactId>
687 <groupId>org.opendaylight.controller.model</groupId>
688 <artifactId>model-flow-statistics</artifactId>
694 </dependencyManagement>
700 <module>openflowplugin-api</module>
701 <module>openflowplugin</module>
702 <module>extension</module>
703 <module>distribution/base</module>
704 <module>distribution/cbench</module>
705 <module>distribution/karaf</module>
706 <module>openflowplugin-controller-config</module>
707 <module>openflowplugin-it</module>
708 <module>test-provider</module>
709 <module>drop-test</module>
710 <module>drop-test-karaf</module>
711 <module>test-common</module>
712 <module>features</module>
713 <module>samples/sample-consumer</module>
714 <module>samples/learning-switch</module>
715 <module>applications</module>
716 <module>model</module>
717 <module>legacy</module>