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 <netconf.version>1.2.0-SNAPSHOT</netconf.version>
49 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
50 <openflowjava.version>0.6.0-SNAPSHOT</openflowjava.version>
51 <openflowplugin.model.version>${project.version}</openflowplugin.model.version>
52 <controller.model.version>1.2.0-SNAPSHOT</controller.model.version>
53 <sal.binding.api.version>1.2.0-SNAPSHOT</sal.binding.api.version>
54 <sal.api.version>0.9.0-SNAPSHOT</sal.api.version>
55 <sal.connection.api.version>0.2.0-SNAPSHOT</sal.connection.api.version>
56 <sal.common.util.version>1.2.0-SNAPSHOT</sal.common.util.version>
57 <netconf.parent.version>0.3.0-SNAPSHOT</netconf.parent.version>
58 <config.parent.version>0.3.0-SNAPSHOT</config.parent.version>
59 <build.helper.version>1.8</build.helper.version>
60 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
61 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
62 <exi.nagasena.version>0000.0002.0038.0</exi.nagasena.version>
63 <controller.distribution.version>0.2.0-SNAPSHOT</controller.distribution.version>
64 <features.test.version>1.5.0-SNAPSHOT</features.test.version>
67 <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
68 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
69 <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
70 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
71 <sonar.profile>Sonar way with Findbugs</sonar.profile>
73 <karaf.distro.empty.version>1.5.0-SNAPSHOT</karaf.distro.empty.version>
74 <yang.binding.version>0.7.0-SNAPSHOT</yang.binding.version>
75 <dlux.version>0.2.0-SNAPSHOT</dlux.version>
76 <config.version>0.3.0-SNAPSHOT</config.version>
77 <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
78 <opendaylight-l2-types.version>2013.08.27.7-SNAPSHOT</opendaylight-l2-types.version>
79 <ietf-yang-types.version>2010.09.24.7-SNAPSHOT</ietf-yang-types.version>
80 <ietf-inet-types.version>2010.09.24.7-SNAPSHOT</ietf-inet-types.version>
81 <yang-ext.version>2013.09.07.7-SNAPSHOT</yang-ext.version>
84 <dependencyManagement>
87 <groupId>org.opendaylight.yangtools</groupId>
88 <artifactId>yang-binding</artifactId>
89 <version>${yang.binding.version}</version>
92 <groupId>org.opendaylight.yangtools</groupId>
93 <artifactId>yang-common</artifactId>
94 <version>${yang.binding.version}</version>
99 <groupId>org.opendaylight.yangtools.model</groupId>
100 <artifactId>ietf-inet-types</artifactId>
101 <version>${ietf-inet-types.version}</version>
104 <groupId>org.opendaylight.yangtools.model</groupId>
105 <artifactId>ietf-yang-types</artifactId>
106 <version>${ietf-yang-types.version}</version>
109 <groupId>org.opendaylight.yangtools.model</groupId>
110 <artifactId>yang-ext</artifactId>
111 <version>${yang-ext.version}</version>
114 <groupId>org.opendaylight.yangtools.model</groupId>
115 <artifactId>opendaylight-l2-types</artifactId>
116 <version>${opendaylight-l2-types.version}</version>
120 <groupId>org.opendaylight.openflowplugin</groupId>
121 <artifactId>openflowplugin-api</artifactId>
122 <version>${project.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>
146 <groupId>org.opendaylight.openflowplugin.model</groupId>
147 <artifactId>model-flow-base</artifactId>
148 <version>${openflowplugin.model.version}</version>
151 <groupId>org.opendaylight.openflowplugin.model</groupId>
152 <artifactId>model-flow-service</artifactId>
153 <version>${openflowplugin.model.version}</version>
156 <groupId>org.opendaylight.openflowplugin.model</groupId>
157 <artifactId>model-flow-statistics</artifactId>
158 <version>${openflowplugin.model.version}</version>
162 <groupId>org.opendaylight.controller.model</groupId>
163 <artifactId>model-inventory</artifactId>
164 <version>${controller.model.version}</version>
167 <groupId>org.opendaylight.controller.model</groupId>
168 <artifactId>model-topology</artifactId>
169 <version>${controller.model.version}</version>
173 <groupId>org.opendaylight.controller</groupId>
174 <artifactId>sal-binding-api</artifactId>
175 <version>${sal.binding.api.version}</version>
178 <groupId>org.opendaylight.controller</groupId>
179 <artifactId>sal-binding-config</artifactId>
180 <version>${sal.binding.api.version}</version>
183 <groupId>org.opendaylight.controller</groupId>
184 <artifactId>sal-binding-util</artifactId>
185 <version>${controller.model.version}</version>
189 <groupId>org.opendaylight.controller</groupId>
190 <artifactId>liblldp</artifactId>
191 <version>${sal.api.version}</version>
194 <groupId>org.opendaylight.controller</groupId>
195 <artifactId>sal-common-util</artifactId>
196 <version>${sal.common.util.version}</version>
200 <groupId>org.opendaylight.controller</groupId>
201 <artifactId>config-netconf-connector</artifactId>
202 <version>${netconf.parent.version}</version>
205 <groupId>org.opendaylight.controller</groupId>
206 <artifactId>sal-binding-it</artifactId>
207 <version>${sal.binding.api.version}</version>
210 <groupId>org.opendaylight.controller</groupId>
211 <artifactId>sal-binding-broker-impl</artifactId>
212 <version>${sal.binding.api.version}</version>
214 <!-- excluding old models pulled as transient dependencies
218 <groupId>org.opendaylight.controller.model</groupId>
219 <artifactId>model-flow-base</artifactId>
222 <groupId>org.opendaylight.controller.model</groupId>
223 <artifactId>model-flow-service</artifactId>
226 <groupId>org.opendaylight.controller.model</groupId>
227 <artifactId>model-flow-statistics</artifactId>
232 <groupId>org.opendaylight.controller</groupId>
233 <artifactId>config-manager</artifactId>
234 <version>${config.parent.version}</version>
237 <groupId>org.opendaylight.controller</groupId>
238 <artifactId>config-api</artifactId>
239 <version>${config.parent.version}</version>
242 <groupId>org.opendaylight.yangtools.thirdparty</groupId>
243 <artifactId>antlr4-runtime-osgi-nohead</artifactId>
244 <version>4.0</version>
247 <groupId>org.opendaylight.controller</groupId>
248 <artifactId>logback-config</artifactId>
249 <version>${config.parent.version}</version>
252 <groupId>org.opendaylight.controller</groupId>
253 <artifactId>config-persister-api</artifactId>
254 <version>${config.parent.version}</version>
257 <groupId>org.opendaylight.controller</groupId>
258 <artifactId>config-persister-impl</artifactId>
259 <version>${config.parent.version}</version>
262 <groupId>org.opendaylight.controller</groupId>
263 <artifactId>config-persister-file-xml-adapter</artifactId>
264 <version>${config.parent.version}</version>
267 <groupId>org.opendaylight.controller</groupId>
268 <artifactId>netconf-monitoring</artifactId>
269 <version>${netconf.parent.version}</version>
272 <groupId>org.opendaylight.controller</groupId>
273 <artifactId>netconf-client</artifactId>
274 <version>${netconf.parent.version}</version>
277 <groupId>org.opendaylight.controller</groupId>
278 <artifactId>netconf-impl</artifactId>
279 <version>${netconf.parent.version}</version>
283 <groupId>org.opendaylight.odlparent</groupId>
284 <artifactId>features-test</artifactId>
285 <version>${features.test.version}</version>
290 <groupId>org.openexi</groupId>
291 <artifactId>nagasena</artifactId>
292 <version>${exi.nagasena.version}</version>
295 <groupId>org.openexi</groupId>
296 <artifactId>nagasena-rta</artifactId>
297 <version>${exi.nagasena.version}</version>
300 <groupId>xml-apis</groupId>
301 <artifactId>xml-apis</artifactId>
302 <version>1.4.01</version>
305 </dependencyManagement>
310 <groupId>org.codehaus.sonar-plugins.java</groupId>
311 <artifactId>sonar-jacoco-listeners</artifactId>
312 <version>${sonar-jacoco-listeners.version}</version>
320 <groupId>org.codehaus.mojo</groupId>
321 <artifactId>build-helper-maven-plugin</artifactId>
324 <groupId>org.jacoco</groupId>
325 <artifactId>jacoco-maven-plugin</artifactId>
328 <id>prepare-ut-agent</id>
329 <phase>process-test-classes</phase>
331 <goal>prepare-agent</goal>
334 <destFile>${sonar.jacoco.reportPath}</destFile>
335 <propertyName>jacoco.agent.ut.arg</propertyName>
339 <id>prepare-it-agent</id>
340 <phase>pre-integration-test</phase>
342 <goal>prepare-agent</goal>
345 <destFile>${sonar.jacoco.itReportPath}</destFile>
346 <propertyName>jacoco.agent.it.arg</propertyName>
353 <include>org.opendaylight.openflowplugin.*</include>
363 <groupId>org.apache.maven.plugins</groupId>
364 <artifactId>maven-compiler-plugin</artifactId>
371 <artifactId>maven-clean-plugin</artifactId>
375 <directory>${jmxGeneratorPath}</directory>
377 <include>**</include>
381 <directory>${salGeneratorPath}</directory>
383 <include>**</include>
390 <groupId>org.codehaus.mojo</groupId>
391 <artifactId>build-helper-maven-plugin</artifactId>
392 <version>${build.helper.version}</version>
396 <phase>generate-sources</phase>
398 <goal>add-source</goal>
402 <source>${jmxGeneratorPath}</source>
403 <source>${salGeneratorPath}</source>
410 <groupId>org.opendaylight.yangtools</groupId>
411 <artifactId>yang-maven-plugin</artifactId>
412 <version>${yang.binding.version}</version>
415 <groupId>org.apache.felix</groupId>
416 <artifactId>maven-bundle-plugin</artifactId>
417 <version>${maven.bundle.version}</version>
418 <extensions>true</extensions>
421 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
423 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
426 <!-- Ignore/Execute plugin execution -->
428 <groupId>org.eclipse.m2e</groupId>
429 <artifactId>lifecycle-mapping</artifactId>
430 <version>1.0.0</version>
432 <lifecycleMappingMetadata>
435 <pluginExecutionFilter>
436 <groupId>org.codehaus.mojo</groupId>
437 <artifactId>properties-maven-plugin</artifactId>
438 <versionRange>[0.0,)</versionRange>
440 <goal>set-system-properties</goal>
442 </pluginExecutionFilter>
448 <pluginExecutionFilter>
449 <groupId>org.codehaus.enunciate</groupId>
450 <artifactId>maven-enunciate-plugin</artifactId>
451 <versionRange>[0.0,)</versionRange>
455 </pluginExecutionFilter>
461 <pluginExecutionFilter>
462 <groupId>org.jacoco</groupId>
463 <artifactId>jacoco-maven-plugin</artifactId>
464 <versionRange>[0.0,)</versionRange>
466 <goal>prepare-agent</goal>
467 <goal>pre-test</goal>
468 <goal>post-test</goal>
470 </pluginExecutionFilter>
476 <pluginExecutionFilter>
477 <groupId>org.ops4j.pax.exam</groupId>
478 <artifactId>maven-paxexam-plugin</artifactId>
479 <versionRange>[1.2.4,)</versionRange>
481 <goal>generate-depends-file</goal>
483 </pluginExecutionFilter>
486 <runOnIncremental>false</runOnIncremental>
491 <pluginExecutionFilter>
492 <groupId>org.apache.maven.plugins</groupId>
493 <artifactId>maven-checkstyle-plugin</artifactId>
494 <versionRange>[2.0,)</versionRange>
498 </pluginExecutionFilter>
504 <pluginExecutionFilter>
505 <groupId>org.opendaylight.yangtools</groupId>
506 <artifactId>yang-maven-plugin</artifactId>
507 <versionRange>[0.5,)</versionRange>
509 <goal>generate-sources</goal>
511 </pluginExecutionFilter>
517 <pluginExecutionFilter>
518 <groupId>org.codehaus.groovy.maven</groupId>
519 <artifactId>gmaven-plugin</artifactId>
520 <versionRange>1.0</versionRange>
524 </pluginExecutionFilter>
530 <pluginExecutionFilter>
531 <groupId>org.apache.maven.plugins</groupId>
532 <artifactId>maven-enforcer-plugin</artifactId>
533 <versionRange>${enforcer.version}</versionRange>
537 </pluginExecutionFilter>
543 </lifecycleMappingMetadata>
547 <groupId>org.apache.maven.plugins</groupId>
548 <artifactId>maven-failsafe-plugin</artifactId>
550 <!-- Specific to generate mapping between tests and covered code -->
551 <argLine>${jacoco.agent.it.arg}</argLine>
554 <name>listener</name>
555 <value>org.sonar.java.jacoco.JUnitListener</value>
558 <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
559 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
563 <groupId>org.apache.maven.plugins</groupId>
564 <artifactId>maven-surefire-plugin</artifactId>
566 <!-- Specific to generate mapping between tests and covered code -->
567 <argLine>${jacoco.agent.ut.arg}</argLine>
570 <name>listener</name>
571 <value>org.sonar.java.jacoco.JUnitListener</value>
582 <id>findbugsReport</id>
586 <groupId>org.apache.maven.plugins</groupId>
587 <artifactId>maven-project-info-reports-plugin</artifactId>
588 <version>2.7</version>
590 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
591 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
596 <report>index</report>
597 <report>project-team</report>
598 <report>license</report>
599 <report>mailing-list</report>
600 <report>plugin-management</report>
602 <report>issue-tracking</report>
604 <report>summary</report>
610 <groupId>org.codehaus.mojo</groupId>
611 <artifactId>findbugs-maven-plugin</artifactId>
612 <version>2.5.2</version>
615 <groupId>org.apache.maven.plugins</groupId>
616 <artifactId>maven-pmd-plugin</artifactId>
617 <version>3.0.1</version>
620 <groupId>org.apache.maven.plugins</groupId>
621 <artifactId>maven-jxr-plugin</artifactId>
622 <version>2.3</version>
630 <module>openflowplugin-api</module>
631 <module>openflowplugin</module>
632 <module>extension</module>
633 <module>distribution/karaf</module>
634 <module>openflowplugin-controller-config</module>
635 <module>openflowplugin-it</module>
636 <module>test-provider</module>
637 <module>drop-test</module>
638 <module>drop-test-karaf</module>
639 <module>test-common</module>
640 <module>features</module>
641 <module>samples/sample-consumer</module>
642 <module>samples/learning-switch</module>
643 <module>applications</module>
644 <module>model</module>
645 <module>legacy</module>