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 <controller.checkstyle.version>0.1.0-SNAPSHOT</controller.checkstyle.version>
35 <feature.test.version>0.7.0-SNAPSHOT</feature.test.version>
36 <forwardingrulesmanager.version>0.5.0</forwardingrulesmanager.version>
37 <ietf-inet-types.version>2010.09.24.7-SNAPSHOT</ietf-inet-types.version>
38 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
39 <karaf.empty.version>1.5.0-SNAPSHOT</karaf.empty.version>
40 <karaf.resources.version>1.5.0-SNAPSHOT</karaf.resources.version>
41 <lispflowmapping.version>1.2.0-SNAPSHOT</lispflowmapping.version>
42 <mdsal.version>1.2.0-SNAPSHOT</mdsal.version>
43 <neutron.version>0.5.0-SNAPSHOT</neutron.version>
44 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
45 <nsf.version>0.5.0-SNAPSHOT</nsf.version>
46 <sal.version>0.9.0-SNAPSHOT</sal.version>
47 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
48 <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
49 <sonar.jacoco.reportPath>target/jacoco.exec</sonar.jacoco.reportPath>
50 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
51 <statisticsmanager.version>0.5.0</statisticsmanager.version>
52 <xtend.dstdir>src/main/xtend-gen</xtend.dstdir>
53 <yang-jmx-generator.version>1.1.0-SNAPSHOT</yang-jmx-generator.version>
54 <yang.binding.version>0.6.1</yang.binding.version>
55 <yang.codegen.version>0.6.1</yang.codegen.version>
56 <yang.src.path>src/main/yang</yang.src.path>
57 <yang.version>0.6.1</yang.version>
58 <yangtools.binding.version>0.6.1</yangtools.binding.version>
59 <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
62 <dependencyManagement>
64 <!-- NOTE: The "Type" jar is considered default. You only need to specify
65 the type when it is something other than jar. -->
67 <groupId>junit-addons</groupId>
68 <artifactId>junit-addons</artifactId>
69 <version>1.4</version>
72 <groupId>org.apache.karaf.features</groupId>
73 <artifactId>framework</artifactId>
74 <version>${karaf.version}</version>
78 <groupId>org.hamcrest</groupId>
79 <artifactId>hamcrest-core</artifactId>
80 <version>${hamcrest.version}</version>
83 <groupId>org.jmock</groupId>
84 <artifactId>jmock-junit4</artifactId>
85 <version>2.6.0</version>
88 <groupId>org.jmock</groupId>
89 <artifactId>jmock-legacy</artifactId>
90 <version>2.6.0</version>
93 <groupId>org.opendaylight.controller</groupId>
94 <artifactId>clustering.services</artifactId>
95 <version>0.6.0-SNAPSHOT</version>
98 <groupId>org.opendaylight.controller</groupId>
99 <artifactId>commons.northbound</artifactId>
100 <version>0.5.0-SNAPSHOT</version>
103 <groupId>org.opendaylight.controller</groupId>
104 <artifactId>config-api</artifactId>
105 <version>0.3.0-SNAPSHOT</version>
108 <groupId>org.opendaylight.controller</groupId>
109 <artifactId>config-manager</artifactId>
110 <version>${config.version}</version>
113 <groupId>org.opendaylight.controller</groupId>
114 <artifactId>config-util</artifactId>
115 <version>0.3.0-SNAPSHOT</version>
118 <groupId>org.opendaylight.controller</groupId>
119 <artifactId>containermanager</artifactId>
120 <version>0.6.0-SNAPSHOT</version>
123 <groupId>org.opendaylight.controller</groupId>
124 <artifactId>features-adsal</artifactId>
125 <version>${sal.version}</version>
126 <classifier>features</classifier>
130 <groupId>org.opendaylight.controller</groupId>
131 <artifactId>features-mdsal</artifactId>
132 <version>${mdsal.version}</version>
133 <classifier>features</classifier>
137 <groupId>org.opendaylight.controller</groupId>
138 <artifactId>features-netconf-connector</artifactId>
139 <version>${mdsal.version}</version>
140 <classifier>features</classifier>
144 <groupId>org.opendaylight.neutron</groupId>
145 <artifactId>features-neutron</artifactId>
146 <version>${neutron.version}</version>
147 <classifier>features</classifier>
151 <groupId>org.opendaylight.controller</groupId>
152 <artifactId>features-nsf</artifactId>
153 <version>${nsf.version}</version>
154 <classifier>features</classifier>
159 <groupId>org.opendaylight.controller</groupId>
160 <artifactId>karaf.branding</artifactId>
161 <version>${branding.version}</version>
162 <scope>compile</scope>
165 <groupId>org.opendaylight.controller</groupId>
166 <artifactId>netty-event-executor-config</artifactId>
167 <version>${config.version}</version>
170 <groupId>org.opendaylight.neutron</groupId>
171 <artifactId>neutron-spi</artifactId>
172 <version>0.5.0-SNAPSHOT</version>
175 <groupId>org.opendaylight.controller</groupId>
176 <artifactId>opendaylight-karaf-empty</artifactId>
177 <version>${karaf.empty.version}</version>
182 <groupId>org.opendaylight.controller</groupId>
183 <artifactId>opendaylight-karaf-resources</artifactId>
184 <version>${karaf.resources.version}</version>
187 <groupId>org.opendaylight.controller</groupId>
188 <artifactId>sal</artifactId>
189 <version>0.9.0-SNAPSHOT</version>
192 <groupId>org.opendaylight.controller</groupId>
193 <artifactId>sal-binding-api</artifactId>
194 <version>${mdsal.version}</version>
197 <groupId>org.opendaylight.controller</groupId>
198 <artifactId>sal-binding-broker-impl</artifactId>
199 <version>${mdsal.version}</version>
202 <groupId>org.opendaylight.controller</groupId>
203 <artifactId>sal-binding-config</artifactId>
204 <version>${mdsal.version}</version>
207 <groupId>org.opendaylight.controller</groupId>
208 <artifactId>sal-broker-impl</artifactId>
209 <version>${mdsal.version}</version>
212 <groupId>org.opendaylight.controller</groupId>
213 <artifactId>sal-common-util</artifactId>
214 <version>${mdsal.version}</version>
217 <groupId>org.opendaylight.controller</groupId>
218 <artifactId>sal-netconf-connector</artifactId>
219 <version>${mdsal.version}</version>
222 <groupId>org.opendaylight.controller</groupId>
223 <artifactId>threadpool-config-api</artifactId>
224 <version>${config.version}</version>
227 <groupId>org.opendaylight.controller</groupId>
228 <artifactId>threadpool-config-impl</artifactId>
229 <version>0.3.0-SNAPSHOT</version>
232 <groupId>org.opendaylight.lispflowmapping</groupId>
233 <artifactId>common.build.tools</artifactId>
234 <version>${lispflowmapping.version}</version>
237 <groupId>org.opendaylight.lispflowmapping</groupId>
238 <artifactId>lispflowmapping-code-commons</artifactId>
239 <version>${lispflowmapping.version}</version>
242 <groupId>org.opendaylight.lispflowmapping</groupId>
243 <artifactId>lispflowmapping-commons</artifactId>
244 <version>${lispflowmapping.version}</version>
247 <groupId>org.opendaylight.lispflowmapping</groupId>
248 <artifactId>mappingservice.api</artifactId>
249 <version>${lispflowmapping.version}</version>
252 <groupId>org.opendaylight.lispflowmapping</groupId>
253 <artifactId>mappingservice.clusterdao</artifactId>
254 <version>${lispflowmapping.version}</version>
257 <groupId>org.opendaylight.lispflowmapping</groupId>
258 <artifactId>mappingservice.config</artifactId>
259 <version>${lispflowmapping.version}</version>
262 <groupId>org.opendaylight.lispflowmapping</groupId>
263 <artifactId>mappingservice.implementation</artifactId>
264 <version>${lispflowmapping.version}</version>
268 <groupId>org.opendaylight.lispflowmapping</groupId>
269 <artifactId>mappingservice.netconf</artifactId>
270 <version>${lispflowmapping.version}</version>
273 <groupId>org.opendaylight.lispflowmapping</groupId>
274 <artifactId>mappingservice.neutron</artifactId>
275 <version>${lispflowmapping.version}</version>
278 <groupId>org.opendaylight.lispflowmapping</groupId>
279 <artifactId>mappingservice.northbound</artifactId>
280 <version>${lispflowmapping.version}</version>
283 <groupId>org.opendaylight.lispflowmapping</groupId>
284 <artifactId>mappingservice.southbound</artifactId>
285 <version>${lispflowmapping.version}</version>
288 <groupId>org.opendaylight.lispflowmapping</groupId>
289 <artifactId>mappingservice.yangmodel</artifactId>
290 <version>${lispflowmapping.version}</version>
293 <groupId>org.opendaylight.yangtools</groupId>
294 <artifactId>yang-binding</artifactId>
295 <version>0.7.0-SNAPSHOT</version>
298 <groupId>org.opendaylight.yangtools</groupId>
299 <artifactId>yang-common</artifactId>
300 <version>0.7.0-SNAPSHOT</version>
303 <groupId>org.opendaylight.yangtools</groupId>
304 <artifactId>yang-data-api</artifactId>
305 <version>0.7.0-SNAPSHOT</version>
308 <groupId>org.opendaylight.yangtools</groupId>
309 <artifactId>yang-data-impl</artifactId>
310 <version>${yangtools.version}</version>
313 <groupId>org.opendaylight.yangtools</groupId>
314 <artifactId>yang-data-util</artifactId>
315 <version>0.7.0-SNAPSHOT</version>
318 <groupId>org.opendaylight.yangtools</groupId>
319 <artifactId>yang-model-api</artifactId>
320 <version>0.7.0-SNAPSHOT</version>
323 <groupId>org.opendaylight.yangtools</groupId>
324 <artifactId>yang-parser-impl</artifactId>
325 <version>${yangtools.version}</version>
328 <groupId>org.opendaylight.yangtools.model</groupId>
329 <artifactId>ietf-inet-types</artifactId>
330 <version>2010.09.24.7-SNAPSHOT</version>
333 <groupId>org.opendaylight.yangtools.model</groupId>
334 <artifactId>ietf-yang-types</artifactId>
335 <version>2010.09.24.7-SNAPSHOT</version>
338 <groupId>org.apache.karaf.features</groupId>
339 <artifactId>standard</artifactId>
340 <version>${karaf.version}</version>
341 <classifier>features</classifier>
343 <scope>runtime</scope>
347 <groupId>org.opendaylight.lispflowmapping</groupId>
348 <artifactId>features-lispflowmapping</artifactId>
349 <version>${lispflowmapping.version}</version>
350 <classifier>features</classifier>
352 <scope>runtime</scope>
355 <groupId>org.opendaylight.lispflowmapping</groupId>
356 <artifactId>common.unittest.tools</artifactId>
357 <version>${lispflowmapping.version}</version>
361 <groupId>org.opendaylight.yangtools</groupId>
362 <artifactId>mockito-configuration</artifactId>
363 <version>${yangtools.version}</version>
367 </dependencyManagement>
372 <!-- This configures the sort pom plugin to sort properties, dependencies
373 etc during a build. It helps to ensure consistent poms that are easy to read.
374 While the configuration should exist at a root level it is still up to the
375 individual projects to invoke it by defining the plugin in the build->plugins
377 <groupId>com.google.code.sortpom</groupId>
378 <artifactId>maven-sortpom-plugin</artifactId>
379 <version>2.2.1</version>
381 <createBackupFile>false</createBackupFile>
382 <encoding>${project.build.sourceEncoding}</encoding>
383 <keepBlankLines>true</keepBlankLines>
384 <lineSeparator>\n</lineSeparator>
385 <nrOfIndentSpace>2</nrOfIndentSpace>
386 <predefinedSortOrder>custom_1</predefinedSortOrder>
387 <sortDependencies>scope,groupId,artifactId</sortDependencies>
388 <sortPlugins>groupId,artifactId</sortPlugins>
389 <sortProperties>true</sortProperties>
396 <phase>verify</phase>
401 <groupId>org.apache.maven.plugins</groupId>
402 <artifactId>maven-assembly-plugin</artifactId>
403 <version>2.4</version>
406 <!-- Define the configuration for the checkstyle plugin. Import the rules from the controller project, which
407 is defined as a dependency. Print rule violations to the console, but don't fail the build if violations
409 <groupId>org.apache.maven.plugins</groupId>
410 <artifactId>maven-checkstyle-plugin</artifactId>
411 <version>${checkstyle.version}</version>
413 <failOnViolation>false</failOnViolation>
414 <configLocation>controller/checkstyle.xml</configLocation>
415 <consoleOutput>true</consoleOutput>
416 <includeTestSourceDirectory>true</includeTestSourceDirectory>
417 <sourceDirectory>${project.basedir}</sourceDirectory>
418 <includes>**\/*.java,**\/*.xml,**\/*.yang</includes>
419 <excludes>**\/target\/,**\/target-ide\/,**\/${jmxGeneratorPath}\/,**\/${salGeneratorPath}\/</excludes>
423 <groupId>org.opendaylight.controller</groupId>
424 <artifactId>checkstyle</artifactId>
425 <version>${controller.checkstyle.version}</version>
433 <phase>process-sources</phase>
438 <!-- TODO move up to ODL parent. -->
439 <!-- This is required to make sure that we delete the files which are
440 being generated under the src/main directory since by default only files
441 under target get cleaned up. Because the clean plugin is automatically invoked
442 you do NOT need to specify it in the build->plugin section. You would only
443 want to override this if you have additional folders which need to be cleaned
445 <artifactId>maven-clean-plugin</artifactId>
449 <directory>${xtend.dstdir}</directory>
451 <include>**</include>
455 <directory>${jmxGeneratorPath}</directory>
457 <include>**</include>
461 <directory>${salGeneratorPath}</directory>
463 <include>**</include>
470 <!-- Configures the java doc generation. Generally you should not have
471 to override this unless you need to exclude other packages etc. -->
472 <groupId>org.apache.maven.plugins</groupId>
473 <artifactId>maven-javadoc-plugin</artifactId>
475 <doclet>org.jboss.apiviz.APIviz</doclet>
477 <groupId>org.jboss.apiviz</groupId>
478 <artifactId>apiviz</artifactId>
479 <version>1.3.2.GA</version>
481 <finalName>${project.artifactId}-${project.version}</finalName>
482 <useStandardDocletOptions>true</useStandardDocletOptions>
483 <charset>UTF-8</charset>
484 <encoding>UTF-8</encoding>
485 <docencoding>UTF-8</docencoding>
486 <breakiterator>true</breakiterator>
487 <version>true</version>
488 <author>true</author>
489 <keywords>true</keywords>
490 <excludePackageNames>net.sf.jnetlib.*:cern.*:corejava:*.internal:edu.uci.*</excludePackageNames>
491 <failOnError>false</failOnError>
495 <groupId>org.apache.maven.plugins</groupId>
496 <artifactId>maven-jxr-plugin</artifactId>
497 <version>2.3</version>
499 <aggregate>true</aggregate>
500 <linkJavadoc>true</linkJavadoc>
501 <javadocDir>target/apidocs</javadocDir>
505 <groupId>org.codehaus.enunciate</groupId>
506 <artifactId>maven-enunciate-plugin</artifactId>
508 <configFile>enunciate.xml</configFile>
519 <!-- TODO: This should be in ODL parent -->
520 <groupId>org.codehaus.mojo</groupId>
521 <artifactId>build-helper-maven-plugin</artifactId>
526 <goal>add-source</goal>
528 <phase>generate-sources</phase>
531 <source>${yang.src.path}</source>
532 <source>${jmxGeneratorPath}</source>
533 <source>${salGeneratorPath}</source>
534 <source>${xtend.dstdir}</source>
542 <groupId>org.eclipse.m2e</groupId>
543 <artifactId>lifecycle-mapping</artifactId>
544 <version>1.0.0</version>
546 <lifecycleMappingMetadata>
549 <pluginExecutionFilter>
550 <groupId>org.codehaus.mojo</groupId>
551 <artifactId>properties-maven-plugin</artifactId>
552 <versionRange>[0.0,)</versionRange>
554 <goal>set-system-properties</goal>
556 </pluginExecutionFilter>
562 <pluginExecutionFilter>
563 <groupId>org.codehaus.enunciate</groupId>
564 <artifactId>maven-enunciate-plugin</artifactId>
565 <versionRange>[0.0,)</versionRange>
569 </pluginExecutionFilter>
575 <pluginExecutionFilter>
576 <groupId>org.jacoco</groupId>
577 <artifactId>jacoco-maven-plugin</artifactId>
578 <versionRange>[0.0,)</versionRange>
580 <goal>prepare-agent</goal>
581 <goal>pre-test</goal>
582 <goal>post-test</goal>
584 </pluginExecutionFilter>
590 <pluginExecutionFilter>
591 <groupId>org.ops4j.pax.exam</groupId>
592 <artifactId>maven-paxexam-plugin</artifactId>
593 <versionRange>[1.2.4,)</versionRange>
595 <goal>generate-depends-file</goal>
597 </pluginExecutionFilter>
603 <pluginExecutionFilter>
604 <groupId>org.apache.maven.plugins</groupId>
605 <artifactId>maven-checkstyle-plugin</artifactId>
606 <versionRange>[2.0,)</versionRange>
610 </pluginExecutionFilter>
616 <pluginExecutionFilter>
617 <groupId>org.opendaylight.yangtools</groupId>
618 <artifactId>yang-maven-plugin</artifactId>
619 <versionRange>[0.5,)</versionRange>
621 <goal>generate-sources</goal>
623 </pluginExecutionFilter>
629 </lifecycleMappingMetadata>
633 <!-- here we are defining the default generators for yang You may need
634 to override this in child poms if you want to define additional generators,
635 such as the JMX generator etc. -->
636 <groupId>org.opendaylight.yangtools</groupId>
637 <artifactId>yang-maven-plugin</artifactId>
638 <version>${yangtools.version}</version>
641 <groupId>org.opendaylight.yangtools</groupId>
642 <artifactId>maven-sal-api-gen-plugin</artifactId>
643 <version>${yangtools.version}</version>
649 <goal>generate-sources</goal>
652 <yangFilesRootDir>${yang.src.path}</yangFilesRootDir>
655 <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
656 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
659 <inspectDependencies>true</inspectDependencies>
668 <groupId>org.jacoco</groupId>
669 <artifactId>jacoco-maven-plugin</artifactId>
672 <id>prepare-ut-agent</id>
673 <phase>process-test-classes</phase>
675 <goal>prepare-agent</goal>
678 <destFile>${sonar.jacoco.reportPath}</destFile>
682 <id>prepare-it-agent</id>
683 <phase>pre-integration-test</phase>
685 <goal>prepare-agent</goal>
688 <destFile>${sonar.jacoco.itReportPath}</destFile>
704 <outputDirectory>${project.build.directory}/site</outputDirectory>
705 <excludeDefaults>true</excludeDefaults>
708 <groupId>org.apache.maven.plugins</groupId>
709 <artifactId>maven-javadoc-plugin</artifactId>
710 <version>2.8.1</version>
712 <doclet>org.jboss.apiviz.APIviz</doclet>
714 <groupId>org.jboss.apiviz</groupId>
715 <artifactId>apiviz</artifactId>
716 <version>1.3.2.GA</version>
718 <finalName>${project.artifactId}-${build.suffix}</finalName>
719 <useStandardDocletOptions>true</useStandardDocletOptions>
720 <charset>UTF-8</charset>
721 <encoding>UTF-8</encoding>
722 <docencoding>UTF-8</docencoding>
723 <breakiterator>true</breakiterator>
724 <version>true</version>
725 <author>true</author>
726 <keywords>true</keywords>
727 <excludePackageNames>*.internal:edu.uci.*</excludePackageNames>
731 <groupId>org.apache.maven.plugins</groupId>
732 <artifactId>maven-jxr-plugin</artifactId>
733 <version>2.3</version>
735 <aggregate>true</aggregate>
736 <linkJavadoc>true</linkJavadoc>
740 <groupId>org.apache.maven.plugins</groupId>
741 <artifactId>maven-project-info-reports-plugin</artifactId>
742 <version>${projectinfo}</version>
744 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
745 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
750 <report>index</report>
751 <report>project-team</report>
752 <report>license</report>
753 <report>mailing-list</report>
754 <report>plugin-management</report>
756 <report>issue-tracking</report>
758 <report>summary</report>
766 <distributionManagement>
767 <!-- Note: We want the nexus proxy property here because want to enable
768 devs to upload this artifact using mvn deploy to other maven repositories. -->
769 <!-- OpenDayLight Released artifact -->
771 <id>opendaylight-release</id>
772 <url>${nexusproxy}/repositories/opendaylight.release/</url>
774 <!-- OpenDayLight Snapshot artifact -->
776 <id>opendaylight-snapshot</id>
777 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
778 </snapshotRepository>
779 <!-- Site deployment -->
780 </distributionManagement>