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 <groupId>org.ops4j.pax.exam</groupId>
372 <artifactId>maven-paxexam-plugin</artifactId>
373 <version>1.2.4</version>
376 <artifactId>maven-clean-plugin</artifactId>
380 <directory>${jmxGeneratorPath}</directory>
382 <include>**</include>
386 <directory>${salGeneratorPath}</directory>
388 <include>**</include>
395 <groupId>org.codehaus.mojo</groupId>
396 <artifactId>build-helper-maven-plugin</artifactId>
397 <version>${build.helper.version}</version>
401 <phase>generate-sources</phase>
403 <goal>add-source</goal>
407 <source>${jmxGeneratorPath}</source>
408 <source>${salGeneratorPath}</source>
415 <groupId>org.opendaylight.yangtools</groupId>
416 <artifactId>yang-maven-plugin</artifactId>
417 <version>${yang.binding.version}</version>
420 <groupId>org.apache.felix</groupId>
421 <artifactId>maven-bundle-plugin</artifactId>
422 <version>${maven.bundle.version}</version>
423 <extensions>true</extensions>
426 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
428 <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
431 <!-- Ignore/Execute plugin execution -->
433 <groupId>org.eclipse.m2e</groupId>
434 <artifactId>lifecycle-mapping</artifactId>
435 <version>1.0.0</version>
437 <lifecycleMappingMetadata>
440 <pluginExecutionFilter>
441 <groupId>org.codehaus.mojo</groupId>
442 <artifactId>properties-maven-plugin</artifactId>
443 <versionRange>[0.0,)</versionRange>
445 <goal>set-system-properties</goal>
447 </pluginExecutionFilter>
453 <pluginExecutionFilter>
454 <groupId>org.codehaus.enunciate</groupId>
455 <artifactId>maven-enunciate-plugin</artifactId>
456 <versionRange>[0.0,)</versionRange>
460 </pluginExecutionFilter>
466 <pluginExecutionFilter>
467 <groupId>org.jacoco</groupId>
468 <artifactId>jacoco-maven-plugin</artifactId>
469 <versionRange>[0.0,)</versionRange>
471 <goal>prepare-agent</goal>
472 <goal>pre-test</goal>
473 <goal>post-test</goal>
475 </pluginExecutionFilter>
481 <pluginExecutionFilter>
482 <groupId>org.ops4j.pax.exam</groupId>
483 <artifactId>maven-paxexam-plugin</artifactId>
484 <versionRange>[1.2.4,)</versionRange>
486 <goal>generate-depends-file</goal>
488 </pluginExecutionFilter>
491 <runOnIncremental>false</runOnIncremental>
496 <pluginExecutionFilter>
497 <groupId>org.apache.maven.plugins</groupId>
498 <artifactId>maven-checkstyle-plugin</artifactId>
499 <versionRange>[2.0,)</versionRange>
503 </pluginExecutionFilter>
509 <pluginExecutionFilter>
510 <groupId>org.opendaylight.yangtools</groupId>
511 <artifactId>yang-maven-plugin</artifactId>
512 <versionRange>[0.5,)</versionRange>
514 <goal>generate-sources</goal>
516 </pluginExecutionFilter>
522 <pluginExecutionFilter>
523 <groupId>org.codehaus.groovy.maven</groupId>
524 <artifactId>gmaven-plugin</artifactId>
525 <versionRange>1.0</versionRange>
529 </pluginExecutionFilter>
535 <pluginExecutionFilter>
536 <groupId>org.apache.maven.plugins</groupId>
537 <artifactId>maven-enforcer-plugin</artifactId>
538 <versionRange>${enforcer.version}</versionRange>
542 </pluginExecutionFilter>
548 </lifecycleMappingMetadata>
552 <groupId>org.apache.maven.plugins</groupId>
553 <artifactId>maven-failsafe-plugin</artifactId>
555 <!-- Specific to generate mapping between tests and covered code -->
556 <argLine>${jacoco.agent.it.arg}</argLine>
559 <name>listener</name>
560 <value>org.sonar.java.jacoco.JUnitListener</value>
563 <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
564 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
568 <groupId>org.apache.maven.plugins</groupId>
569 <artifactId>maven-surefire-plugin</artifactId>
571 <!-- Specific to generate mapping between tests and covered code -->
572 <argLine>${jacoco.agent.ut.arg}</argLine>
575 <name>listener</name>
576 <value>org.sonar.java.jacoco.JUnitListener</value>
587 <id>findbugsReport</id>
591 <groupId>org.apache.maven.plugins</groupId>
592 <artifactId>maven-project-info-reports-plugin</artifactId>
593 <version>2.7</version>
595 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
596 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
601 <report>index</report>
602 <report>project-team</report>
603 <report>license</report>
604 <report>mailing-list</report>
605 <report>plugin-management</report>
607 <report>issue-tracking</report>
609 <report>summary</report>
615 <groupId>org.codehaus.mojo</groupId>
616 <artifactId>findbugs-maven-plugin</artifactId>
617 <version>2.5.2</version>
620 <groupId>org.apache.maven.plugins</groupId>
621 <artifactId>maven-pmd-plugin</artifactId>
622 <version>3.0.1</version>
625 <groupId>org.apache.maven.plugins</groupId>
626 <artifactId>maven-jxr-plugin</artifactId>
627 <version>2.3</version>
635 <module>openflowplugin-api</module>
636 <module>openflowplugin</module>
637 <module>extension</module>
638 <module>distribution/karaf</module>
639 <module>openflowplugin-controller-config</module>
640 <module>openflowplugin-it</module>
641 <module>test-provider</module>
642 <module>drop-test</module>
643 <module>drop-test-karaf</module>
644 <module>test-common</module>
645 <module>features</module>
646 <module>samples/sample-consumer</module>
647 <module>samples/learning-switch</module>
648 <module>applications</module>
649 <module>model</module>
650 <module>legacy</module>