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>
19 <relativePath>../../../odlparent/odlparent</relativePath>
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.southbound</artifactId>
284 <version>${lispflowmapping.version}</version>
287 <groupId>org.opendaylight.lispflowmapping</groupId>
288 <artifactId>mappingservice.yangmodel</artifactId>
289 <version>${lispflowmapping.version}</version>
292 <groupId>org.opendaylight.yangtools</groupId>
293 <artifactId>yang-binding</artifactId>
294 <version>0.7.0-SNAPSHOT</version>
297 <groupId>org.opendaylight.yangtools</groupId>
298 <artifactId>yang-common</artifactId>
299 <version>0.7.0-SNAPSHOT</version>
302 <groupId>org.opendaylight.yangtools</groupId>
303 <artifactId>yang-data-api</artifactId>
304 <version>0.7.0-SNAPSHOT</version>
307 <groupId>org.opendaylight.yangtools</groupId>
308 <artifactId>yang-data-impl</artifactId>
309 <version>${yangtools.version}</version>
312 <groupId>org.opendaylight.yangtools</groupId>
313 <artifactId>yang-data-util</artifactId>
314 <version>0.7.0-SNAPSHOT</version>
317 <groupId>org.opendaylight.yangtools</groupId>
318 <artifactId>yang-model-api</artifactId>
319 <version>0.7.0-SNAPSHOT</version>
322 <groupId>org.opendaylight.yangtools</groupId>
323 <artifactId>yang-parser-impl</artifactId>
324 <version>${yangtools.version}</version>
327 <groupId>org.opendaylight.yangtools.model</groupId>
328 <artifactId>ietf-inet-types</artifactId>
329 <version>2010.09.24.7-SNAPSHOT</version>
332 <groupId>org.opendaylight.yangtools.model</groupId>
333 <artifactId>ietf-yang-types</artifactId>
334 <version>2010.09.24.7-SNAPSHOT</version>
337 <groupId>org.apache.karaf.features</groupId>
338 <artifactId>standard</artifactId>
339 <version>${karaf.version}</version>
340 <classifier>features</classifier>
342 <scope>runtime</scope>
346 <groupId>org.opendaylight.lispflowmapping</groupId>
347 <artifactId>features-lispflowmapping</artifactId>
348 <version>${lispflowmapping.version}</version>
349 <classifier>features</classifier>
351 <scope>runtime</scope>
354 <groupId>org.opendaylight.lispflowmapping</groupId>
355 <artifactId>common.unittest.tools</artifactId>
356 <version>${lispflowmapping.version}</version>
360 <groupId>org.opendaylight.yangtools</groupId>
361 <artifactId>mockito-configuration</artifactId>
362 <version>${yangtools.version}</version>
366 </dependencyManagement>
371 <!-- This configures the sort pom plugin to sort properties, dependencies
372 etc during a build. It helps to ensure consistent poms that are easy to read.
373 While the configuration should exist at a root level it is still up to the
374 individual projects to invoke it by defining the plugin in the build->plugins
376 <groupId>com.google.code.sortpom</groupId>
377 <artifactId>maven-sortpom-plugin</artifactId>
378 <version>2.2.1</version>
380 <createBackupFile>false</createBackupFile>
381 <encoding>${project.build.sourceEncoding}</encoding>
382 <keepBlankLines>true</keepBlankLines>
383 <lineSeparator>\n</lineSeparator>
384 <nrOfIndentSpace>2</nrOfIndentSpace>
385 <predefinedSortOrder>custom_1</predefinedSortOrder>
386 <sortDependencies>scope,groupId,artifactId</sortDependencies>
387 <sortPlugins>groupId,artifactId</sortPlugins>
388 <sortProperties>true</sortProperties>
395 <phase>verify</phase>
400 <groupId>org.apache.maven.plugins</groupId>
401 <artifactId>maven-assembly-plugin</artifactId>
402 <version>2.4</version>
405 <!-- TODO move up to ODL parent. -->
406 <!-- This is required to make sure that we delete the files which are
407 being generated under the src/main directory since by default only files
408 under target get cleaned up. Because the clean plugin is automatically invoked
409 you do NOT need to specify it in the build->plugin section. You would only
410 want to override this if you have additional folders which need to be cleaned
412 <artifactId>maven-clean-plugin</artifactId>
416 <directory>${xtend.dstdir}</directory>
418 <include>**</include>
422 <directory>${jmxGeneratorPath}</directory>
424 <include>**</include>
428 <directory>${salGeneratorPath}</directory>
430 <include>**</include>
437 <!-- Configures the java doc generation. Generally you should not have
438 to override this unless you need to exclude other packages etc. -->
439 <groupId>org.apache.maven.plugins</groupId>
440 <artifactId>maven-javadoc-plugin</artifactId>
442 <doclet>org.jboss.apiviz.APIviz</doclet>
444 <groupId>org.jboss.apiviz</groupId>
445 <artifactId>apiviz</artifactId>
446 <version>1.3.2.GA</version>
448 <finalName>${project.artifactId}-${project.version}</finalName>
449 <useStandardDocletOptions>true</useStandardDocletOptions>
450 <charset>UTF-8</charset>
451 <encoding>UTF-8</encoding>
452 <docencoding>UTF-8</docencoding>
453 <breakiterator>true</breakiterator>
454 <version>true</version>
455 <author>true</author>
456 <keywords>true</keywords>
457 <excludePackageNames>net.sf.jnetlib.*:cern.*:corejava:*.internal:edu.uci.*</excludePackageNames>
458 <failOnError>false</failOnError>
462 <groupId>org.apache.maven.plugins</groupId>
463 <artifactId>maven-jxr-plugin</artifactId>
464 <version>2.3</version>
466 <aggregate>true</aggregate>
467 <linkJavadoc>true</linkJavadoc>
468 <javadocDir>target/apidocs</javadocDir>
472 <groupId>org.codehaus.enunciate</groupId>
473 <artifactId>maven-enunciate-plugin</artifactId>
475 <configFile>enunciate.xml</configFile>
486 <!-- TODO: This should be in ODL parent -->
487 <groupId>org.codehaus.mojo</groupId>
488 <artifactId>build-helper-maven-plugin</artifactId>
493 <goal>add-source</goal>
495 <phase>generate-sources</phase>
498 <source>${yang.src.path}</source>
499 <source>${jmxGeneratorPath}</source>
500 <source>${salGeneratorPath}</source>
501 <source>${xtend.dstdir}</source>
509 <groupId>org.eclipse.m2e</groupId>
510 <artifactId>lifecycle-mapping</artifactId>
511 <version>1.0.0</version>
513 <lifecycleMappingMetadata>
516 <pluginExecutionFilter>
517 <groupId>org.codehaus.mojo</groupId>
518 <artifactId>properties-maven-plugin</artifactId>
519 <versionRange>[0.0,)</versionRange>
521 <goal>set-system-properties</goal>
523 </pluginExecutionFilter>
529 <pluginExecutionFilter>
530 <groupId>org.codehaus.enunciate</groupId>
531 <artifactId>maven-enunciate-plugin</artifactId>
532 <versionRange>[0.0,)</versionRange>
536 </pluginExecutionFilter>
542 <pluginExecutionFilter>
543 <groupId>org.jacoco</groupId>
544 <artifactId>jacoco-maven-plugin</artifactId>
545 <versionRange>[0.0,)</versionRange>
547 <goal>prepare-agent</goal>
548 <goal>pre-test</goal>
549 <goal>post-test</goal>
551 </pluginExecutionFilter>
557 <pluginExecutionFilter>
558 <groupId>org.ops4j.pax.exam</groupId>
559 <artifactId>maven-paxexam-plugin</artifactId>
560 <versionRange>[1.2.4,)</versionRange>
562 <goal>generate-depends-file</goal>
564 </pluginExecutionFilter>
570 <pluginExecutionFilter>
571 <groupId>org.apache.maven.plugins</groupId>
572 <artifactId>maven-checkstyle-plugin</artifactId>
573 <versionRange>[2.0,)</versionRange>
577 </pluginExecutionFilter>
583 <pluginExecutionFilter>
584 <groupId>org.opendaylight.yangtools</groupId>
585 <artifactId>yang-maven-plugin</artifactId>
586 <versionRange>[0.5,)</versionRange>
588 <goal>generate-sources</goal>
590 </pluginExecutionFilter>
596 </lifecycleMappingMetadata>
600 <!-- here we are defining the default generators for yang You may need
601 to override this in child poms if you want to define additional generators,
602 such as the JMX generator etc. -->
603 <groupId>org.opendaylight.yangtools</groupId>
604 <artifactId>yang-maven-plugin</artifactId>
605 <version>${yangtools.version}</version>
608 <groupId>org.opendaylight.yangtools</groupId>
609 <artifactId>maven-sal-api-gen-plugin</artifactId>
610 <version>${yangtools.version}</version>
616 <goal>generate-sources</goal>
619 <yangFilesRootDir>${yang.src.path}</yangFilesRootDir>
622 <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
623 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
626 <inspectDependencies>true</inspectDependencies>
635 <groupId>org.jacoco</groupId>
636 <artifactId>jacoco-maven-plugin</artifactId>
639 <id>prepare-ut-agent</id>
640 <phase>process-test-classes</phase>
642 <goal>prepare-agent</goal>
645 <destFile>${sonar.jacoco.reportPath}</destFile>
649 <id>prepare-it-agent</id>
650 <phase>pre-integration-test</phase>
652 <goal>prepare-agent</goal>
655 <destFile>${sonar.jacoco.itReportPath}</destFile>
671 <outputDirectory>${project.build.directory}/site</outputDirectory>
672 <excludeDefaults>true</excludeDefaults>
675 <groupId>org.apache.maven.plugins</groupId>
676 <artifactId>maven-javadoc-plugin</artifactId>
677 <version>2.8.1</version>
679 <doclet>org.jboss.apiviz.APIviz</doclet>
681 <groupId>org.jboss.apiviz</groupId>
682 <artifactId>apiviz</artifactId>
683 <version>1.3.2.GA</version>
685 <finalName>${project.artifactId}-${build.suffix}</finalName>
686 <useStandardDocletOptions>true</useStandardDocletOptions>
687 <charset>UTF-8</charset>
688 <encoding>UTF-8</encoding>
689 <docencoding>UTF-8</docencoding>
690 <breakiterator>true</breakiterator>
691 <version>true</version>
692 <author>true</author>
693 <keywords>true</keywords>
694 <excludePackageNames>*.internal:edu.uci.*</excludePackageNames>
698 <groupId>org.apache.maven.plugins</groupId>
699 <artifactId>maven-jxr-plugin</artifactId>
700 <version>2.3</version>
702 <aggregate>true</aggregate>
703 <linkJavadoc>true</linkJavadoc>
707 <groupId>org.apache.maven.plugins</groupId>
708 <artifactId>maven-project-info-reports-plugin</artifactId>
709 <version>${projectinfo}</version>
711 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
712 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
717 <report>index</report>
718 <report>project-team</report>
719 <report>license</report>
720 <report>mailing-list</report>
721 <report>plugin-management</report>
723 <report>issue-tracking</report>
725 <report>summary</report>
733 <distributionManagement>
734 <!-- Note: We want the nexus proxy property here because want to enable
735 devs to upload this artifact using mvn deploy to other maven repositories. -->
736 <!-- OpenDayLight Released artifact -->
738 <id>opendaylight-release</id>
739 <url>${nexusproxy}/repositories/opendaylight.release/</url>
741 <!-- OpenDayLight Snapshot artifact -->
743 <id>opendaylight-snapshot</id>
744 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
745 </snapshotRepository>
746 <!-- Site deployment -->
747 </distributionManagement>