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>
63 <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
64 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
65 <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
66 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
67 <sonar.profile>Sonar way with Findbugs</sonar.profile>
69 <karaf.distro.empty.version>1.5.0-SNAPSHOT</karaf.distro.empty.version>
70 <yang.binding.version>0.7.0-SNAPSHOT</yang.binding.version>
71 <dlux.version>0.2.0-SNAPSHOT</dlux.version>
72 <config.version>0.3.0-SNAPSHOT</config.version>
73 <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
74 <opendaylight-l2-types.version>2013.08.27.7-SNAPSHOT</opendaylight-l2-types.version>
75 <ietf-yang-types.version>2010.09.24.7-SNAPSHOT</ietf-yang-types.version>
76 <ietf-inet-types.version>2010.09.24.7-SNAPSHOT</ietf-inet-types.version>
77 <yang-ext.version>2013.09.07.7-SNAPSHOT</yang-ext.version>
80 <dependencyManagement>
83 <groupId>org.opendaylight.yangtools</groupId>
84 <artifactId>yang-binding</artifactId>
85 <version>${yang.binding.version}</version>
88 <groupId>org.opendaylight.yangtools</groupId>
89 <artifactId>yang-common</artifactId>
90 <version>${yang.binding.version}</version>
93 <groupId>org.opendaylight.yangtools.model</groupId>
94 <artifactId>ietf-inet-types</artifactId>
95 <version>${ietf-inet-types.version}</version>
98 <groupId>org.opendaylight.yangtools.model</groupId>
99 <artifactId>ietf-yang-types</artifactId>
100 <version>${ietf-yang-types.version}</version>
103 <groupId>org.opendaylight.yangtools.model</groupId>
104 <artifactId>yang-ext</artifactId>
105 <version>${yang-ext.version}</version>
108 <groupId>org.opendaylight.yangtools.model</groupId>
109 <artifactId>opendaylight-l2-types</artifactId>
110 <version>${opendaylight-l2-types.version}</version>
114 <groupId>org.opendaylight.openflowplugin</groupId>
115 <artifactId>openflowplugin-api</artifactId>
116 <version>${project.version}</version>
119 <groupId>org.opendaylight.openflowjava</groupId>
120 <artifactId>openflow-protocol-impl</artifactId>
121 <version>${openflowjava.version}</version>
124 <groupId>org.opendaylight.openflowjava</groupId>
125 <artifactId>openflow-protocol-api</artifactId>
126 <version>${openflowjava.version}</version>
129 <groupId>org.opendaylight.openflowjava</groupId>
130 <artifactId>openflow-protocol-spi</artifactId>
131 <version>${openflowjava.version}</version>
134 <groupId>org.opendaylight.openflowjava</groupId>
135 <artifactId>util</artifactId>
136 <version>${openflowjava.version}</version>
139 <groupId>org.opendaylight.openflowjava</groupId>
140 <artifactId>simple-client</artifactId>
141 <version>${openflowjava.version}</version>
144 <groupId>org.opendaylight.controller.model</groupId>
145 <artifactId>model-flow-base</artifactId>
146 <version>${controller.model.version}</version>
149 <groupId>org.opendaylight.controller.model</groupId>
150 <artifactId>model-flow-service</artifactId>
151 <version>${controller.model.version}</version>
154 <groupId>org.opendaylight.controller.model</groupId>
155 <artifactId>model-flow-statistics</artifactId>
156 <version>${controller.model.version}</version>
159 <groupId>org.opendaylight.controller.model</groupId>
160 <artifactId>model-inventory</artifactId>
161 <version>${controller.model.version}</version>
164 <groupId>org.opendaylight.controller.model</groupId>
165 <artifactId>model-topology</artifactId>
166 <version>${controller.model.version}</version>
170 <groupId>org.opendaylight.controller</groupId>
171 <artifactId>sal-binding-api</artifactId>
172 <version>${controller.model.version}</version>
175 <groupId>org.opendaylight.controller</groupId>
176 <artifactId>sal-binding-config</artifactId>
177 <version>${controller.model.version}</version>
180 <groupId>org.opendaylight.controller</groupId>
181 <artifactId>sal-binding-util</artifactId>
182 <version>${controller.model.version}</version>
186 <groupId>org.opendaylight.controller</groupId>
187 <artifactId>liblldp</artifactId>
188 <version>${sal.api.version}</version>
191 <groupId>org.opendaylight.controller</groupId>
192 <artifactId>sal-common-util</artifactId>
193 <version>${controller.model.version}</version>
197 <groupId>org.opendaylight.controller</groupId>
198 <artifactId>sal-common-util</artifactId>
199 <version>${sal.common.util.version}</version>
202 <groupId>org.opendaylight.controller</groupId>
203 <artifactId>config-netconf-connector</artifactId>
204 <version>${netconf.parent.version}</version>
207 <groupId>org.opendaylight.controller</groupId>
208 <artifactId>sal-binding-it</artifactId>
209 <version>${controller.model.version}</version>
212 <groupId>org.opendaylight.controller</groupId>
213 <artifactId>sal-binding-broker-impl</artifactId>
214 <version>${controller.model.version}</version>
217 <groupId>org.opendaylight.controller</groupId>
218 <artifactId>config-manager</artifactId>
219 <version>${config.parent.version}</version>
222 <groupId>org.opendaylight.controller</groupId>
223 <artifactId>config-api</artifactId>
224 <version>${config.parent.version}</version>
227 <groupId>org.opendaylight.yangtools.thirdparty</groupId>
228 <artifactId>antlr4-runtime-osgi-nohead</artifactId>
229 <version>4.0</version>
232 <groupId>org.opendaylight.controller</groupId>
233 <artifactId>logback-config</artifactId>
234 <version>${config.parent.version}</version>
237 <groupId>org.opendaylight.controller</groupId>
238 <artifactId>config-persister-api</artifactId>
239 <version>${config.parent.version}</version>
242 <groupId>org.opendaylight.controller</groupId>
243 <artifactId>config-persister-impl</artifactId>
244 <version>${config.parent.version}</version>
247 <groupId>org.opendaylight.controller</groupId>
248 <artifactId>config-persister-file-xml-adapter</artifactId>
249 <version>${config.parent.version}</version>
252 <groupId>org.opendaylight.controller</groupId>
253 <artifactId>netconf-monitoring</artifactId>
254 <version>${netconf.parent.version}</version>
257 <groupId>org.opendaylight.controller</groupId>
258 <artifactId>netconf-client</artifactId>
259 <version>${netconf.parent.version}</version>
262 <groupId>org.opendaylight.controller</groupId>
263 <artifactId>netconf-impl</artifactId>
264 <version>${netconf.parent.version}</version>
269 <groupId>org.openexi</groupId>
270 <artifactId>nagasena</artifactId>
271 <version>${exi.nagasena.version}</version>
274 <groupId>org.openexi</groupId>
275 <artifactId>nagasena-rta</artifactId>
276 <version>${exi.nagasena.version}</version>
279 <groupId>xml-apis</groupId>
280 <artifactId>xml-apis</artifactId>
281 <version>1.4.01</version>
284 </dependencyManagement>
289 <groupId>org.codehaus.sonar-plugins.java</groupId>
290 <artifactId>sonar-jacoco-listeners</artifactId>
291 <version>${sonar-jacoco-listeners.version}</version>
299 <groupId>org.codehaus.mojo</groupId>
300 <artifactId>build-helper-maven-plugin</artifactId>
303 <groupId>org.jacoco</groupId>
304 <artifactId>jacoco-maven-plugin</artifactId>
307 <id>prepare-ut-agent</id>
308 <phase>process-test-classes</phase>
310 <goal>prepare-agent</goal>
313 <destFile>${sonar.jacoco.reportPath}</destFile>
314 <propertyName>jacoco.agent.ut.arg</propertyName>
318 <id>prepare-it-agent</id>
319 <phase>pre-integration-test</phase>
321 <goal>prepare-agent</goal>
324 <destFile>${sonar.jacoco.itReportPath}</destFile>
325 <propertyName>jacoco.agent.it.arg</propertyName>
332 <include>org.opendaylight.openflowplugin.*</include>
342 <groupId>org.apache.maven.plugins</groupId>
343 <artifactId>maven-compiler-plugin</artifactId>
350 <groupId>org.ops4j.pax.exam</groupId>
351 <artifactId>maven-paxexam-plugin</artifactId>
352 <version>1.2.4</version>
355 <artifactId>maven-clean-plugin</artifactId>
359 <directory>${jmxGeneratorPath}</directory>
361 <include>**</include>
365 <directory>${salGeneratorPath}</directory>
367 <include>**</include>
374 <groupId>org.codehaus.mojo</groupId>
375 <artifactId>build-helper-maven-plugin</artifactId>
376 <version>${build.helper.version}</version>
380 <phase>generate-sources</phase>
382 <goal>add-source</goal>
386 <source>${jmxGeneratorPath}</source>
387 <source>${salGeneratorPath}</source>
394 <groupId>org.opendaylight.yangtools</groupId>
395 <artifactId>yang-maven-plugin</artifactId>
396 <version>${yang.binding.version}</version>
399 <groupId>org.apache.felix</groupId>
400 <artifactId>maven-bundle-plugin</artifactId>
401 <version>${maven.bundle.version}</version>
402 <extensions>true</extensions>
405 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
407 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
410 <!-- Ignore/Execute plugin execution -->
412 <groupId>org.eclipse.m2e</groupId>
413 <artifactId>lifecycle-mapping</artifactId>
414 <version>1.0.0</version>
416 <lifecycleMappingMetadata>
419 <pluginExecutionFilter>
420 <groupId>org.codehaus.mojo</groupId>
421 <artifactId>properties-maven-plugin</artifactId>
422 <versionRange>[0.0,)</versionRange>
424 <goal>set-system-properties</goal>
426 </pluginExecutionFilter>
432 <pluginExecutionFilter>
433 <groupId>org.codehaus.enunciate</groupId>
434 <artifactId>maven-enunciate-plugin</artifactId>
435 <versionRange>[0.0,)</versionRange>
439 </pluginExecutionFilter>
445 <pluginExecutionFilter>
446 <groupId>org.jacoco</groupId>
447 <artifactId>jacoco-maven-plugin</artifactId>
448 <versionRange>[0.0,)</versionRange>
450 <goal>prepare-agent</goal>
451 <goal>pre-test</goal>
452 <goal>post-test</goal>
454 </pluginExecutionFilter>
460 <pluginExecutionFilter>
461 <groupId>org.ops4j.pax.exam</groupId>
462 <artifactId>maven-paxexam-plugin</artifactId>
463 <versionRange>[1.2.4,)</versionRange>
465 <goal>generate-depends-file</goal>
467 </pluginExecutionFilter>
470 <runOnIncremental>false</runOnIncremental>
475 <pluginExecutionFilter>
476 <groupId>org.apache.maven.plugins</groupId>
477 <artifactId>maven-checkstyle-plugin</artifactId>
478 <versionRange>[2.0,)</versionRange>
482 </pluginExecutionFilter>
488 <pluginExecutionFilter>
489 <groupId>org.opendaylight.yangtools</groupId>
490 <artifactId>yang-maven-plugin</artifactId>
491 <versionRange>[0.5,)</versionRange>
493 <goal>generate-sources</goal>
495 </pluginExecutionFilter>
501 <pluginExecutionFilter>
502 <groupId>org.codehaus.groovy.maven</groupId>
503 <artifactId>gmaven-plugin</artifactId>
504 <versionRange>1.0</versionRange>
508 </pluginExecutionFilter>
514 <pluginExecutionFilter>
515 <groupId>org.apache.maven.plugins</groupId>
516 <artifactId>maven-enforcer-plugin</artifactId>
517 <versionRange>${enforcer.version}</versionRange>
521 </pluginExecutionFilter>
527 </lifecycleMappingMetadata>
531 <groupId>org.apache.maven.plugins</groupId>
532 <artifactId>maven-failsafe-plugin</artifactId>
534 <!-- Specific to generate mapping between tests and covered code -->
535 <argLine>${jacoco.agent.it.arg}</argLine>
538 <name>listener</name>
539 <value>org.sonar.java.jacoco.JUnitListener</value>
542 <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
543 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
547 <groupId>org.apache.maven.plugins</groupId>
548 <artifactId>maven-surefire-plugin</artifactId>
550 <!-- Specific to generate mapping between tests and covered code -->
551 <argLine>${jacoco.agent.ut.arg}</argLine>
554 <name>listener</name>
555 <value>org.sonar.java.jacoco.JUnitListener</value>
566 <id>findbugsReport</id>
570 <groupId>org.apache.maven.plugins</groupId>
571 <artifactId>maven-project-info-reports-plugin</artifactId>
572 <version>2.7</version>
574 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
575 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
580 <report>index</report>
581 <report>project-team</report>
582 <report>license</report>
583 <report>mailing-list</report>
584 <report>plugin-management</report>
586 <report>issue-tracking</report>
588 <report>summary</report>
594 <groupId>org.codehaus.mojo</groupId>
595 <artifactId>findbugs-maven-plugin</artifactId>
596 <version>2.5.2</version>
599 <groupId>org.apache.maven.plugins</groupId>
600 <artifactId>maven-pmd-plugin</artifactId>
601 <version>3.0.1</version>
604 <groupId>org.apache.maven.plugins</groupId>
605 <artifactId>maven-jxr-plugin</artifactId>
606 <version>2.3</version>
613 <id>nsf-migration</id>
615 <activeByDefault>false</activeByDefault>
617 <exists>${basedir}/migrationStep.1</exists>
622 <!-- TODO: pull out into parent -->
623 <openflowplugin.model.version>${project.version}</openflowplugin.model.version>
626 <dependencyManagement>
627 <!-- TODO: pull out into parent -->
630 <groupId>org.opendaylight.openflowplugin.model</groupId>
631 <artifactId>model-flow-base</artifactId>
632 <version>${openflowplugin.model.version}</version>
635 <groupId>org.opendaylight.openflowplugin.model</groupId>
636 <artifactId>model-flow-service</artifactId>
637 <version>${openflowplugin.model.version}</version>
640 <groupId>org.opendaylight.openflowplugin.model</groupId>
641 <artifactId>model-flow-statistics</artifactId>
642 <version>${openflowplugin.model.version}</version>
645 <!-- excluding old models pulled as transient dependencies
648 <groupId>org.opendaylight.openflowplugin</groupId>
649 <artifactId>openflowplugin-api</artifactId>
650 <version>${project.version}</version>
653 <groupId>org.opendaylight.controller.model</groupId>
654 <artifactId>model-flow-base</artifactId>
657 <groupId>org.opendaylight.controller.model</groupId>
658 <artifactId>model-flow-service</artifactId>
661 <groupId>org.opendaylight.controller.model</groupId>
662 <artifactId>model-flow-statistics</artifactId>
667 <groupId>org.opendaylight.controller</groupId>
668 <artifactId>sal-binding-broker-impl</artifactId>
669 <version>${controller.model.version}</version>
672 <groupId>org.opendaylight.controller.model</groupId>
673 <artifactId>model-flow-base</artifactId>
676 <groupId>org.opendaylight.controller.model</groupId>
677 <artifactId>model-flow-service</artifactId>
680 <groupId>org.opendaylight.controller.model</groupId>
681 <artifactId>model-flow-statistics</artifactId>
687 </dependencyManagement>
694 <id>opendaylight-snapshot</id>
695 <name>opendaylight-snapshot</name>
696 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</url>
698 <enabled>false</enabled>
704 <url>http://nexus.opendaylight.org/content/groups/public</url>
706 <enabled>false</enabled>
714 <id>opendaylight-central</id>
715 <name>opendaylight-central</name>
716 <url>http://nexus.opendaylight.org/content/repositories/public</url>
718 <enabled>false</enabled>
722 <id>opendaylight-snapshot</id>
723 <name>central2</name>
724 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</url>
726 <enabled>false</enabled>
729 </pluginRepositories>
732 <module>openflowplugin-api</module>
733 <module>openflowplugin</module>
734 <module>extension</module>
735 <module>distribution/base</module>
736 <module>distribution/cbench</module>
737 <module>distribution/karaf</module>
738 <module>openflowplugin-controller-config</module>
739 <module>openflowplugin-it</module>
740 <module>test-provider</module>
741 <module>drop-test</module>
742 <module>drop-test-karaf</module>
743 <module>test-common</module>
744 <module>features</module>
745 <module>samples/sample-consumer</module>
746 <module>samples/learning-switch</module>
747 <module>applications</module>
748 <module>model</module>
749 <module>legacy</module>