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.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>commons.northbound</artifactId>
94 <version>0.6.0-SNAPSHOT</version>
97 <groupId>org.opendaylight.controller</groupId>
98 <artifactId>config-api</artifactId>
99 <version>0.4.0-SNAPSHOT</version>
102 <groupId>org.opendaylight.controller</groupId>
103 <artifactId>config-manager</artifactId>
104 <version>${config.version}</version>
107 <groupId>org.opendaylight.controller</groupId>
108 <artifactId>config-util</artifactId>
109 <version>0.4.0-SNAPSHOT</version>
112 <groupId>org.opendaylight.controller</groupId>
113 <artifactId>containermanager</artifactId>
114 <version>0.7.0-SNAPSHOT</version>
117 <groupId>org.opendaylight.controller</groupId>
118 <artifactId>features-adsal</artifactId>
119 <version>${sal.version}</version>
120 <classifier>features</classifier>
124 <groupId>org.opendaylight.controller</groupId>
125 <artifactId>features-mdsal</artifactId>
126 <version>${mdsal.version}</version>
127 <classifier>features</classifier>
131 <groupId>org.opendaylight.controller</groupId>
132 <artifactId>features-restconf</artifactId>
133 <version>${mdsal.version}</version>
134 <classifier>features</classifier>
138 <groupId>org.opendaylight.controller</groupId>
139 <artifactId>features-netconf-connector</artifactId>
140 <version>${mdsal.version}</version>
141 <classifier>features</classifier>
145 <groupId>org.opendaylight.neutron</groupId>
146 <artifactId>features-neutron</artifactId>
147 <version>${neutron.version}</version>
148 <classifier>features</classifier>
152 <groupId>org.opendaylight.controller</groupId>
153 <artifactId>features-nsf</artifactId>
154 <version>${nsf.version}</version>
155 <classifier>features</classifier>
160 <groupId>org.opendaylight.controller</groupId>
161 <artifactId>karaf.branding</artifactId>
162 <version>${branding.version}</version>
163 <scope>compile</scope>
166 <groupId>org.opendaylight.controller</groupId>
167 <artifactId>netty-event-executor-config</artifactId>
168 <version>${config.version}</version>
171 <groupId>org.opendaylight.neutron</groupId>
172 <artifactId>neutron-spi</artifactId>
173 <version>0.6.0-SNAPSHOT</version>
176 <groupId>org.opendaylight.controller</groupId>
177 <artifactId>opendaylight-karaf-empty</artifactId>
178 <version>${karaf.empty.version}</version>
183 <groupId>org.opendaylight.controller</groupId>
184 <artifactId>opendaylight-karaf-resources</artifactId>
185 <version>${karaf.resources.version}</version>
188 <groupId>org.opendaylight.controller</groupId>
189 <artifactId>sal</artifactId>
190 <version>0.10.0-SNAPSHOT</version>
193 <groupId>org.opendaylight.controller</groupId>
194 <artifactId>sal-binding-api</artifactId>
195 <version>${mdsal.version}</version>
198 <groupId>org.opendaylight.controller</groupId>
199 <artifactId>sal-binding-broker-impl</artifactId>
200 <version>${mdsal.version}</version>
203 <groupId>org.opendaylight.controller</groupId>
204 <artifactId>sal-binding-config</artifactId>
205 <version>${mdsal.version}</version>
208 <groupId>org.opendaylight.controller</groupId>
209 <artifactId>sal-broker-impl</artifactId>
210 <version>${mdsal.version}</version>
213 <groupId>org.opendaylight.controller</groupId>
214 <artifactId>sal-common-util</artifactId>
215 <version>${mdsal.version}</version>
218 <groupId>org.opendaylight.controller</groupId>
219 <artifactId>sal-netconf-connector</artifactId>
220 <version>${mdsal.version}</version>
223 <groupId>org.opendaylight.controller</groupId>
224 <artifactId>threadpool-config-api</artifactId>
225 <version>${config.version}</version>
228 <groupId>org.opendaylight.controller</groupId>
229 <artifactId>threadpool-config-impl</artifactId>
230 <version>0.4.0-SNAPSHOT</version>
233 <groupId>org.opendaylight.lispflowmapping</groupId>
234 <artifactId>common.build.tools</artifactId>
235 <version>${lispflowmapping.version}</version>
238 <groupId>org.opendaylight.lispflowmapping</groupId>
239 <artifactId>lispflowmapping-code-commons</artifactId>
240 <version>${lispflowmapping.version}</version>
243 <groupId>org.opendaylight.lispflowmapping</groupId>
244 <artifactId>lispflowmapping-commons</artifactId>
245 <version>${lispflowmapping.version}</version>
248 <groupId>org.opendaylight.lispflowmapping</groupId>
249 <artifactId>mappingservice.api</artifactId>
250 <version>${lispflowmapping.version}</version>
253 <groupId>org.opendaylight.lispflowmapping</groupId>
254 <artifactId>mappingservice.clusterdao</artifactId>
255 <version>${lispflowmapping.version}</version>
258 <groupId>org.opendaylight.lispflowmapping</groupId>
259 <artifactId>mappingservice.config</artifactId>
260 <version>${lispflowmapping.version}</version>
263 <groupId>org.opendaylight.lispflowmapping</groupId>
264 <artifactId>mappingservice.implementation</artifactId>
265 <version>${lispflowmapping.version}</version>
269 <groupId>org.opendaylight.lispflowmapping</groupId>
270 <artifactId>mappingservice.netconf</artifactId>
271 <version>${lispflowmapping.version}</version>
274 <groupId>org.opendaylight.lispflowmapping</groupId>
275 <artifactId>mappingservice.neutron</artifactId>
276 <version>${lispflowmapping.version}</version>
279 <groupId>org.opendaylight.lispflowmapping</groupId>
280 <artifactId>mappingservice.northbound</artifactId>
281 <version>${lispflowmapping.version}</version>
284 <groupId>org.opendaylight.lispflowmapping</groupId>
285 <artifactId>mappingservice.shell</artifactId>
286 <version>${lispflowmapping.version}</version>
289 <groupId>org.opendaylight.lispflowmapping</groupId>
290 <artifactId>mappingservice.southbound</artifactId>
291 <version>${lispflowmapping.version}</version>
294 <groupId>org.opendaylight.lispflowmapping</groupId>
295 <artifactId>mappingservice.yangmodel</artifactId>
296 <version>${lispflowmapping.version}</version>
299 <groupId>org.opendaylight.yangtools</groupId>
300 <artifactId>yang-binding</artifactId>
301 <version>0.8.0-SNAPSHOT</version>
304 <groupId>org.opendaylight.yangtools</groupId>
305 <artifactId>yang-common</artifactId>
306 <version>0.8.0-SNAPSHOT</version>
309 <groupId>org.opendaylight.yangtools</groupId>
310 <artifactId>yang-data-api</artifactId>
311 <version>0.8.0-SNAPSHOT</version>
314 <groupId>org.opendaylight.yangtools</groupId>
315 <artifactId>yang-data-impl</artifactId>
316 <version>${yangtools.version}</version>
319 <groupId>org.opendaylight.yangtools</groupId>
320 <artifactId>yang-data-util</artifactId>
321 <version>0.8.0-SNAPSHOT</version>
324 <groupId>org.opendaylight.yangtools</groupId>
325 <artifactId>yang-model-api</artifactId>
326 <version>0.8.0-SNAPSHOT</version>
329 <groupId>org.opendaylight.yangtools</groupId>
330 <artifactId>yang-parser-impl</artifactId>
331 <version>${yangtools.version}</version>
334 <groupId>org.opendaylight.yangtools.model</groupId>
335 <artifactId>ietf-inet-types</artifactId>
336 <version>2010.09.24.7-SNAPSHOT</version>
339 <groupId>org.opendaylight.yangtools.model</groupId>
340 <artifactId>ietf-yang-types</artifactId>
341 <version>2010.09.24.7-SNAPSHOT</version>
344 <groupId>org.apache.karaf.features</groupId>
345 <artifactId>standard</artifactId>
346 <version>${karaf.version}</version>
347 <classifier>features</classifier>
349 <scope>runtime</scope>
353 <groupId>org.opendaylight.lispflowmapping</groupId>
354 <artifactId>features-lispflowmapping</artifactId>
355 <version>${lispflowmapping.version}</version>
356 <classifier>features</classifier>
358 <scope>runtime</scope>
361 <groupId>org.opendaylight.lispflowmapping</groupId>
362 <artifactId>common.unittest.tools</artifactId>
363 <version>${lispflowmapping.version}</version>
367 <groupId>org.opendaylight.yangtools</groupId>
368 <artifactId>mockito-configuration</artifactId>
369 <version>${yangtools.version}</version>
373 </dependencyManagement>
378 <!-- This configures the sort pom plugin to sort properties, dependencies
379 etc during a build. It helps to ensure consistent poms that are easy to read.
380 While the configuration should exist at a root level it is still up to the
381 individual projects to invoke it by defining the plugin in the build->plugins
383 <groupId>com.google.code.sortpom</groupId>
384 <artifactId>maven-sortpom-plugin</artifactId>
385 <version>2.2.1</version>
387 <createBackupFile>false</createBackupFile>
388 <encoding>${project.build.sourceEncoding}</encoding>
389 <keepBlankLines>true</keepBlankLines>
390 <lineSeparator>\n</lineSeparator>
391 <nrOfIndentSpace>2</nrOfIndentSpace>
392 <predefinedSortOrder>custom_1</predefinedSortOrder>
393 <sortDependencies>scope,groupId,artifactId</sortDependencies>
394 <sortPlugins>groupId,artifactId</sortPlugins>
395 <sortProperties>true</sortProperties>
402 <phase>verify</phase>
407 <groupId>org.apache.maven.plugins</groupId>
408 <artifactId>maven-assembly-plugin</artifactId>
409 <version>2.4</version>
412 <!-- TODO move up to ODL parent. -->
413 <!-- This is required to make sure that we delete the files which are
414 being generated under the src/main directory since by default only files
415 under target get cleaned up. Because the clean plugin is automatically invoked
416 you do NOT need to specify it in the build->plugin section. You would only
417 want to override this if you have additional folders which need to be cleaned
419 <artifactId>maven-clean-plugin</artifactId>
423 <directory>${xtend.dstdir}</directory>
425 <include>**</include>
429 <directory>${jmxGeneratorPath}</directory>
431 <include>**</include>
435 <directory>${salGeneratorPath}</directory>
437 <include>**</include>
444 <!-- Configures the java doc generation. Generally you should not have
445 to override this unless you need to exclude other packages etc. -->
446 <groupId>org.apache.maven.plugins</groupId>
447 <artifactId>maven-javadoc-plugin</artifactId>
449 <doclet>org.jboss.apiviz.APIviz</doclet>
451 <groupId>org.jboss.apiviz</groupId>
452 <artifactId>apiviz</artifactId>
453 <version>1.3.2.GA</version>
455 <finalName>${project.artifactId}-${project.version}</finalName>
456 <useStandardDocletOptions>true</useStandardDocletOptions>
457 <charset>UTF-8</charset>
458 <encoding>UTF-8</encoding>
459 <docencoding>UTF-8</docencoding>
460 <breakiterator>true</breakiterator>
461 <version>true</version>
462 <author>true</author>
463 <keywords>true</keywords>
464 <excludePackageNames>net.sf.jnetlib.*:cern.*:corejava:*.internal:edu.uci.*</excludePackageNames>
465 <failOnError>false</failOnError>
469 <groupId>org.apache.maven.plugins</groupId>
470 <artifactId>maven-jxr-plugin</artifactId>
471 <version>2.3</version>
473 <aggregate>true</aggregate>
474 <linkJavadoc>true</linkJavadoc>
475 <javadocDir>target/apidocs</javadocDir>
479 <groupId>org.codehaus.enunciate</groupId>
480 <artifactId>maven-enunciate-plugin</artifactId>
482 <configFile>enunciate.xml</configFile>
493 <!-- TODO: This should be in ODL parent -->
494 <groupId>org.codehaus.mojo</groupId>
495 <artifactId>build-helper-maven-plugin</artifactId>
500 <goal>add-source</goal>
502 <phase>generate-sources</phase>
505 <source>${yang.src.path}</source>
506 <source>${jmxGeneratorPath}</source>
507 <source>${salGeneratorPath}</source>
508 <source>${xtend.dstdir}</source>
516 <groupId>org.eclipse.m2e</groupId>
517 <artifactId>lifecycle-mapping</artifactId>
518 <version>1.0.0</version>
520 <lifecycleMappingMetadata>
523 <pluginExecutionFilter>
524 <groupId>org.codehaus.mojo</groupId>
525 <artifactId>properties-maven-plugin</artifactId>
526 <versionRange>[0.0,)</versionRange>
528 <goal>set-system-properties</goal>
530 </pluginExecutionFilter>
536 <pluginExecutionFilter>
537 <groupId>org.codehaus.enunciate</groupId>
538 <artifactId>maven-enunciate-plugin</artifactId>
539 <versionRange>[0.0,)</versionRange>
543 </pluginExecutionFilter>
549 <pluginExecutionFilter>
550 <groupId>org.jacoco</groupId>
551 <artifactId>jacoco-maven-plugin</artifactId>
552 <versionRange>[0.0,)</versionRange>
554 <goal>prepare-agent</goal>
555 <goal>pre-test</goal>
556 <goal>post-test</goal>
558 </pluginExecutionFilter>
564 <pluginExecutionFilter>
565 <groupId>org.ops4j.pax.exam</groupId>
566 <artifactId>maven-paxexam-plugin</artifactId>
567 <versionRange>[1.2.4,)</versionRange>
569 <goal>generate-depends-file</goal>
571 </pluginExecutionFilter>
577 <pluginExecutionFilter>
578 <groupId>org.apache.maven.plugins</groupId>
579 <artifactId>maven-checkstyle-plugin</artifactId>
580 <versionRange>[2.0,)</versionRange>
584 </pluginExecutionFilter>
590 <pluginExecutionFilter>
591 <groupId>org.opendaylight.yangtools</groupId>
592 <artifactId>yang-maven-plugin</artifactId>
593 <versionRange>[0.5,)</versionRange>
595 <goal>generate-sources</goal>
597 </pluginExecutionFilter>
603 </lifecycleMappingMetadata>
607 <!-- here we are defining the default generators for yang You may need
608 to override this in child poms if you want to define additional generators,
609 such as the JMX generator etc. -->
610 <groupId>org.opendaylight.yangtools</groupId>
611 <artifactId>yang-maven-plugin</artifactId>
612 <version>${yangtools.version}</version>
615 <groupId>org.opendaylight.yangtools</groupId>
616 <artifactId>maven-sal-api-gen-plugin</artifactId>
617 <version>${yangtools.version}</version>
623 <goal>generate-sources</goal>
626 <yangFilesRootDir>${yang.src.path}</yangFilesRootDir>
629 <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
630 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
633 <inspectDependencies>true</inspectDependencies>
642 <groupId>org.jacoco</groupId>
643 <artifactId>jacoco-maven-plugin</artifactId>
646 <id>prepare-ut-agent</id>
647 <phase>process-test-classes</phase>
649 <goal>prepare-agent</goal>
652 <destFile>${sonar.jacoco.reportPath}</destFile>
656 <id>prepare-it-agent</id>
657 <phase>pre-integration-test</phase>
659 <goal>prepare-agent</goal>
662 <destFile>${sonar.jacoco.itReportPath}</destFile>
675 <groupId>org.codehaus.mojo</groupId>
676 <artifactId>build-helper-maven-plugin</artifactId>
682 <outputDirectory>${project.build.directory}/site</outputDirectory>
683 <excludeDefaults>true</excludeDefaults>
686 <groupId>org.apache.maven.plugins</groupId>
687 <artifactId>maven-javadoc-plugin</artifactId>
688 <version>2.8.1</version>
690 <doclet>org.jboss.apiviz.APIviz</doclet>
692 <groupId>org.jboss.apiviz</groupId>
693 <artifactId>apiviz</artifactId>
694 <version>1.3.2.GA</version>
696 <finalName>${project.artifactId}-${build.suffix}</finalName>
697 <useStandardDocletOptions>true</useStandardDocletOptions>
698 <charset>UTF-8</charset>
699 <encoding>UTF-8</encoding>
700 <docencoding>UTF-8</docencoding>
701 <breakiterator>true</breakiterator>
702 <version>true</version>
703 <author>true</author>
704 <keywords>true</keywords>
705 <excludePackageNames>*.internal:edu.uci.*</excludePackageNames>
709 <groupId>org.apache.maven.plugins</groupId>
710 <artifactId>maven-jxr-plugin</artifactId>
711 <version>2.3</version>
713 <aggregate>true</aggregate>
714 <linkJavadoc>true</linkJavadoc>
718 <groupId>org.apache.maven.plugins</groupId>
719 <artifactId>maven-project-info-reports-plugin</artifactId>
720 <version>${projectinfo}</version>
722 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
723 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
728 <report>index</report>
729 <report>project-team</report>
730 <report>license</report>
731 <report>mailing-list</report>
732 <report>plugin-management</report>
734 <report>issue-tracking</report>
736 <report>summary</report>
744 <distributionManagement>
745 <!-- Note: We want the nexus proxy property here because want to enable
746 devs to upload this artifact using mvn deploy to other maven repositories. -->
747 <!-- OpenDayLight Released artifact -->
749 <id>opendaylight-release</id>
750 <url>${nexusproxy}/repositories/opendaylight.release/</url>
752 <!-- OpenDayLight Snapshot artifact -->
754 <id>opendaylight-snapshot</id>
755 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
756 </snapshotRepository>
757 <!-- Site deployment -->
758 </distributionManagement>