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.6.0-SNAPSHOT</version>
22 <groupId>org.opendaylight.lispflowmapping</groupId>
23 <artifactId>lispflowmapping-commons</artifactId>
24 <version>1.3.0-SNAPSHOT</version>
25 <packaging>pom</packaging>
26 <name>Parent POM</name>
27 <description></description>
30 <branding.version>1.2.0-SNAPSHOT</branding.version>
31 <build.suffix>1.0.0</build.suffix>
32 <clustering.services.version>0.7.0-SNAPSHOT</clustering.services.version>
33 <config.version>0.4.0-SNAPSHOT</config.version>
34 <feature.test.version>0.8.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.6.0-SNAPSHOT</karaf.empty.version>
39 <karaf.resources.version>1.6.0-SNAPSHOT</karaf.resources.version>
40 <lispflowmapping.version>1.3.0-SNAPSHOT</lispflowmapping.version>
41 <mdsal.version>1.3.0-SNAPSHOT</mdsal.version>
42 <neutron.version>0.6.0-SNAPSHOT</neutron.version>
43 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
44 <nsf.version>0.6.0-SNAPSHOT</nsf.version>
45 <sal.version>0.10.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.2.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.8.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.7.0-SNAPSHOT</version>
97 <groupId>org.opendaylight.controller</groupId>
98 <artifactId>commons.northbound</artifactId>
99 <version>0.6.0-SNAPSHOT</version>
102 <groupId>org.opendaylight.controller</groupId>
103 <artifactId>config-api</artifactId>
104 <version>0.4.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.4.0-SNAPSHOT</version>
117 <groupId>org.opendaylight.controller</groupId>
118 <artifactId>containermanager</artifactId>
119 <version>0.7.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-restconf</artifactId>
138 <version>${mdsal.version}</version>
139 <classifier>features</classifier>
143 <groupId>org.opendaylight.controller</groupId>
144 <artifactId>features-netconf-connector</artifactId>
145 <version>${mdsal.version}</version>
146 <classifier>features</classifier>
150 <groupId>org.opendaylight.neutron</groupId>
151 <artifactId>features-neutron</artifactId>
152 <version>${neutron.version}</version>
153 <classifier>features</classifier>
157 <groupId>org.opendaylight.controller</groupId>
158 <artifactId>features-nsf</artifactId>
159 <version>${nsf.version}</version>
160 <classifier>features</classifier>
165 <groupId>org.opendaylight.controller</groupId>
166 <artifactId>karaf.branding</artifactId>
167 <version>${branding.version}</version>
168 <scope>compile</scope>
171 <groupId>org.opendaylight.controller</groupId>
172 <artifactId>netty-event-executor-config</artifactId>
173 <version>${config.version}</version>
176 <groupId>org.opendaylight.neutron</groupId>
177 <artifactId>neutron-spi</artifactId>
178 <version>0.6.0-SNAPSHOT</version>
181 <groupId>org.opendaylight.controller</groupId>
182 <artifactId>opendaylight-karaf-empty</artifactId>
183 <version>${karaf.empty.version}</version>
188 <groupId>org.opendaylight.controller</groupId>
189 <artifactId>opendaylight-karaf-resources</artifactId>
190 <version>${karaf.resources.version}</version>
193 <groupId>org.opendaylight.controller</groupId>
194 <artifactId>sal</artifactId>
195 <version>0.10.0-SNAPSHOT</version>
198 <groupId>org.opendaylight.controller</groupId>
199 <artifactId>sal-binding-api</artifactId>
200 <version>${mdsal.version}</version>
203 <groupId>org.opendaylight.controller</groupId>
204 <artifactId>sal-binding-broker-impl</artifactId>
205 <version>${mdsal.version}</version>
208 <groupId>org.opendaylight.controller</groupId>
209 <artifactId>sal-binding-config</artifactId>
210 <version>${mdsal.version}</version>
213 <groupId>org.opendaylight.controller</groupId>
214 <artifactId>sal-broker-impl</artifactId>
215 <version>${mdsal.version}</version>
218 <groupId>org.opendaylight.controller</groupId>
219 <artifactId>sal-common-util</artifactId>
220 <version>${mdsal.version}</version>
223 <groupId>org.opendaylight.controller</groupId>
224 <artifactId>sal-netconf-connector</artifactId>
225 <version>${mdsal.version}</version>
228 <groupId>org.opendaylight.controller</groupId>
229 <artifactId>threadpool-config-api</artifactId>
230 <version>${config.version}</version>
233 <groupId>org.opendaylight.controller</groupId>
234 <artifactId>threadpool-config-impl</artifactId>
235 <version>0.4.0-SNAPSHOT</version>
238 <groupId>org.opendaylight.lispflowmapping</groupId>
239 <artifactId>common.build.tools</artifactId>
240 <version>${lispflowmapping.version}</version>
243 <groupId>org.opendaylight.lispflowmapping</groupId>
244 <artifactId>lispflowmapping-code-commons</artifactId>
245 <version>${lispflowmapping.version}</version>
248 <groupId>org.opendaylight.lispflowmapping</groupId>
249 <artifactId>lispflowmapping-commons</artifactId>
250 <version>${lispflowmapping.version}</version>
253 <groupId>org.opendaylight.lispflowmapping</groupId>
254 <artifactId>mappingservice.api</artifactId>
255 <version>${lispflowmapping.version}</version>
258 <groupId>org.opendaylight.lispflowmapping</groupId>
259 <artifactId>mappingservice.clusterdao</artifactId>
260 <version>${lispflowmapping.version}</version>
263 <groupId>org.opendaylight.lispflowmapping</groupId>
264 <artifactId>mappingservice.config</artifactId>
265 <version>${lispflowmapping.version}</version>
268 <groupId>org.opendaylight.lispflowmapping</groupId>
269 <artifactId>mappingservice.implementation</artifactId>
270 <version>${lispflowmapping.version}</version>
274 <groupId>org.opendaylight.lispflowmapping</groupId>
275 <artifactId>mappingservice.netconf</artifactId>
276 <version>${lispflowmapping.version}</version>
279 <groupId>org.opendaylight.lispflowmapping</groupId>
280 <artifactId>mappingservice.neutron</artifactId>
281 <version>${lispflowmapping.version}</version>
284 <groupId>org.opendaylight.lispflowmapping</groupId>
285 <artifactId>mappingservice.northbound</artifactId>
286 <version>${lispflowmapping.version}</version>
289 <groupId>org.opendaylight.lispflowmapping</groupId>
290 <artifactId>mappingservice.shell</artifactId>
291 <version>${lispflowmapping.version}</version>
294 <groupId>org.opendaylight.lispflowmapping</groupId>
295 <artifactId>mappingservice.southbound</artifactId>
296 <version>${lispflowmapping.version}</version>
299 <groupId>org.opendaylight.lispflowmapping</groupId>
300 <artifactId>mappingservice.yangmodel</artifactId>
301 <version>${lispflowmapping.version}</version>
304 <groupId>org.opendaylight.yangtools</groupId>
305 <artifactId>yang-binding</artifactId>
306 <version>0.8.0-SNAPSHOT</version>
309 <groupId>org.opendaylight.yangtools</groupId>
310 <artifactId>yang-common</artifactId>
311 <version>0.8.0-SNAPSHOT</version>
314 <groupId>org.opendaylight.yangtools</groupId>
315 <artifactId>yang-data-api</artifactId>
316 <version>0.8.0-SNAPSHOT</version>
319 <groupId>org.opendaylight.yangtools</groupId>
320 <artifactId>yang-data-impl</artifactId>
321 <version>${yangtools.version}</version>
324 <groupId>org.opendaylight.yangtools</groupId>
325 <artifactId>yang-data-util</artifactId>
326 <version>0.8.0-SNAPSHOT</version>
329 <groupId>org.opendaylight.yangtools</groupId>
330 <artifactId>yang-model-api</artifactId>
331 <version>0.8.0-SNAPSHOT</version>
334 <groupId>org.opendaylight.yangtools</groupId>
335 <artifactId>yang-parser-impl</artifactId>
336 <version>${yangtools.version}</version>
339 <groupId>org.opendaylight.yangtools.model</groupId>
340 <artifactId>ietf-inet-types</artifactId>
341 <version>2010.09.24.7-SNAPSHOT</version>
344 <groupId>org.opendaylight.yangtools.model</groupId>
345 <artifactId>ietf-yang-types</artifactId>
346 <version>2010.09.24.7-SNAPSHOT</version>
349 <groupId>org.apache.karaf.features</groupId>
350 <artifactId>standard</artifactId>
351 <version>${karaf.version}</version>
352 <classifier>features</classifier>
354 <scope>runtime</scope>
358 <groupId>org.opendaylight.lispflowmapping</groupId>
359 <artifactId>features-lispflowmapping</artifactId>
360 <version>${lispflowmapping.version}</version>
361 <classifier>features</classifier>
363 <scope>runtime</scope>
366 <groupId>org.opendaylight.lispflowmapping</groupId>
367 <artifactId>common.unittest.tools</artifactId>
368 <version>${lispflowmapping.version}</version>
372 <groupId>org.opendaylight.yangtools</groupId>
373 <artifactId>mockito-configuration</artifactId>
374 <version>${yangtools.version}</version>
378 </dependencyManagement>
383 <!-- This configures the sort pom plugin to sort properties, dependencies
384 etc during a build. It helps to ensure consistent poms that are easy to read.
385 While the configuration should exist at a root level it is still up to the
386 individual projects to invoke it by defining the plugin in the build->plugins
388 <groupId>com.google.code.sortpom</groupId>
389 <artifactId>maven-sortpom-plugin</artifactId>
390 <version>2.2.1</version>
392 <createBackupFile>false</createBackupFile>
393 <encoding>${project.build.sourceEncoding}</encoding>
394 <keepBlankLines>true</keepBlankLines>
395 <lineSeparator>\n</lineSeparator>
396 <nrOfIndentSpace>2</nrOfIndentSpace>
397 <predefinedSortOrder>custom_1</predefinedSortOrder>
398 <sortDependencies>scope,groupId,artifactId</sortDependencies>
399 <sortPlugins>groupId,artifactId</sortPlugins>
400 <sortProperties>true</sortProperties>
407 <phase>verify</phase>
412 <groupId>org.apache.maven.plugins</groupId>
413 <artifactId>maven-assembly-plugin</artifactId>
414 <version>2.4</version>
417 <!-- TODO move up to ODL parent. -->
418 <!-- This is required to make sure that we delete the files which are
419 being generated under the src/main directory since by default only files
420 under target get cleaned up. Because the clean plugin is automatically invoked
421 you do NOT need to specify it in the build->plugin section. You would only
422 want to override this if you have additional folders which need to be cleaned
424 <artifactId>maven-clean-plugin</artifactId>
428 <directory>${xtend.dstdir}</directory>
430 <include>**</include>
434 <directory>${jmxGeneratorPath}</directory>
436 <include>**</include>
440 <directory>${salGeneratorPath}</directory>
442 <include>**</include>
449 <!-- Configures the java doc generation. Generally you should not have
450 to override this unless you need to exclude other packages etc. -->
451 <groupId>org.apache.maven.plugins</groupId>
452 <artifactId>maven-javadoc-plugin</artifactId>
454 <doclet>org.jboss.apiviz.APIviz</doclet>
456 <groupId>org.jboss.apiviz</groupId>
457 <artifactId>apiviz</artifactId>
458 <version>1.3.2.GA</version>
460 <finalName>${project.artifactId}-${project.version}</finalName>
461 <useStandardDocletOptions>true</useStandardDocletOptions>
462 <charset>UTF-8</charset>
463 <encoding>UTF-8</encoding>
464 <docencoding>UTF-8</docencoding>
465 <breakiterator>true</breakiterator>
466 <version>true</version>
467 <author>true</author>
468 <keywords>true</keywords>
469 <excludePackageNames>net.sf.jnetlib.*:cern.*:corejava:*.internal:edu.uci.*</excludePackageNames>
470 <failOnError>false</failOnError>
474 <groupId>org.apache.maven.plugins</groupId>
475 <artifactId>maven-jxr-plugin</artifactId>
476 <version>2.3</version>
478 <aggregate>true</aggregate>
479 <linkJavadoc>true</linkJavadoc>
480 <javadocDir>target/apidocs</javadocDir>
484 <groupId>org.codehaus.enunciate</groupId>
485 <artifactId>maven-enunciate-plugin</artifactId>
487 <configFile>enunciate.xml</configFile>
498 <!-- TODO: This should be in ODL parent -->
499 <groupId>org.codehaus.mojo</groupId>
500 <artifactId>build-helper-maven-plugin</artifactId>
505 <goal>add-source</goal>
507 <phase>generate-sources</phase>
510 <source>${yang.src.path}</source>
511 <source>${jmxGeneratorPath}</source>
512 <source>${salGeneratorPath}</source>
513 <source>${xtend.dstdir}</source>
521 <groupId>org.eclipse.m2e</groupId>
522 <artifactId>lifecycle-mapping</artifactId>
523 <version>1.0.0</version>
525 <lifecycleMappingMetadata>
528 <pluginExecutionFilter>
529 <groupId>org.codehaus.mojo</groupId>
530 <artifactId>properties-maven-plugin</artifactId>
531 <versionRange>[0.0,)</versionRange>
533 <goal>set-system-properties</goal>
535 </pluginExecutionFilter>
541 <pluginExecutionFilter>
542 <groupId>org.codehaus.enunciate</groupId>
543 <artifactId>maven-enunciate-plugin</artifactId>
544 <versionRange>[0.0,)</versionRange>
548 </pluginExecutionFilter>
554 <pluginExecutionFilter>
555 <groupId>org.jacoco</groupId>
556 <artifactId>jacoco-maven-plugin</artifactId>
557 <versionRange>[0.0,)</versionRange>
559 <goal>prepare-agent</goal>
560 <goal>pre-test</goal>
561 <goal>post-test</goal>
563 </pluginExecutionFilter>
569 <pluginExecutionFilter>
570 <groupId>org.ops4j.pax.exam</groupId>
571 <artifactId>maven-paxexam-plugin</artifactId>
572 <versionRange>[1.2.4,)</versionRange>
574 <goal>generate-depends-file</goal>
576 </pluginExecutionFilter>
582 <pluginExecutionFilter>
583 <groupId>org.apache.maven.plugins</groupId>
584 <artifactId>maven-checkstyle-plugin</artifactId>
585 <versionRange>[2.0,)</versionRange>
589 </pluginExecutionFilter>
595 <pluginExecutionFilter>
596 <groupId>org.opendaylight.yangtools</groupId>
597 <artifactId>yang-maven-plugin</artifactId>
598 <versionRange>[0.5,)</versionRange>
600 <goal>generate-sources</goal>
602 </pluginExecutionFilter>
608 </lifecycleMappingMetadata>
612 <!-- here we are defining the default generators for yang You may need
613 to override this in child poms if you want to define additional generators,
614 such as the JMX generator etc. -->
615 <groupId>org.opendaylight.yangtools</groupId>
616 <artifactId>yang-maven-plugin</artifactId>
617 <version>${yangtools.version}</version>
620 <groupId>org.opendaylight.yangtools</groupId>
621 <artifactId>maven-sal-api-gen-plugin</artifactId>
622 <version>${yangtools.version}</version>
628 <goal>generate-sources</goal>
631 <yangFilesRootDir>${yang.src.path}</yangFilesRootDir>
634 <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
635 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
638 <inspectDependencies>true</inspectDependencies>
647 <groupId>org.jacoco</groupId>
648 <artifactId>jacoco-maven-plugin</artifactId>
651 <id>prepare-ut-agent</id>
652 <phase>process-test-classes</phase>
654 <goal>prepare-agent</goal>
657 <destFile>${sonar.jacoco.reportPath}</destFile>
661 <id>prepare-it-agent</id>
662 <phase>pre-integration-test</phase>
664 <goal>prepare-agent</goal>
667 <destFile>${sonar.jacoco.itReportPath}</destFile>
683 <outputDirectory>${project.build.directory}/site</outputDirectory>
684 <excludeDefaults>true</excludeDefaults>
687 <groupId>org.apache.maven.plugins</groupId>
688 <artifactId>maven-javadoc-plugin</artifactId>
689 <version>2.8.1</version>
691 <doclet>org.jboss.apiviz.APIviz</doclet>
693 <groupId>org.jboss.apiviz</groupId>
694 <artifactId>apiviz</artifactId>
695 <version>1.3.2.GA</version>
697 <finalName>${project.artifactId}-${build.suffix}</finalName>
698 <useStandardDocletOptions>true</useStandardDocletOptions>
699 <charset>UTF-8</charset>
700 <encoding>UTF-8</encoding>
701 <docencoding>UTF-8</docencoding>
702 <breakiterator>true</breakiterator>
703 <version>true</version>
704 <author>true</author>
705 <keywords>true</keywords>
706 <excludePackageNames>*.internal:edu.uci.*</excludePackageNames>
710 <groupId>org.apache.maven.plugins</groupId>
711 <artifactId>maven-jxr-plugin</artifactId>
712 <version>2.3</version>
714 <aggregate>true</aggregate>
715 <linkJavadoc>true</linkJavadoc>
719 <groupId>org.apache.maven.plugins</groupId>
720 <artifactId>maven-project-info-reports-plugin</artifactId>
721 <version>${projectinfo}</version>
723 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
724 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
729 <report>index</report>
730 <report>project-team</report>
731 <report>license</report>
732 <report>mailing-list</report>
733 <report>plugin-management</report>
735 <report>issue-tracking</report>
737 <report>summary</report>
745 <distributionManagement>
746 <!-- Note: We want the nexus proxy property here because want to enable
747 devs to upload this artifact using mvn deploy to other maven repositories. -->
748 <!-- OpenDayLight Released artifact -->
750 <id>opendaylight-release</id>
751 <url>${nexusproxy}/repositories/opendaylight.release/</url>
753 <!-- OpenDayLight Snapshot artifact -->
755 <id>opendaylight-snapshot</id>
756 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
757 </snapshotRepository>
758 <!-- Site deployment -->
759 </distributionManagement>