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>org.opendaylight.controller.thirdparty</groupId>
280 <artifactId>ganymed</artifactId>
281 <version>1.2.0-SNAPSHOT</version>
284 <groupId>xml-apis</groupId>
285 <artifactId>xml-apis</artifactId>
286 <version>1.4.01</version>
289 </dependencyManagement>
294 <groupId>org.codehaus.sonar-plugins.java</groupId>
295 <artifactId>sonar-jacoco-listeners</artifactId>
296 <version>${sonar-jacoco-listeners.version}</version>
304 <groupId>org.codehaus.mojo</groupId>
305 <artifactId>build-helper-maven-plugin</artifactId>
308 <groupId>org.jacoco</groupId>
309 <artifactId>jacoco-maven-plugin</artifactId>
312 <id>prepare-ut-agent</id>
313 <phase>process-test-classes</phase>
315 <goal>prepare-agent</goal>
318 <destFile>${sonar.jacoco.reportPath}</destFile>
319 <propertyName>jacoco.agent.ut.arg</propertyName>
323 <id>prepare-it-agent</id>
324 <phase>pre-integration-test</phase>
326 <goal>prepare-agent</goal>
329 <destFile>${sonar.jacoco.itReportPath}</destFile>
330 <propertyName>jacoco.agent.it.arg</propertyName>
339 <groupId>org.apache.maven.plugins</groupId>
340 <artifactId>maven-compiler-plugin</artifactId>
347 <groupId>org.ops4j.pax.exam</groupId>
348 <artifactId>maven-paxexam-plugin</artifactId>
349 <version>1.2.4</version>
352 <artifactId>maven-clean-plugin</artifactId>
356 <directory>${jmxGeneratorPath}</directory>
358 <include>**</include>
362 <directory>${salGeneratorPath}</directory>
364 <include>**</include>
371 <groupId>org.codehaus.mojo</groupId>
372 <artifactId>build-helper-maven-plugin</artifactId>
373 <version>${build.helper.version}</version>
377 <phase>generate-sources</phase>
379 <goal>add-source</goal>
383 <source>${jmxGeneratorPath}</source>
384 <source>${salGeneratorPath}</source>
391 <groupId>org.opendaylight.yangtools</groupId>
392 <artifactId>yang-maven-plugin</artifactId>
393 <version>${yang.binding.version}</version>
396 <groupId>org.apache.felix</groupId>
397 <artifactId>maven-bundle-plugin</artifactId>
398 <version>${maven.bundle.version}</version>
399 <extensions>true</extensions>
402 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
404 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
407 <!-- Ignore/Execute plugin execution -->
409 <groupId>org.eclipse.m2e</groupId>
410 <artifactId>lifecycle-mapping</artifactId>
411 <version>1.0.0</version>
413 <lifecycleMappingMetadata>
416 <pluginExecutionFilter>
417 <groupId>org.codehaus.mojo</groupId>
418 <artifactId>properties-maven-plugin</artifactId>
419 <versionRange>[0.0,)</versionRange>
421 <goal>set-system-properties</goal>
423 </pluginExecutionFilter>
429 <pluginExecutionFilter>
430 <groupId>org.codehaus.enunciate</groupId>
431 <artifactId>maven-enunciate-plugin</artifactId>
432 <versionRange>[0.0,)</versionRange>
436 </pluginExecutionFilter>
442 <pluginExecutionFilter>
443 <groupId>org.jacoco</groupId>
444 <artifactId>jacoco-maven-plugin</artifactId>
445 <versionRange>[0.0,)</versionRange>
447 <goal>prepare-agent</goal>
448 <goal>pre-test</goal>
449 <goal>post-test</goal>
451 </pluginExecutionFilter>
457 <pluginExecutionFilter>
458 <groupId>org.ops4j.pax.exam</groupId>
459 <artifactId>maven-paxexam-plugin</artifactId>
460 <versionRange>[1.2.4,)</versionRange>
462 <goal>generate-depends-file</goal>
464 </pluginExecutionFilter>
467 <runOnIncremental>false</runOnIncremental>
472 <pluginExecutionFilter>
473 <groupId>org.apache.maven.plugins</groupId>
474 <artifactId>maven-checkstyle-plugin</artifactId>
475 <versionRange>[2.0,)</versionRange>
479 </pluginExecutionFilter>
485 <pluginExecutionFilter>
486 <groupId>org.opendaylight.yangtools</groupId>
487 <artifactId>yang-maven-plugin</artifactId>
488 <versionRange>[0.5,)</versionRange>
490 <goal>generate-sources</goal>
492 </pluginExecutionFilter>
498 <pluginExecutionFilter>
499 <groupId>org.codehaus.groovy.maven</groupId>
500 <artifactId>gmaven-plugin</artifactId>
501 <versionRange>1.0</versionRange>
505 </pluginExecutionFilter>
511 <pluginExecutionFilter>
512 <groupId>org.apache.maven.plugins</groupId>
513 <artifactId>maven-enforcer-plugin</artifactId>
514 <versionRange>${enforcer.version}</versionRange>
518 </pluginExecutionFilter>
524 </lifecycleMappingMetadata>
528 <groupId>org.apache.maven.plugins</groupId>
529 <artifactId>maven-failsafe-plugin</artifactId>
531 <!-- Specific to generate mapping between tests and covered code -->
532 <argLine>${jacoco.agent.it.arg}</argLine>
535 <name>listener</name>
536 <value>org.sonar.java.jacoco.JUnitListener</value>
539 <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
540 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
544 <groupId>org.apache.maven.plugins</groupId>
545 <artifactId>maven-surefire-plugin</artifactId>
547 <!-- Specific to generate mapping between tests and covered code -->
548 <argLine>${jacoco.agent.ut.arg}</argLine>
551 <name>listener</name>
552 <value>org.sonar.java.jacoco.JUnitListener</value>
563 <id>findbugsReport</id>
567 <groupId>org.apache.maven.plugins</groupId>
568 <artifactId>maven-project-info-reports-plugin</artifactId>
569 <version>2.7</version>
571 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
572 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
577 <report>index</report>
578 <report>project-team</report>
579 <report>license</report>
580 <report>mailing-list</report>
581 <report>plugin-management</report>
583 <report>issue-tracking</report>
585 <report>summary</report>
591 <groupId>org.codehaus.mojo</groupId>
592 <artifactId>findbugs-maven-plugin</artifactId>
593 <version>2.5.2</version>
596 <groupId>org.apache.maven.plugins</groupId>
597 <artifactId>maven-pmd-plugin</artifactId>
598 <version>3.0.1</version>
601 <groupId>org.apache.maven.plugins</groupId>
602 <artifactId>maven-jxr-plugin</artifactId>
603 <version>2.3</version>
610 <id>nsf-migration</id>
612 <activeByDefault>false</activeByDefault>
614 <exists>${basedir}/migrationStep.1</exists>
619 <!-- TODO: pull out into parent -->
620 <openflowplugin.model.version>${project.version}</openflowplugin.model.version>
623 <dependencyManagement>
624 <!-- TODO: pull out into parent -->
627 <groupId>org.opendaylight.openflowplugin.model</groupId>
628 <artifactId>model-flow-base</artifactId>
629 <version>${openflowplugin.model.version}</version>
632 <groupId>org.opendaylight.openflowplugin.model</groupId>
633 <artifactId>model-flow-service</artifactId>
634 <version>${openflowplugin.model.version}</version>
637 <groupId>org.opendaylight.openflowplugin.model</groupId>
638 <artifactId>model-flow-statistics</artifactId>
639 <version>${openflowplugin.model.version}</version>
642 <!-- excluding old models pulled as transient dependencies
645 <groupId>org.opendaylight.openflowplugin</groupId>
646 <artifactId>openflowplugin-api</artifactId>
647 <version>${project.version}</version>
650 <groupId>org.opendaylight.controller.model</groupId>
651 <artifactId>model-flow-base</artifactId>
654 <groupId>org.opendaylight.controller.model</groupId>
655 <artifactId>model-flow-service</artifactId>
658 <groupId>org.opendaylight.controller.model</groupId>
659 <artifactId>model-flow-statistics</artifactId>
664 <groupId>org.opendaylight.controller</groupId>
665 <artifactId>sal-binding-broker-impl</artifactId>
666 <version>${controller.model.version}</version>
669 <groupId>org.opendaylight.controller.model</groupId>
670 <artifactId>model-flow-base</artifactId>
673 <groupId>org.opendaylight.controller.model</groupId>
674 <artifactId>model-flow-service</artifactId>
677 <groupId>org.opendaylight.controller.model</groupId>
678 <artifactId>model-flow-statistics</artifactId>
684 </dependencyManagement>
691 <id>opendaylight-snapshot</id>
692 <name>opendaylight-snapshot</name>
693 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</url>
695 <enabled>false</enabled>
701 <url>http://nexus.opendaylight.org/content/groups/public</url>
703 <enabled>false</enabled>
711 <id>opendaylight-central</id>
712 <name>opendaylight-central</name>
713 <url>http://nexus.opendaylight.org/content/repositories/public</url>
715 <enabled>false</enabled>
719 <id>opendaylight-snapshot</id>
720 <name>central2</name>
721 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</url>
723 <enabled>false</enabled>
726 </pluginRepositories>
729 <module>openflowplugin-api</module>
730 <module>openflowplugin</module>
731 <module>extension</module>
732 <module>distribution/base</module>
733 <module>distribution/cbench</module>
734 <module>distribution/karaf</module>
735 <module>openflowplugin-controller-config</module>
736 <module>openflowplugin-it</module>
737 <module>test-provider</module>
738 <module>drop-test</module>
739 <module>drop-test-karaf</module>
740 <module>test-common</module>
741 <module>features</module>
742 <module>samples/sample-consumer</module>
743 <module>samples/learning-switch</module>
744 <module>applications</module>
745 <module>model</module>
746 <module>legacy</module>