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-impl</artifactId>
124 <version>${openflowjava.version}</version>
127 <groupId>org.opendaylight.openflowjava</groupId>
128 <artifactId>openflow-protocol-api</artifactId>
129 <version>${openflowjava.version}</version>
132 <groupId>org.opendaylight.openflowjava</groupId>
133 <artifactId>openflow-protocol-spi</artifactId>
134 <version>${openflowjava.version}</version>
137 <groupId>org.opendaylight.openflowjava</groupId>
138 <artifactId>util</artifactId>
139 <version>${openflowjava.version}</version>
142 <groupId>org.opendaylight.openflowjava</groupId>
143 <artifactId>simple-client</artifactId>
144 <version>${openflowjava.version}</version>
148 <groupId>org.opendaylight.openflowplugin.model</groupId>
149 <artifactId>model-flow-base</artifactId>
150 <version>${openflowplugin.model.version}</version>
153 <groupId>org.opendaylight.openflowplugin.model</groupId>
154 <artifactId>model-flow-service</artifactId>
155 <version>${openflowplugin.model.version}</version>
158 <groupId>org.opendaylight.openflowplugin.model</groupId>
159 <artifactId>model-flow-statistics</artifactId>
160 <version>${openflowplugin.model.version}</version>
164 <groupId>org.opendaylight.controller.model</groupId>
165 <artifactId>model-inventory</artifactId>
166 <version>${controller.model.version}</version>
169 <groupId>org.opendaylight.controller.model</groupId>
170 <artifactId>model-topology</artifactId>
171 <version>${controller.model.version}</version>
175 <groupId>org.opendaylight.controller</groupId>
176 <artifactId>sal-binding-api</artifactId>
177 <version>${sal.binding.api.version}</version>
180 <groupId>org.opendaylight.controller</groupId>
181 <artifactId>sal-binding-config</artifactId>
182 <version>${sal.binding.api.version}</version>
185 <groupId>org.opendaylight.controller</groupId>
186 <artifactId>sal-binding-util</artifactId>
187 <version>${controller.model.version}</version>
191 <groupId>org.opendaylight.controller</groupId>
192 <artifactId>liblldp</artifactId>
193 <version>${sal.api.version}</version>
196 <groupId>org.opendaylight.controller</groupId>
197 <artifactId>sal-common-util</artifactId>
198 <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>${sal.binding.api.version}</version>
212 <groupId>org.opendaylight.controller</groupId>
213 <artifactId>sal-binding-broker-impl</artifactId>
214 <version>${sal.binding.api.version}</version>
216 <!-- excluding old models pulled as transient dependencies
220 <groupId>org.opendaylight.controller.model</groupId>
221 <artifactId>model-flow-base</artifactId>
224 <groupId>org.opendaylight.controller.model</groupId>
225 <artifactId>model-flow-service</artifactId>
228 <groupId>org.opendaylight.controller.model</groupId>
229 <artifactId>model-flow-statistics</artifactId>
234 <groupId>org.opendaylight.controller</groupId>
235 <artifactId>config-manager</artifactId>
236 <version>${config.parent.version}</version>
239 <groupId>org.opendaylight.controller</groupId>
240 <artifactId>config-api</artifactId>
241 <version>${config.parent.version}</version>
244 <groupId>org.opendaylight.yangtools.thirdparty</groupId>
245 <artifactId>antlr4-runtime-osgi-nohead</artifactId>
246 <version>4.0</version>
249 <groupId>org.opendaylight.controller</groupId>
250 <artifactId>logback-config</artifactId>
251 <version>${config.parent.version}</version>
254 <groupId>org.opendaylight.controller</groupId>
255 <artifactId>config-persister-api</artifactId>
256 <version>${config.parent.version}</version>
259 <groupId>org.opendaylight.controller</groupId>
260 <artifactId>config-persister-impl</artifactId>
261 <version>${config.parent.version}</version>
264 <groupId>org.opendaylight.controller</groupId>
265 <artifactId>config-persister-file-xml-adapter</artifactId>
266 <version>${config.parent.version}</version>
269 <groupId>org.opendaylight.controller</groupId>
270 <artifactId>netconf-monitoring</artifactId>
271 <version>${netconf.parent.version}</version>
274 <groupId>org.opendaylight.controller</groupId>
275 <artifactId>netconf-client</artifactId>
276 <version>${netconf.parent.version}</version>
279 <groupId>org.opendaylight.controller</groupId>
280 <artifactId>netconf-impl</artifactId>
281 <version>${netconf.parent.version}</version>
285 <groupId>org.opendaylight.odlparent</groupId>
286 <artifactId>features-test</artifactId>
287 <version>${features.test.version}</version>
292 <groupId>org.openexi</groupId>
293 <artifactId>nagasena</artifactId>
294 <version>${exi.nagasena.version}</version>
297 <groupId>org.openexi</groupId>
298 <artifactId>nagasena-rta</artifactId>
299 <version>${exi.nagasena.version}</version>
302 <groupId>xml-apis</groupId>
303 <artifactId>xml-apis</artifactId>
304 <version>1.4.01</version>
307 </dependencyManagement>
312 <groupId>org.codehaus.sonar-plugins.java</groupId>
313 <artifactId>sonar-jacoco-listeners</artifactId>
314 <version>${sonar-jacoco-listeners.version}</version>
322 <groupId>org.codehaus.mojo</groupId>
323 <artifactId>build-helper-maven-plugin</artifactId>
326 <groupId>org.jacoco</groupId>
327 <artifactId>jacoco-maven-plugin</artifactId>
330 <id>prepare-ut-agent</id>
331 <phase>process-test-classes</phase>
333 <goal>prepare-agent</goal>
336 <destFile>${sonar.jacoco.reportPath}</destFile>
337 <propertyName>jacoco.agent.ut.arg</propertyName>
341 <id>prepare-it-agent</id>
342 <phase>pre-integration-test</phase>
344 <goal>prepare-agent</goal>
347 <destFile>${sonar.jacoco.itReportPath}</destFile>
348 <propertyName>jacoco.agent.it.arg</propertyName>
355 <include>org.opendaylight.openflowplugin.*</include>
365 <groupId>org.apache.maven.plugins</groupId>
366 <artifactId>maven-compiler-plugin</artifactId>
373 <groupId>org.ops4j.pax.exam</groupId>
374 <artifactId>maven-paxexam-plugin</artifactId>
375 <version>1.2.4</version>
378 <artifactId>maven-clean-plugin</artifactId>
382 <directory>${jmxGeneratorPath}</directory>
384 <include>**</include>
388 <directory>${salGeneratorPath}</directory>
390 <include>**</include>
397 <groupId>org.codehaus.mojo</groupId>
398 <artifactId>build-helper-maven-plugin</artifactId>
399 <version>${build.helper.version}</version>
403 <phase>generate-sources</phase>
405 <goal>add-source</goal>
409 <source>${jmxGeneratorPath}</source>
410 <source>${salGeneratorPath}</source>
417 <groupId>org.opendaylight.yangtools</groupId>
418 <artifactId>yang-maven-plugin</artifactId>
419 <version>${yang.binding.version}</version>
422 <groupId>org.apache.felix</groupId>
423 <artifactId>maven-bundle-plugin</artifactId>
424 <version>${maven.bundle.version}</version>
425 <extensions>true</extensions>
428 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
430 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
433 <!-- Ignore/Execute plugin execution -->
435 <groupId>org.eclipse.m2e</groupId>
436 <artifactId>lifecycle-mapping</artifactId>
437 <version>1.0.0</version>
439 <lifecycleMappingMetadata>
442 <pluginExecutionFilter>
443 <groupId>org.codehaus.mojo</groupId>
444 <artifactId>properties-maven-plugin</artifactId>
445 <versionRange>[0.0,)</versionRange>
447 <goal>set-system-properties</goal>
449 </pluginExecutionFilter>
455 <pluginExecutionFilter>
456 <groupId>org.codehaus.enunciate</groupId>
457 <artifactId>maven-enunciate-plugin</artifactId>
458 <versionRange>[0.0,)</versionRange>
462 </pluginExecutionFilter>
468 <pluginExecutionFilter>
469 <groupId>org.jacoco</groupId>
470 <artifactId>jacoco-maven-plugin</artifactId>
471 <versionRange>[0.0,)</versionRange>
473 <goal>prepare-agent</goal>
474 <goal>pre-test</goal>
475 <goal>post-test</goal>
477 </pluginExecutionFilter>
483 <pluginExecutionFilter>
484 <groupId>org.ops4j.pax.exam</groupId>
485 <artifactId>maven-paxexam-plugin</artifactId>
486 <versionRange>[1.2.4,)</versionRange>
488 <goal>generate-depends-file</goal>
490 </pluginExecutionFilter>
493 <runOnIncremental>false</runOnIncremental>
498 <pluginExecutionFilter>
499 <groupId>org.apache.maven.plugins</groupId>
500 <artifactId>maven-checkstyle-plugin</artifactId>
501 <versionRange>[2.0,)</versionRange>
505 </pluginExecutionFilter>
511 <pluginExecutionFilter>
512 <groupId>org.opendaylight.yangtools</groupId>
513 <artifactId>yang-maven-plugin</artifactId>
514 <versionRange>[0.5,)</versionRange>
516 <goal>generate-sources</goal>
518 </pluginExecutionFilter>
524 <pluginExecutionFilter>
525 <groupId>org.codehaus.groovy.maven</groupId>
526 <artifactId>gmaven-plugin</artifactId>
527 <versionRange>1.0</versionRange>
531 </pluginExecutionFilter>
537 <pluginExecutionFilter>
538 <groupId>org.apache.maven.plugins</groupId>
539 <artifactId>maven-enforcer-plugin</artifactId>
540 <versionRange>${enforcer.version}</versionRange>
544 </pluginExecutionFilter>
550 </lifecycleMappingMetadata>
554 <groupId>org.apache.maven.plugins</groupId>
555 <artifactId>maven-failsafe-plugin</artifactId>
557 <!-- Specific to generate mapping between tests and covered code -->
558 <argLine>${jacoco.agent.it.arg}</argLine>
561 <name>listener</name>
562 <value>org.sonar.java.jacoco.JUnitListener</value>
565 <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
566 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
570 <groupId>org.apache.maven.plugins</groupId>
571 <artifactId>maven-surefire-plugin</artifactId>
573 <!-- Specific to generate mapping between tests and covered code -->
574 <argLine>${jacoco.agent.ut.arg}</argLine>
577 <name>listener</name>
578 <value>org.sonar.java.jacoco.JUnitListener</value>
589 <id>findbugsReport</id>
593 <groupId>org.apache.maven.plugins</groupId>
594 <artifactId>maven-project-info-reports-plugin</artifactId>
595 <version>2.7</version>
597 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
598 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
603 <report>index</report>
604 <report>project-team</report>
605 <report>license</report>
606 <report>mailing-list</report>
607 <report>plugin-management</report>
609 <report>issue-tracking</report>
611 <report>summary</report>
617 <groupId>org.codehaus.mojo</groupId>
618 <artifactId>findbugs-maven-plugin</artifactId>
619 <version>2.5.2</version>
622 <groupId>org.apache.maven.plugins</groupId>
623 <artifactId>maven-pmd-plugin</artifactId>
624 <version>3.0.1</version>
627 <groupId>org.apache.maven.plugins</groupId>
628 <artifactId>maven-jxr-plugin</artifactId>
629 <version>2.3</version>
637 <module>openflowplugin-api</module>
638 <module>openflowplugin</module>
639 <module>extension</module>
640 <module>distribution/base</module>
641 <module>distribution/cbench</module>
642 <module>distribution/karaf</module>
643 <module>openflowplugin-controller-config</module>
644 <module>openflowplugin-it</module>
645 <module>test-provider</module>
646 <module>drop-test</module>
647 <module>drop-test-karaf</module>
648 <module>test-common</module>
649 <module>features</module>
650 <module>samples/sample-consumer</module>
651 <module>samples/learning-switch</module>
652 <module>applications</module>
653 <module>model</module>
654 <module>legacy</module>