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.8-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.src.path>src/main/yang</yang.src.path>
53 <yangtools.version>0.8.0-SNAPSHOT</yangtools.version>
56 <dependencyManagement>
58 <!-- NOTE: The "Type" jar is considered default. You only need to specify
59 the type when it is something other than jar. -->
61 <groupId>junit-addons</groupId>
62 <artifactId>junit-addons</artifactId>
63 <version>1.4</version>
66 <groupId>org.apache.karaf.features</groupId>
67 <artifactId>framework</artifactId>
68 <version>${karaf.version}</version>
72 <groupId>org.hamcrest</groupId>
73 <artifactId>hamcrest-core</artifactId>
74 <version>${hamcrest.version}</version>
77 <groupId>org.jmock</groupId>
78 <artifactId>jmock-junit4</artifactId>
79 <version>2.6.0</version>
82 <groupId>org.jmock</groupId>
83 <artifactId>jmock-legacy</artifactId>
84 <version>2.6.0</version>
87 <groupId>org.opendaylight.controller</groupId>
88 <artifactId>clustering.services</artifactId>
89 <version>0.7.0-SNAPSHOT</version>
92 <groupId>org.opendaylight.controller</groupId>
93 <artifactId>config-api</artifactId>
94 <version>0.4.0-SNAPSHOT</version>
97 <groupId>org.opendaylight.controller</groupId>
98 <artifactId>config-manager</artifactId>
99 <version>${config.version}</version>
102 <groupId>org.opendaylight.controller</groupId>
103 <artifactId>config-util</artifactId>
104 <version>0.4.0-SNAPSHOT</version>
108 <groupId>org.opendaylight.controller</groupId>
109 <artifactId>containermanager</artifactId>
110 <version>0.7.0-SNAPSHOT</version>
114 <groupId>org.opendaylight.controller</groupId>
115 <artifactId>features-adsal</artifactId>
116 <version>${sal.version}</version>
117 <classifier>features</classifier>
121 <groupId>org.opendaylight.controller</groupId>
122 <artifactId>features-mdsal</artifactId>
123 <version>${mdsal.version}</version>
124 <classifier>features</classifier>
128 <groupId>org.opendaylight.controller</groupId>
129 <artifactId>features-restconf</artifactId>
130 <version>${mdsal.version}</version>
131 <classifier>features</classifier>
135 <groupId>org.opendaylight.controller</groupId>
136 <artifactId>features-netconf-connector</artifactId>
137 <version>${mdsal.version}</version>
138 <classifier>features</classifier>
142 <groupId>org.opendaylight.neutron</groupId>
143 <artifactId>features-neutron</artifactId>
144 <version>${neutron.version}</version>
145 <classifier>features</classifier>
149 <groupId>org.opendaylight.controller</groupId>
150 <artifactId>features-nsf</artifactId>
151 <version>${nsf.version}</version>
152 <classifier>features</classifier>
157 <groupId>org.opendaylight.controller</groupId>
158 <artifactId>karaf.branding</artifactId>
159 <version>${branding.version}</version>
160 <scope>compile</scope>
163 <groupId>org.opendaylight.controller</groupId>
164 <artifactId>netty-event-executor-config</artifactId>
165 <version>${config.version}</version>
168 <groupId>org.opendaylight.neutron</groupId>
169 <artifactId>neutron-spi</artifactId>
170 <version>0.6.0-SNAPSHOT</version>
173 <groupId>org.opendaylight.controller</groupId>
174 <artifactId>opendaylight-karaf-empty</artifactId>
175 <version>${karaf.empty.version}</version>
180 <groupId>org.opendaylight.controller</groupId>
181 <artifactId>opendaylight-karaf-resources</artifactId>
182 <version>${karaf.resources.version}</version>
185 <groupId>org.opendaylight.controller</groupId>
186 <artifactId>sal</artifactId>
187 <version>0.10.0-SNAPSHOT</version>
190 <groupId>org.opendaylight.controller</groupId>
191 <artifactId>sal-binding-api</artifactId>
192 <version>${mdsal.version}</version>
195 <groupId>org.opendaylight.controller</groupId>
196 <artifactId>sal-binding-broker-impl</artifactId>
197 <version>${mdsal.version}</version>
200 <groupId>org.opendaylight.controller</groupId>
201 <artifactId>sal-binding-config</artifactId>
202 <version>${mdsal.version}</version>
205 <groupId>org.opendaylight.controller</groupId>
206 <artifactId>sal-broker-impl</artifactId>
207 <version>${mdsal.version}</version>
210 <groupId>org.opendaylight.controller</groupId>
211 <artifactId>sal-common-util</artifactId>
212 <version>${mdsal.version}</version>
215 <groupId>org.opendaylight.controller</groupId>
216 <artifactId>sal-netconf-connector</artifactId>
217 <version>${mdsal.version}</version>
220 <groupId>org.opendaylight.controller</groupId>
221 <artifactId>threadpool-config-api</artifactId>
222 <version>${config.version}</version>
225 <groupId>org.opendaylight.controller</groupId>
226 <artifactId>threadpool-config-impl</artifactId>
227 <version>0.4.0-SNAPSHOT</version>
230 <groupId>org.opendaylight.lispflowmapping</groupId>
231 <artifactId>common.build.tools</artifactId>
232 <version>${lispflowmapping.version}</version>
235 <groupId>org.opendaylight.lispflowmapping</groupId>
236 <artifactId>lispflowmapping-code-commons</artifactId>
237 <version>${lispflowmapping.version}</version>
240 <groupId>org.opendaylight.lispflowmapping</groupId>
241 <artifactId>lispflowmapping-commons</artifactId>
242 <version>${lispflowmapping.version}</version>
245 <groupId>org.opendaylight.lispflowmapping</groupId>
246 <artifactId>mappingservice.api</artifactId>
247 <version>${lispflowmapping.version}</version>
250 <groupId>org.opendaylight.lispflowmapping</groupId>
251 <artifactId>mappingservice.clusterdao</artifactId>
252 <version>${lispflowmapping.version}</version>
255 <groupId>org.opendaylight.lispflowmapping</groupId>
256 <artifactId>mappingservice.config</artifactId>
257 <version>${lispflowmapping.version}</version>
260 <groupId>org.opendaylight.lispflowmapping</groupId>
261 <artifactId>mappingservice.implementation</artifactId>
262 <version>${lispflowmapping.version}</version>
266 <groupId>org.opendaylight.lispflowmapping</groupId>
267 <artifactId>mappingservice.netconf</artifactId>
268 <version>${lispflowmapping.version}</version>
271 <groupId>org.opendaylight.lispflowmapping</groupId>
272 <artifactId>mappingservice.neutron</artifactId>
273 <version>${lispflowmapping.version}</version>
276 <groupId>org.opendaylight.lispflowmapping</groupId>
277 <artifactId>mappingservice.northbound</artifactId>
278 <version>${lispflowmapping.version}</version>
281 <groupId>org.opendaylight.lispflowmapping</groupId>
282 <artifactId>mappingservice.shell</artifactId>
283 <version>${lispflowmapping.version}</version>
286 <groupId>org.opendaylight.lispflowmapping</groupId>
287 <artifactId>mappingservice.southbound</artifactId>
288 <version>${lispflowmapping.version}</version>
291 <groupId>org.opendaylight.lispflowmapping</groupId>
292 <artifactId>mappingservice.yangmodel</artifactId>
293 <version>${lispflowmapping.version}</version>
296 <groupId>org.opendaylight.yangtools</groupId>
297 <artifactId>yang-binding</artifactId>
298 <version>0.8.0-SNAPSHOT</version>
301 <groupId>org.opendaylight.yangtools</groupId>
302 <artifactId>yang-common</artifactId>
303 <version>0.8.0-SNAPSHOT</version>
306 <groupId>org.opendaylight.yangtools</groupId>
307 <artifactId>yang-data-api</artifactId>
308 <version>0.8.0-SNAPSHOT</version>
311 <groupId>org.opendaylight.yangtools</groupId>
312 <artifactId>yang-data-impl</artifactId>
313 <version>${yangtools.version}</version>
316 <groupId>org.opendaylight.yangtools</groupId>
317 <artifactId>yang-data-util</artifactId>
318 <version>0.8.0-SNAPSHOT</version>
321 <groupId>org.opendaylight.yangtools</groupId>
322 <artifactId>yang-model-api</artifactId>
323 <version>0.8.0-SNAPSHOT</version>
326 <groupId>org.opendaylight.yangtools</groupId>
327 <artifactId>yang-parser-impl</artifactId>
328 <version>${yangtools.version}</version>
331 <groupId>org.opendaylight.yangtools.model</groupId>
332 <artifactId>ietf-inet-types</artifactId>
333 <version>${ietf-inet-types.version}</version>
336 <groupId>org.opendaylight.yangtools.model</groupId>
337 <artifactId>ietf-yang-types</artifactId>
338 <version>${ietf-inet-types.version}</version>
341 <groupId>org.apache.karaf.features</groupId>
342 <artifactId>standard</artifactId>
343 <version>${karaf.version}</version>
344 <classifier>features</classifier>
346 <scope>runtime</scope>
350 <groupId>org.opendaylight.lispflowmapping</groupId>
351 <artifactId>features-lispflowmapping</artifactId>
352 <version>${lispflowmapping.version}</version>
353 <classifier>features</classifier>
355 <scope>runtime</scope>
358 <groupId>org.opendaylight.lispflowmapping</groupId>
359 <artifactId>common.unittest.tools</artifactId>
360 <version>${lispflowmapping.version}</version>
364 <groupId>org.opendaylight.yangtools</groupId>
365 <artifactId>mockito-configuration</artifactId>
366 <version>${yangtools.version}</version>
370 </dependencyManagement>
375 <!-- This configures the sort pom plugin to sort properties, dependencies
376 etc during a build. It helps to ensure consistent poms that are easy to read.
377 While the configuration should exist at a root level it is still up to the
378 individual projects to invoke it by defining the plugin in the build->plugins
380 <groupId>com.google.code.sortpom</groupId>
381 <artifactId>maven-sortpom-plugin</artifactId>
382 <version>2.2.1</version>
384 <createBackupFile>false</createBackupFile>
385 <encoding>${project.build.sourceEncoding}</encoding>
386 <keepBlankLines>true</keepBlankLines>
387 <lineSeparator>\n</lineSeparator>
388 <nrOfIndentSpace>2</nrOfIndentSpace>
389 <predefinedSortOrder>custom_1</predefinedSortOrder>
390 <sortDependencies>scope,groupId,artifactId</sortDependencies>
391 <sortPlugins>groupId,artifactId</sortPlugins>
392 <sortProperties>true</sortProperties>
399 <phase>verify</phase>
404 <groupId>org.apache.maven.plugins</groupId>
405 <artifactId>maven-assembly-plugin</artifactId>
406 <version>2.4</version>
409 <!-- TODO move up to ODL parent. -->
410 <!-- This is required to make sure that we delete the files which are
411 being generated under the src/main directory since by default only files
412 under target get cleaned up. Because the clean plugin is automatically invoked
413 you do NOT need to specify it in the build->plugin section. You would only
414 want to override this if you have additional folders which need to be cleaned
416 <artifactId>maven-clean-plugin</artifactId>
420 <directory>${xtend.dstdir}</directory>
422 <include>**</include>
426 <directory>${jmxGeneratorPath}</directory>
428 <include>**</include>
432 <directory>${salGeneratorPath}</directory>
434 <include>**</include>
441 <!-- Configures the java doc generation. Generally you should not have
442 to override this unless you need to exclude other packages etc. -->
443 <groupId>org.apache.maven.plugins</groupId>
444 <artifactId>maven-javadoc-plugin</artifactId>
446 <doclet>org.jboss.apiviz.APIviz</doclet>
448 <groupId>org.jboss.apiviz</groupId>
449 <artifactId>apiviz</artifactId>
450 <version>1.3.2.GA</version>
452 <finalName>${project.artifactId}-${project.version}</finalName>
453 <useStandardDocletOptions>true</useStandardDocletOptions>
454 <charset>UTF-8</charset>
455 <encoding>UTF-8</encoding>
456 <docencoding>UTF-8</docencoding>
457 <breakiterator>true</breakiterator>
458 <version>true</version>
459 <author>true</author>
460 <keywords>true</keywords>
461 <excludePackageNames>net.sf.jnetlib.*:cern.*:corejava:*.internal:edu.uci.*</excludePackageNames>
462 <failOnError>false</failOnError>
466 <groupId>org.apache.maven.plugins</groupId>
467 <artifactId>maven-jxr-plugin</artifactId>
468 <version>2.3</version>
470 <aggregate>true</aggregate>
471 <linkJavadoc>true</linkJavadoc>
472 <javadocDir>target/apidocs</javadocDir>
476 <!-- TODO: This should be in ODL parent -->
477 <groupId>org.codehaus.mojo</groupId>
478 <artifactId>build-helper-maven-plugin</artifactId>
483 <goal>add-source</goal>
485 <phase>generate-sources</phase>
488 <source>${yang.src.path}</source>
489 <source>${jmxGeneratorPath}</source>
490 <source>${salGeneratorPath}</source>
491 <source>${xtend.dstdir}</source>
499 <groupId>org.eclipse.m2e</groupId>
500 <artifactId>lifecycle-mapping</artifactId>
501 <version>1.0.0</version>
503 <lifecycleMappingMetadata>
506 <pluginExecutionFilter>
507 <groupId>org.codehaus.mojo</groupId>
508 <artifactId>properties-maven-plugin</artifactId>
509 <versionRange>[0.0,)</versionRange>
511 <goal>set-system-properties</goal>
513 </pluginExecutionFilter>
519 <pluginExecutionFilter>
520 <groupId>org.jacoco</groupId>
521 <artifactId>jacoco-maven-plugin</artifactId>
522 <versionRange>[0.0,)</versionRange>
524 <goal>prepare-agent</goal>
525 <goal>pre-test</goal>
526 <goal>post-test</goal>
528 </pluginExecutionFilter>
534 <pluginExecutionFilter>
535 <groupId>org.ops4j.pax.exam</groupId>
536 <artifactId>maven-paxexam-plugin</artifactId>
537 <versionRange>[1.2.4,)</versionRange>
539 <goal>generate-depends-file</goal>
541 </pluginExecutionFilter>
547 <pluginExecutionFilter>
548 <groupId>org.apache.maven.plugins</groupId>
549 <artifactId>maven-checkstyle-plugin</artifactId>
550 <versionRange>[2.0,)</versionRange>
554 </pluginExecutionFilter>
560 <pluginExecutionFilter>
561 <groupId>org.opendaylight.yangtools</groupId>
562 <artifactId>yang-maven-plugin</artifactId>
563 <versionRange>[0.5,)</versionRange>
565 <goal>generate-sources</goal>
567 </pluginExecutionFilter>
573 </lifecycleMappingMetadata>
577 <!-- here we are defining the default generators for yang You may need
578 to override this in child poms if you want to define additional generators,
579 such as the JMX generator etc. -->
580 <groupId>org.opendaylight.yangtools</groupId>
581 <artifactId>yang-maven-plugin</artifactId>
582 <version>${yangtools.version}</version>
585 <groupId>org.opendaylight.yangtools</groupId>
586 <artifactId>maven-sal-api-gen-plugin</artifactId>
587 <version>${yangtools.version}</version>
593 <goal>generate-sources</goal>
596 <yangFilesRootDir>${yang.src.path}</yangFilesRootDir>
599 <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
600 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
603 <inspectDependencies>true</inspectDependencies>
612 <groupId>org.jacoco</groupId>
613 <artifactId>jacoco-maven-plugin</artifactId>
616 <id>prepare-ut-agent</id>
617 <phase>process-test-classes</phase>
619 <goal>prepare-agent</goal>
622 <destFile>${sonar.jacoco.reportPath}</destFile>
626 <id>prepare-it-agent</id>
627 <phase>pre-integration-test</phase>
629 <goal>prepare-agent</goal>
632 <destFile>${sonar.jacoco.itReportPath}</destFile>
645 <groupId>org.codehaus.mojo</groupId>
646 <artifactId>build-helper-maven-plugin</artifactId>
652 <outputDirectory>${project.build.directory}/site</outputDirectory>
653 <excludeDefaults>true</excludeDefaults>
656 <groupId>org.apache.maven.plugins</groupId>
657 <artifactId>maven-javadoc-plugin</artifactId>
658 <version>2.8.1</version>
660 <doclet>org.jboss.apiviz.APIviz</doclet>
662 <groupId>org.jboss.apiviz</groupId>
663 <artifactId>apiviz</artifactId>
664 <version>1.3.2.GA</version>
666 <finalName>${project.artifactId}-${build.suffix}</finalName>
667 <useStandardDocletOptions>true</useStandardDocletOptions>
668 <charset>UTF-8</charset>
669 <encoding>UTF-8</encoding>
670 <docencoding>UTF-8</docencoding>
671 <breakiterator>true</breakiterator>
672 <version>true</version>
673 <author>true</author>
674 <keywords>true</keywords>
675 <excludePackageNames>*.internal:edu.uci.*</excludePackageNames>
679 <groupId>org.apache.maven.plugins</groupId>
680 <artifactId>maven-jxr-plugin</artifactId>
681 <version>2.3</version>
683 <aggregate>true</aggregate>
684 <linkJavadoc>true</linkJavadoc>
688 <groupId>org.apache.maven.plugins</groupId>
689 <artifactId>maven-project-info-reports-plugin</artifactId>
690 <version>${projectinfo}</version>
692 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
693 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
698 <report>index</report>
699 <report>project-team</report>
700 <report>license</report>
701 <report>mailing-list</report>
702 <report>plugin-management</report>
704 <report>issue-tracking</report>
706 <report>summary</report>
714 <distributionManagement>
715 <!-- Note: We want the nexus proxy property here because want to enable
716 devs to upload this artifact using mvn deploy to other maven repositories. -->
717 <!-- OpenDayLight Released artifact -->
719 <id>opendaylight-release</id>
720 <url>${nexusproxy}/repositories/opendaylight.release/</url>
722 <!-- OpenDayLight Snapshot artifact -->
724 <id>opendaylight-snapshot</id>
725 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
726 </snapshotRepository>
727 <!-- Site deployment -->
728 </distributionManagement>