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/maven-v4_0_0.xsd">
3 <modelVersion>4.0.0</modelVersion>
5 <!-- NOTE: Tags we removed: SCM: We don't use maven to pull and push code, so
6 the SCM section does not appear to be needed. See http://maven.apache.org/scm/maven-scm-plugin/usage.html
8 NOTE: Our ultimate goal is to remove this pom, and move everything in here
9 up to ODL parent or the root of this project, depending on
10 its relevance. Only the logical root should reference this file. -->
13 <!-- We want to inherit of ODL parent so we can inherit common third party
14 versions etc instead of redefining them here. Also we get some common definitions
15 for plugin configuration etc. -->
16 <groupId>org.opendaylight.odlparent</groupId>
17 <artifactId>odlparent</artifactId>
18 <version>1.5.0-SNAPSHOT</version>
22 <groupId>org.opendaylight.lispflowmapping</groupId>
23 <artifactId>lispflowmapping-commons</artifactId>
24 <version>1.2.0-SNAPSHOT</version>
25 <packaging>pom</packaging>
26 <name>Parent POM</name>
27 <description></description>
30 <branding.version>1.1.0-SNAPSHOT</branding.version>
31 <build.suffix>1.0.0</build.suffix>
32 <clustering.services.version>0.6.0-SNAPSHOT</clustering.services.version>
33 <config.version>0.3.0-SNAPSHOT</config.version>
34 <feature.test.version>0.7.0-SNAPSHOT</feature.test.version>
35 <forwardingrulesmanager.version>0.5.0</forwardingrulesmanager.version>
36 <ietf-inet-types.version>2010.09.24.7-SNAPSHOT</ietf-inet-types.version>
37 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
38 <karaf.empty.version>1.5.0-SNAPSHOT</karaf.empty.version>
39 <karaf.resources.version>1.5.0-SNAPSHOT</karaf.resources.version>
40 <lispflowmapping.version>1.2.0-SNAPSHOT</lispflowmapping.version>
41 <mdsal.version>1.2.0-SNAPSHOT</mdsal.version>
42 <neutron.version>0.5.0-SNAPSHOT</neutron.version>
43 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
44 <nsf.version>0.5.0-SNAPSHOT</nsf.version>
45 <sal.version>0.9.0-SNAPSHOT</sal.version>
46 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
47 <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
48 <sonar.jacoco.reportPath>target/jacoco.exec</sonar.jacoco.reportPath>
49 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
50 <statisticsmanager.version>0.5.0</statisticsmanager.version>
51 <xtend.dstdir>src/main/xtend-gen</xtend.dstdir>
52 <yang-jmx-generator.version>1.1.0-SNAPSHOT</yang-jmx-generator.version>
53 <yang.binding.version>0.6.1</yang.binding.version>
54 <yang.codegen.version>0.6.1</yang.codegen.version>
55 <yang.src.path>src/main/yang</yang.src.path>
56 <yang.version>0.6.1</yang.version>
57 <yangtools.binding.version>0.6.1</yangtools.binding.version>
58 <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
61 <dependencyManagement>
63 <!-- NOTE: The "Type" jar is considered default. You only need to specify
64 the type when it is something other than jar. -->
66 <groupId>junit-addons</groupId>
67 <artifactId>junit-addons</artifactId>
68 <version>1.4</version>
71 <groupId>org.apache.karaf.features</groupId>
72 <artifactId>framework</artifactId>
73 <version>${karaf.version}</version>
77 <groupId>org.hamcrest</groupId>
78 <artifactId>hamcrest-core</artifactId>
79 <version>${hamcrest.version}</version>
82 <groupId>org.jmock</groupId>
83 <artifactId>jmock-junit4</artifactId>
84 <version>2.6.0</version>
87 <groupId>org.jmock</groupId>
88 <artifactId>jmock-legacy</artifactId>
89 <version>2.6.0</version>
92 <groupId>org.opendaylight.controller</groupId>
93 <artifactId>clustering.services</artifactId>
94 <version>0.6.0-SNAPSHOT</version>
97 <groupId>org.opendaylight.controller</groupId>
98 <artifactId>commons.northbound</artifactId>
99 <version>0.5.0-SNAPSHOT</version>
102 <groupId>org.opendaylight.controller</groupId>
103 <artifactId>config-api</artifactId>
104 <version>0.3.0-SNAPSHOT</version>
107 <groupId>org.opendaylight.controller</groupId>
108 <artifactId>config-manager</artifactId>
109 <version>${config.version}</version>
112 <groupId>org.opendaylight.controller</groupId>
113 <artifactId>config-util</artifactId>
114 <version>0.3.0-SNAPSHOT</version>
117 <groupId>org.opendaylight.controller</groupId>
118 <artifactId>containermanager</artifactId>
119 <version>0.6.0-SNAPSHOT</version>
122 <groupId>org.opendaylight.controller</groupId>
123 <artifactId>features-adsal</artifactId>
124 <version>${sal.version}</version>
125 <classifier>features</classifier>
129 <groupId>org.opendaylight.controller</groupId>
130 <artifactId>features-mdsal</artifactId>
131 <version>${mdsal.version}</version>
132 <classifier>features</classifier>
136 <groupId>org.opendaylight.controller</groupId>
137 <artifactId>features-netconf-connector</artifactId>
138 <version>${mdsal.version}</version>
139 <classifier>features</classifier>
143 <groupId>org.opendaylight.neutron</groupId>
144 <artifactId>features-neutron</artifactId>
145 <version>${neutron.version}</version>
146 <classifier>features</classifier>
150 <groupId>org.opendaylight.controller</groupId>
151 <artifactId>features-nsf</artifactId>
152 <version>${nsf.version}</version>
153 <classifier>features</classifier>
158 <groupId>org.opendaylight.controller</groupId>
159 <artifactId>karaf.branding</artifactId>
160 <version>${branding.version}</version>
161 <scope>compile</scope>
164 <groupId>org.opendaylight.controller</groupId>
165 <artifactId>netty-event-executor-config</artifactId>
166 <version>${config.version}</version>
169 <groupId>org.opendaylight.neutron</groupId>
170 <artifactId>neutron-spi</artifactId>
171 <version>0.5.0-SNAPSHOT</version>
174 <groupId>org.opendaylight.controller</groupId>
175 <artifactId>opendaylight-karaf-empty</artifactId>
176 <version>${karaf.empty.version}</version>
181 <groupId>org.opendaylight.controller</groupId>
182 <artifactId>opendaylight-karaf-resources</artifactId>
183 <version>${karaf.resources.version}</version>
186 <groupId>org.opendaylight.controller</groupId>
187 <artifactId>sal</artifactId>
188 <version>0.9.0-SNAPSHOT</version>
191 <groupId>org.opendaylight.controller</groupId>
192 <artifactId>sal-binding-api</artifactId>
193 <version>${mdsal.version}</version>
196 <groupId>org.opendaylight.controller</groupId>
197 <artifactId>sal-binding-broker-impl</artifactId>
198 <version>${mdsal.version}</version>
201 <groupId>org.opendaylight.controller</groupId>
202 <artifactId>sal-binding-config</artifactId>
203 <version>${mdsal.version}</version>
206 <groupId>org.opendaylight.controller</groupId>
207 <artifactId>sal-broker-impl</artifactId>
208 <version>${mdsal.version}</version>
211 <groupId>org.opendaylight.controller</groupId>
212 <artifactId>sal-common-util</artifactId>
213 <version>${mdsal.version}</version>
216 <groupId>org.opendaylight.controller</groupId>
217 <artifactId>sal-netconf-connector</artifactId>
218 <version>${mdsal.version}</version>
221 <groupId>org.opendaylight.controller</groupId>
222 <artifactId>threadpool-config-api</artifactId>
223 <version>${config.version}</version>
226 <groupId>org.opendaylight.controller</groupId>
227 <artifactId>threadpool-config-impl</artifactId>
228 <version>0.3.0-SNAPSHOT</version>
231 <groupId>org.opendaylight.lispflowmapping</groupId>
232 <artifactId>common.build.tools</artifactId>
233 <version>${lispflowmapping.version}</version>
236 <groupId>org.opendaylight.lispflowmapping</groupId>
237 <artifactId>lispflowmapping-code-commons</artifactId>
238 <version>${lispflowmapping.version}</version>
241 <groupId>org.opendaylight.lispflowmapping</groupId>
242 <artifactId>lispflowmapping-commons</artifactId>
243 <version>${lispflowmapping.version}</version>
246 <groupId>org.opendaylight.lispflowmapping</groupId>
247 <artifactId>mappingservice.api</artifactId>
248 <version>${lispflowmapping.version}</version>
251 <groupId>org.opendaylight.lispflowmapping</groupId>
252 <artifactId>mappingservice.clusterdao</artifactId>
253 <version>${lispflowmapping.version}</version>
256 <groupId>org.opendaylight.lispflowmapping</groupId>
257 <artifactId>mappingservice.config</artifactId>
258 <version>${lispflowmapping.version}</version>
261 <groupId>org.opendaylight.lispflowmapping</groupId>
262 <artifactId>mappingservice.implementation</artifactId>
263 <version>${lispflowmapping.version}</version>
267 <groupId>org.opendaylight.lispflowmapping</groupId>
268 <artifactId>mappingservice.netconf</artifactId>
269 <version>${lispflowmapping.version}</version>
272 <groupId>org.opendaylight.lispflowmapping</groupId>
273 <artifactId>mappingservice.neutron</artifactId>
274 <version>${lispflowmapping.version}</version>
277 <groupId>org.opendaylight.lispflowmapping</groupId>
278 <artifactId>mappingservice.northbound</artifactId>
279 <version>${lispflowmapping.version}</version>
282 <groupId>org.opendaylight.lispflowmapping</groupId>
283 <artifactId>mappingservice.shell</artifactId>
284 <version>${lispflowmapping.version}</version>
287 <groupId>org.opendaylight.lispflowmapping</groupId>
288 <artifactId>mappingservice.southbound</artifactId>
289 <version>${lispflowmapping.version}</version>
292 <groupId>org.opendaylight.lispflowmapping</groupId>
293 <artifactId>mappingservice.yangmodel</artifactId>
294 <version>${lispflowmapping.version}</version>
297 <groupId>org.opendaylight.yangtools</groupId>
298 <artifactId>yang-binding</artifactId>
299 <version>0.7.0-SNAPSHOT</version>
302 <groupId>org.opendaylight.yangtools</groupId>
303 <artifactId>yang-common</artifactId>
304 <version>0.7.0-SNAPSHOT</version>
307 <groupId>org.opendaylight.yangtools</groupId>
308 <artifactId>yang-data-api</artifactId>
309 <version>0.7.0-SNAPSHOT</version>
312 <groupId>org.opendaylight.yangtools</groupId>
313 <artifactId>yang-data-impl</artifactId>
314 <version>${yangtools.version}</version>
317 <groupId>org.opendaylight.yangtools</groupId>
318 <artifactId>yang-data-util</artifactId>
319 <version>0.7.0-SNAPSHOT</version>
322 <groupId>org.opendaylight.yangtools</groupId>
323 <artifactId>yang-model-api</artifactId>
324 <version>0.7.0-SNAPSHOT</version>
327 <groupId>org.opendaylight.yangtools</groupId>
328 <artifactId>yang-parser-impl</artifactId>
329 <version>${yangtools.version}</version>
332 <groupId>org.opendaylight.yangtools.model</groupId>
333 <artifactId>ietf-inet-types</artifactId>
334 <version>2010.09.24.7-SNAPSHOT</version>
337 <groupId>org.opendaylight.yangtools.model</groupId>
338 <artifactId>ietf-yang-types</artifactId>
339 <version>2010.09.24.7-SNAPSHOT</version>
342 <groupId>org.apache.karaf.features</groupId>
343 <artifactId>standard</artifactId>
344 <version>${karaf.version}</version>
345 <classifier>features</classifier>
347 <scope>runtime</scope>
351 <groupId>org.opendaylight.lispflowmapping</groupId>
352 <artifactId>features-lispflowmapping</artifactId>
353 <version>${lispflowmapping.version}</version>
354 <classifier>features</classifier>
356 <scope>runtime</scope>
359 <groupId>org.opendaylight.lispflowmapping</groupId>
360 <artifactId>common.unittest.tools</artifactId>
361 <version>${lispflowmapping.version}</version>
365 <groupId>org.opendaylight.yangtools</groupId>
366 <artifactId>mockito-configuration</artifactId>
367 <version>${yangtools.version}</version>
371 </dependencyManagement>
376 <!-- This configures the sort pom plugin to sort properties, dependencies
377 etc during a build. It helps to ensure consistent poms that are easy to read.
378 While the configuration should exist at a root level it is still up to the
379 individual projects to invoke it by defining the plugin in the build->plugins
381 <groupId>com.google.code.sortpom</groupId>
382 <artifactId>maven-sortpom-plugin</artifactId>
383 <version>2.2.1</version>
385 <createBackupFile>false</createBackupFile>
386 <encoding>${project.build.sourceEncoding}</encoding>
387 <keepBlankLines>true</keepBlankLines>
388 <lineSeparator>\n</lineSeparator>
389 <nrOfIndentSpace>2</nrOfIndentSpace>
390 <predefinedSortOrder>custom_1</predefinedSortOrder>
391 <sortDependencies>scope,groupId,artifactId</sortDependencies>
392 <sortPlugins>groupId,artifactId</sortPlugins>
393 <sortProperties>true</sortProperties>
400 <phase>verify</phase>
405 <groupId>org.apache.maven.plugins</groupId>
406 <artifactId>maven-assembly-plugin</artifactId>
407 <version>2.4</version>
410 <!-- TODO move up to ODL parent. -->
411 <!-- This is required to make sure that we delete the files which are
412 being generated under the src/main directory since by default only files
413 under target get cleaned up. Because the clean plugin is automatically invoked
414 you do NOT need to specify it in the build->plugin section. You would only
415 want to override this if you have additional folders which need to be cleaned
417 <artifactId>maven-clean-plugin</artifactId>
421 <directory>${xtend.dstdir}</directory>
423 <include>**</include>
427 <directory>${jmxGeneratorPath}</directory>
429 <include>**</include>
433 <directory>${salGeneratorPath}</directory>
435 <include>**</include>
442 <!-- Configures the java doc generation. Generally you should not have
443 to override this unless you need to exclude other packages etc. -->
444 <groupId>org.apache.maven.plugins</groupId>
445 <artifactId>maven-javadoc-plugin</artifactId>
447 <doclet>org.jboss.apiviz.APIviz</doclet>
449 <groupId>org.jboss.apiviz</groupId>
450 <artifactId>apiviz</artifactId>
451 <version>1.3.2.GA</version>
453 <finalName>${project.artifactId}-${project.version}</finalName>
454 <useStandardDocletOptions>true</useStandardDocletOptions>
455 <charset>UTF-8</charset>
456 <encoding>UTF-8</encoding>
457 <docencoding>UTF-8</docencoding>
458 <breakiterator>true</breakiterator>
459 <version>true</version>
460 <author>true</author>
461 <keywords>true</keywords>
462 <excludePackageNames>net.sf.jnetlib.*:cern.*:corejava:*.internal:edu.uci.*</excludePackageNames>
463 <failOnError>false</failOnError>
467 <groupId>org.apache.maven.plugins</groupId>
468 <artifactId>maven-jxr-plugin</artifactId>
469 <version>2.3</version>
471 <aggregate>true</aggregate>
472 <linkJavadoc>true</linkJavadoc>
473 <javadocDir>target/apidocs</javadocDir>
477 <groupId>org.codehaus.enunciate</groupId>
478 <artifactId>maven-enunciate-plugin</artifactId>
480 <configFile>enunciate.xml</configFile>
491 <!-- TODO: This should be in ODL parent -->
492 <groupId>org.codehaus.mojo</groupId>
493 <artifactId>build-helper-maven-plugin</artifactId>
498 <goal>add-source</goal>
500 <phase>generate-sources</phase>
503 <source>${yang.src.path}</source>
504 <source>${jmxGeneratorPath}</source>
505 <source>${salGeneratorPath}</source>
506 <source>${xtend.dstdir}</source>
514 <groupId>org.eclipse.m2e</groupId>
515 <artifactId>lifecycle-mapping</artifactId>
516 <version>1.0.0</version>
518 <lifecycleMappingMetadata>
521 <pluginExecutionFilter>
522 <groupId>org.codehaus.mojo</groupId>
523 <artifactId>properties-maven-plugin</artifactId>
524 <versionRange>[0.0,)</versionRange>
526 <goal>set-system-properties</goal>
528 </pluginExecutionFilter>
534 <pluginExecutionFilter>
535 <groupId>org.codehaus.enunciate</groupId>
536 <artifactId>maven-enunciate-plugin</artifactId>
537 <versionRange>[0.0,)</versionRange>
541 </pluginExecutionFilter>
547 <pluginExecutionFilter>
548 <groupId>org.jacoco</groupId>
549 <artifactId>jacoco-maven-plugin</artifactId>
550 <versionRange>[0.0,)</versionRange>
552 <goal>prepare-agent</goal>
553 <goal>pre-test</goal>
554 <goal>post-test</goal>
556 </pluginExecutionFilter>
562 <pluginExecutionFilter>
563 <groupId>org.ops4j.pax.exam</groupId>
564 <artifactId>maven-paxexam-plugin</artifactId>
565 <versionRange>[1.2.4,)</versionRange>
567 <goal>generate-depends-file</goal>
569 </pluginExecutionFilter>
575 <pluginExecutionFilter>
576 <groupId>org.apache.maven.plugins</groupId>
577 <artifactId>maven-checkstyle-plugin</artifactId>
578 <versionRange>[2.0,)</versionRange>
582 </pluginExecutionFilter>
588 <pluginExecutionFilter>
589 <groupId>org.opendaylight.yangtools</groupId>
590 <artifactId>yang-maven-plugin</artifactId>
591 <versionRange>[0.5,)</versionRange>
593 <goal>generate-sources</goal>
595 </pluginExecutionFilter>
601 </lifecycleMappingMetadata>
605 <!-- here we are defining the default generators for yang You may need
606 to override this in child poms if you want to define additional generators,
607 such as the JMX generator etc. -->
608 <groupId>org.opendaylight.yangtools</groupId>
609 <artifactId>yang-maven-plugin</artifactId>
610 <version>${yangtools.version}</version>
613 <groupId>org.opendaylight.yangtools</groupId>
614 <artifactId>maven-sal-api-gen-plugin</artifactId>
615 <version>${yangtools.version}</version>
621 <goal>generate-sources</goal>
624 <yangFilesRootDir>${yang.src.path}</yangFilesRootDir>
627 <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
628 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
631 <inspectDependencies>true</inspectDependencies>
640 <groupId>org.jacoco</groupId>
641 <artifactId>jacoco-maven-plugin</artifactId>
644 <id>prepare-ut-agent</id>
645 <phase>process-test-classes</phase>
647 <goal>prepare-agent</goal>
650 <destFile>${sonar.jacoco.reportPath}</destFile>
654 <id>prepare-it-agent</id>
655 <phase>pre-integration-test</phase>
657 <goal>prepare-agent</goal>
660 <destFile>${sonar.jacoco.itReportPath}</destFile>
676 <outputDirectory>${project.build.directory}/site</outputDirectory>
677 <excludeDefaults>true</excludeDefaults>
680 <groupId>org.apache.maven.plugins</groupId>
681 <artifactId>maven-javadoc-plugin</artifactId>
682 <version>2.8.1</version>
684 <doclet>org.jboss.apiviz.APIviz</doclet>
686 <groupId>org.jboss.apiviz</groupId>
687 <artifactId>apiviz</artifactId>
688 <version>1.3.2.GA</version>
690 <finalName>${project.artifactId}-${build.suffix}</finalName>
691 <useStandardDocletOptions>true</useStandardDocletOptions>
692 <charset>UTF-8</charset>
693 <encoding>UTF-8</encoding>
694 <docencoding>UTF-8</docencoding>
695 <breakiterator>true</breakiterator>
696 <version>true</version>
697 <author>true</author>
698 <keywords>true</keywords>
699 <excludePackageNames>*.internal:edu.uci.*</excludePackageNames>
703 <groupId>org.apache.maven.plugins</groupId>
704 <artifactId>maven-jxr-plugin</artifactId>
705 <version>2.3</version>
707 <aggregate>true</aggregate>
708 <linkJavadoc>true</linkJavadoc>
712 <groupId>org.apache.maven.plugins</groupId>
713 <artifactId>maven-project-info-reports-plugin</artifactId>
714 <version>${projectinfo}</version>
716 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
717 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
722 <report>index</report>
723 <report>project-team</report>
724 <report>license</report>
725 <report>mailing-list</report>
726 <report>plugin-management</report>
728 <report>issue-tracking</report>
730 <report>summary</report>
738 <distributionManagement>
739 <!-- Note: We want the nexus proxy property here because want to enable
740 devs to upload this artifact using mvn deploy to other maven repositories. -->
741 <!-- OpenDayLight Released artifact -->
743 <id>opendaylight-release</id>
744 <url>${nexusproxy}/repositories/opendaylight.release/</url>
746 <!-- OpenDayLight Snapshot artifact -->
748 <id>opendaylight-snapshot</id>
749 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
750 </snapshotRepository>
751 <!-- Site deployment -->
752 </distributionManagement>