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 <openflowplugin.model.version>${project.version}</openflowplugin.model.version>
51 <controller.model.version>1.2.0-SNAPSHOT</controller.model.version>
52 <sal.binding.api.version>1.2.0-SNAPSHOT</sal.binding.api.version>
53 <sal.api.version>0.9.0-SNAPSHOT</sal.api.version>
54 <sal.connection.api.version>0.2.0-SNAPSHOT</sal.connection.api.version>
55 <sal.common.util.version>1.2.0-SNAPSHOT</sal.common.util.version>
56 <netconf.parent.version>0.3.0-SNAPSHOT</netconf.parent.version>
57 <config.parent.version>0.3.0-SNAPSHOT</config.parent.version>
58 <build.helper.version>1.8</build.helper.version>
59 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
60 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
61 <exi.nagasena.version>0000.0002.0038.0</exi.nagasena.version>
62 <controller.distribution.version>0.2.0-SNAPSHOT</controller.distribution.version>
63 <features.test.version>1.5.0-SNAPSHOT</features.test.version>
66 <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
67 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
68 <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
69 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
70 <sonar.profile>Sonar way with Findbugs</sonar.profile>
72 <karaf.distro.empty.version>1.5.0-SNAPSHOT</karaf.distro.empty.version>
73 <yang.binding.version>0.7.0-SNAPSHOT</yang.binding.version>
74 <dlux.version>0.2.0-SNAPSHOT</dlux.version>
75 <config.version>0.3.0-SNAPSHOT</config.version>
76 <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
77 <opendaylight-l2-types.version>2013.08.27.7-SNAPSHOT</opendaylight-l2-types.version>
78 <ietf-yang-types.version>2010.09.24.7-SNAPSHOT</ietf-yang-types.version>
79 <ietf-inet-types.version>2010.09.24.7-SNAPSHOT</ietf-inet-types.version>
80 <yang-ext.version>2013.09.07.7-SNAPSHOT</yang-ext.version>
83 <dependencyManagement>
86 <groupId>org.opendaylight.yangtools</groupId>
87 <artifactId>yang-binding</artifactId>
88 <version>${yang.binding.version}</version>
91 <groupId>org.opendaylight.yangtools</groupId>
92 <artifactId>yang-common</artifactId>
93 <version>${yang.binding.version}</version>
96 <groupId>org.opendaylight.yangtools.model</groupId>
97 <artifactId>ietf-inet-types</artifactId>
98 <version>${ietf-inet-types.version}</version>
101 <groupId>org.opendaylight.yangtools.model</groupId>
102 <artifactId>ietf-yang-types</artifactId>
103 <version>${ietf-yang-types.version}</version>
106 <groupId>org.opendaylight.yangtools.model</groupId>
107 <artifactId>yang-ext</artifactId>
108 <version>${yang-ext.version}</version>
111 <groupId>org.opendaylight.yangtools.model</groupId>
112 <artifactId>opendaylight-l2-types</artifactId>
113 <version>${opendaylight-l2-types.version}</version>
117 <groupId>org.opendaylight.openflowplugin</groupId>
118 <artifactId>openflowplugin-api</artifactId>
119 <version>${project.version}</version>
122 <groupId>org.opendaylight.openflowjava</groupId>
123 <artifactId>openflow-protocol-api</artifactId>
124 <version>${openflowjava.version}</version>
127 <groupId>org.opendaylight.openflowjava</groupId>
128 <artifactId>openflow-protocol-spi</artifactId>
129 <version>${openflowjava.version}</version>
132 <groupId>org.opendaylight.openflowjava</groupId>
133 <artifactId>util</artifactId>
134 <version>${openflowjava.version}</version>
137 <groupId>org.opendaylight.openflowjava</groupId>
138 <artifactId>simple-client</artifactId>
139 <version>${openflowjava.version}</version>
143 <groupId>org.opendaylight.openflowplugin.model</groupId>
144 <artifactId>model-flow-base</artifactId>
145 <version>${openflowplugin.model.version}</version>
148 <groupId>org.opendaylight.openflowplugin.model</groupId>
149 <artifactId>model-flow-service</artifactId>
150 <version>${openflowplugin.model.version}</version>
153 <groupId>org.opendaylight.openflowplugin.model</groupId>
154 <artifactId>model-flow-statistics</artifactId>
155 <version>${openflowplugin.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>${sal.binding.api.version}</version>
175 <groupId>org.opendaylight.controller</groupId>
176 <artifactId>sal-binding-config</artifactId>
177 <version>${sal.binding.api.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>${sal.common.util.version}</version>
197 <groupId>org.opendaylight.controller</groupId>
198 <artifactId>config-netconf-connector</artifactId>
199 <version>${netconf.parent.version}</version>
202 <groupId>org.opendaylight.controller</groupId>
203 <artifactId>sal-binding-it</artifactId>
204 <version>${sal.binding.api.version}</version>
207 <groupId>org.opendaylight.controller</groupId>
208 <artifactId>sal-binding-broker-impl</artifactId>
209 <version>${sal.binding.api.version}</version>
211 <!-- excluding old models pulled as transient dependencies
215 <groupId>org.opendaylight.controller.model</groupId>
216 <artifactId>model-flow-base</artifactId>
219 <groupId>org.opendaylight.controller.model</groupId>
220 <artifactId>model-flow-service</artifactId>
223 <groupId>org.opendaylight.controller.model</groupId>
224 <artifactId>model-flow-statistics</artifactId>
229 <groupId>org.opendaylight.controller</groupId>
230 <artifactId>config-manager</artifactId>
231 <version>${config.parent.version}</version>
234 <groupId>org.opendaylight.controller</groupId>
235 <artifactId>config-api</artifactId>
236 <version>${config.parent.version}</version>
239 <groupId>org.opendaylight.yangtools.thirdparty</groupId>
240 <artifactId>antlr4-runtime-osgi-nohead</artifactId>
241 <version>4.0</version>
244 <groupId>org.opendaylight.controller</groupId>
245 <artifactId>logback-config</artifactId>
246 <version>${config.parent.version}</version>
249 <groupId>org.opendaylight.controller</groupId>
250 <artifactId>config-persister-api</artifactId>
251 <version>${config.parent.version}</version>
254 <groupId>org.opendaylight.controller</groupId>
255 <artifactId>config-persister-impl</artifactId>
256 <version>${config.parent.version}</version>
259 <groupId>org.opendaylight.controller</groupId>
260 <artifactId>config-persister-file-xml-adapter</artifactId>
261 <version>${config.parent.version}</version>
264 <groupId>org.opendaylight.controller</groupId>
265 <artifactId>netconf-monitoring</artifactId>
266 <version>${netconf.parent.version}</version>
269 <groupId>org.opendaylight.controller</groupId>
270 <artifactId>netconf-client</artifactId>
271 <version>${netconf.parent.version}</version>
274 <groupId>org.opendaylight.controller</groupId>
275 <artifactId>netconf-impl</artifactId>
276 <version>${netconf.parent.version}</version>
280 <groupId>org.opendaylight.odlparent</groupId>
281 <artifactId>features-test</artifactId>
282 <version>${features.test.version}</version>
287 <groupId>org.openexi</groupId>
288 <artifactId>nagasena</artifactId>
289 <version>${exi.nagasena.version}</version>
292 <groupId>org.openexi</groupId>
293 <artifactId>nagasena-rta</artifactId>
294 <version>${exi.nagasena.version}</version>
297 <groupId>xml-apis</groupId>
298 <artifactId>xml-apis</artifactId>
299 <version>1.4.01</version>
302 </dependencyManagement>
307 <groupId>org.codehaus.sonar-plugins.java</groupId>
308 <artifactId>sonar-jacoco-listeners</artifactId>
309 <version>${sonar-jacoco-listeners.version}</version>
317 <groupId>org.codehaus.mojo</groupId>
318 <artifactId>build-helper-maven-plugin</artifactId>
321 <groupId>org.jacoco</groupId>
322 <artifactId>jacoco-maven-plugin</artifactId>
325 <id>prepare-ut-agent</id>
326 <phase>process-test-classes</phase>
328 <goal>prepare-agent</goal>
331 <destFile>${sonar.jacoco.reportPath}</destFile>
332 <propertyName>jacoco.agent.ut.arg</propertyName>
336 <id>prepare-it-agent</id>
337 <phase>pre-integration-test</phase>
339 <goal>prepare-agent</goal>
342 <destFile>${sonar.jacoco.itReportPath}</destFile>
343 <propertyName>jacoco.agent.it.arg</propertyName>
350 <include>org.opendaylight.openflowplugin.*</include>
360 <groupId>org.apache.maven.plugins</groupId>
361 <artifactId>maven-compiler-plugin</artifactId>
368 <groupId>org.ops4j.pax.exam</groupId>
369 <artifactId>maven-paxexam-plugin</artifactId>
370 <version>1.2.4</version>
373 <artifactId>maven-clean-plugin</artifactId>
377 <directory>${jmxGeneratorPath}</directory>
379 <include>**</include>
383 <directory>${salGeneratorPath}</directory>
385 <include>**</include>
392 <groupId>org.codehaus.mojo</groupId>
393 <artifactId>build-helper-maven-plugin</artifactId>
394 <version>${build.helper.version}</version>
398 <phase>generate-sources</phase>
400 <goal>add-source</goal>
404 <source>${jmxGeneratorPath}</source>
405 <source>${salGeneratorPath}</source>
412 <groupId>org.opendaylight.yangtools</groupId>
413 <artifactId>yang-maven-plugin</artifactId>
414 <version>${yang.binding.version}</version>
417 <groupId>org.apache.felix</groupId>
418 <artifactId>maven-bundle-plugin</artifactId>
419 <version>${maven.bundle.version}</version>
420 <extensions>true</extensions>
423 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
425 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
428 <!-- Ignore/Execute plugin execution -->
430 <groupId>org.eclipse.m2e</groupId>
431 <artifactId>lifecycle-mapping</artifactId>
432 <version>1.0.0</version>
434 <lifecycleMappingMetadata>
437 <pluginExecutionFilter>
438 <groupId>org.codehaus.mojo</groupId>
439 <artifactId>properties-maven-plugin</artifactId>
440 <versionRange>[0.0,)</versionRange>
442 <goal>set-system-properties</goal>
444 </pluginExecutionFilter>
450 <pluginExecutionFilter>
451 <groupId>org.codehaus.enunciate</groupId>
452 <artifactId>maven-enunciate-plugin</artifactId>
453 <versionRange>[0.0,)</versionRange>
457 </pluginExecutionFilter>
463 <pluginExecutionFilter>
464 <groupId>org.jacoco</groupId>
465 <artifactId>jacoco-maven-plugin</artifactId>
466 <versionRange>[0.0,)</versionRange>
468 <goal>prepare-agent</goal>
469 <goal>pre-test</goal>
470 <goal>post-test</goal>
472 </pluginExecutionFilter>
478 <pluginExecutionFilter>
479 <groupId>org.ops4j.pax.exam</groupId>
480 <artifactId>maven-paxexam-plugin</artifactId>
481 <versionRange>[1.2.4,)</versionRange>
483 <goal>generate-depends-file</goal>
485 </pluginExecutionFilter>
488 <runOnIncremental>false</runOnIncremental>
493 <pluginExecutionFilter>
494 <groupId>org.apache.maven.plugins</groupId>
495 <artifactId>maven-checkstyle-plugin</artifactId>
496 <versionRange>[2.0,)</versionRange>
500 </pluginExecutionFilter>
506 <pluginExecutionFilter>
507 <groupId>org.opendaylight.yangtools</groupId>
508 <artifactId>yang-maven-plugin</artifactId>
509 <versionRange>[0.5,)</versionRange>
511 <goal>generate-sources</goal>
513 </pluginExecutionFilter>
519 <pluginExecutionFilter>
520 <groupId>org.codehaus.groovy.maven</groupId>
521 <artifactId>gmaven-plugin</artifactId>
522 <versionRange>1.0</versionRange>
526 </pluginExecutionFilter>
532 <pluginExecutionFilter>
533 <groupId>org.apache.maven.plugins</groupId>
534 <artifactId>maven-enforcer-plugin</artifactId>
535 <versionRange>${enforcer.version}</versionRange>
539 </pluginExecutionFilter>
545 </lifecycleMappingMetadata>
549 <groupId>org.apache.maven.plugins</groupId>
550 <artifactId>maven-failsafe-plugin</artifactId>
552 <!-- Specific to generate mapping between tests and covered code -->
553 <argLine>${jacoco.agent.it.arg}</argLine>
556 <name>listener</name>
557 <value>org.sonar.java.jacoco.JUnitListener</value>
560 <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
561 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
565 <groupId>org.apache.maven.plugins</groupId>
566 <artifactId>maven-surefire-plugin</artifactId>
568 <!-- Specific to generate mapping between tests and covered code -->
569 <argLine>${jacoco.agent.ut.arg}</argLine>
572 <name>listener</name>
573 <value>org.sonar.java.jacoco.JUnitListener</value>
584 <id>findbugsReport</id>
588 <groupId>org.apache.maven.plugins</groupId>
589 <artifactId>maven-project-info-reports-plugin</artifactId>
590 <version>2.7</version>
592 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
593 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
598 <report>index</report>
599 <report>project-team</report>
600 <report>license</report>
601 <report>mailing-list</report>
602 <report>plugin-management</report>
604 <report>issue-tracking</report>
606 <report>summary</report>
612 <groupId>org.codehaus.mojo</groupId>
613 <artifactId>findbugs-maven-plugin</artifactId>
614 <version>2.5.2</version>
617 <groupId>org.apache.maven.plugins</groupId>
618 <artifactId>maven-pmd-plugin</artifactId>
619 <version>3.0.1</version>
622 <groupId>org.apache.maven.plugins</groupId>
623 <artifactId>maven-jxr-plugin</artifactId>
624 <version>2.3</version>
632 <module>openflowplugin-api</module>
633 <module>openflowplugin</module>
634 <module>extension</module>
635 <module>distribution/karaf</module>
636 <module>openflowplugin-controller-config</module>
637 <module>openflowplugin-it</module>
638 <module>test-provider</module>
639 <module>drop-test</module>
640 <module>drop-test-karaf</module>
641 <module>test-common</module>
642 <module>features</module>
643 <module>samples/sample-consumer</module>
644 <module>samples/learning-switch</module>
645 <module>applications</module>
646 <module>model</module>
647 <module>legacy</module>