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>
21 <groupId>org.opendaylight.lispflowmapping</groupId>
22 <artifactId>lispflowmapping-commons</artifactId>
23 <version>1.2.0-SNAPSHOT</version>
24 <packaging>pom</packaging>
25 <name>Parent POM</name>
26 <description></description>
29 <branding.version>1.1.0-SNAPSHOT</branding.version>
30 <build.suffix>1.0.0</build.suffix>
31 <clustering.services.version>0.6.0-SNAPSHOT</clustering.services.version>
32 <config.version>0.3.0-SNAPSHOT</config.version>
33 <controller.checkstyle.version>0.1.0-SNAPSHOT</controller.checkstyle.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>distribution.opendaylight</artifactId>
124 <version>0.2.0-SNAPSHOT</version>
125 <classifier>osgipackage</classifier>
127 <!-- Make sure this isn't included on any classpath -->
130 <groupId>org.opendaylight.controller</groupId>
131 <artifactId>features-adsal</artifactId>
132 <version>${sal.version}</version>
133 <classifier>features</classifier>
137 <groupId>org.opendaylight.controller</groupId>
138 <artifactId>features-mdsal</artifactId>
139 <version>${mdsal.version}</version>
140 <classifier>features</classifier>
144 <groupId>org.opendaylight.controller</groupId>
145 <artifactId>features-netconf-connector</artifactId>
146 <version>${mdsal.version}</version>
147 <classifier>features</classifier>
151 <groupId>org.opendaylight.neutron</groupId>
152 <artifactId>features-neutron</artifactId>
153 <version>${neutron.version}</version>
154 <classifier>features</classifier>
158 <groupId>org.opendaylight.controller</groupId>
159 <artifactId>features-nsf</artifactId>
160 <version>${nsf.version}</version>
161 <classifier>features</classifier>
166 <groupId>org.opendaylight.controller</groupId>
167 <artifactId>karaf.branding</artifactId>
168 <version>${branding.version}</version>
169 <scope>compile</scope>
172 <groupId>org.opendaylight.controller</groupId>
173 <artifactId>netty-event-executor-config</artifactId>
174 <version>${config.version}</version>
177 <groupId>org.opendaylight.neutron</groupId>
178 <artifactId>neutron-spi</artifactId>
179 <version>0.5.0-SNAPSHOT</version>
182 <groupId>org.opendaylight.controller</groupId>
183 <artifactId>opendaylight-karaf-empty</artifactId>
184 <version>${karaf.empty.version}</version>
189 <groupId>org.opendaylight.controller</groupId>
190 <artifactId>opendaylight-karaf-resources</artifactId>
191 <version>${karaf.resources.version}</version>
194 <groupId>org.opendaylight.controller</groupId>
195 <artifactId>sal</artifactId>
196 <version>0.9.0-SNAPSHOT</version>
199 <groupId>org.opendaylight.controller</groupId>
200 <artifactId>sal-binding-api</artifactId>
201 <version>${mdsal.version}</version>
204 <groupId>org.opendaylight.controller</groupId>
205 <artifactId>sal-binding-broker-impl</artifactId>
206 <version>${mdsal.version}</version>
209 <groupId>org.opendaylight.controller</groupId>
210 <artifactId>sal-binding-config</artifactId>
211 <version>${mdsal.version}</version>
214 <groupId>org.opendaylight.controller</groupId>
215 <artifactId>sal-broker-impl</artifactId>
216 <version>${mdsal.version}</version>
219 <groupId>org.opendaylight.controller</groupId>
220 <artifactId>sal-common-util</artifactId>
221 <version>${mdsal.version}</version>
224 <groupId>org.opendaylight.controller</groupId>
225 <artifactId>sal-netconf-connector</artifactId>
226 <version>${mdsal.version}</version>
229 <groupId>org.opendaylight.controller</groupId>
230 <artifactId>threadpool-config-api</artifactId>
231 <version>${config.version}</version>
234 <groupId>org.opendaylight.controller</groupId>
235 <artifactId>threadpool-config-impl</artifactId>
236 <version>0.3.0-SNAPSHOT</version>
239 <groupId>org.opendaylight.lispflowmapping</groupId>
240 <artifactId>common.build.tools</artifactId>
241 <version>${lispflowmapping.version}</version>
244 <groupId>org.opendaylight.lispflowmapping</groupId>
245 <artifactId>lispflowmapping-code-commons</artifactId>
246 <version>${lispflowmapping.version}</version>
249 <groupId>org.opendaylight.lispflowmapping</groupId>
250 <artifactId>lispflowmapping-commons</artifactId>
251 <version>${lispflowmapping.version}</version>
254 <groupId>org.opendaylight.lispflowmapping</groupId>
255 <artifactId>mappingservice.api</artifactId>
256 <version>${lispflowmapping.version}</version>
259 <groupId>org.opendaylight.lispflowmapping</groupId>
260 <artifactId>mappingservice.clusterdao</artifactId>
261 <version>${lispflowmapping.version}</version>
264 <groupId>org.opendaylight.lispflowmapping</groupId>
265 <artifactId>mappingservice.config</artifactId>
266 <version>${lispflowmapping.version}</version>
269 <groupId>org.opendaylight.lispflowmapping</groupId>
270 <artifactId>mappingservice.implementation</artifactId>
271 <version>${lispflowmapping.version}</version>
275 <groupId>org.opendaylight.lispflowmapping</groupId>
276 <artifactId>mappingservice.netconf</artifactId>
277 <version>${lispflowmapping.version}</version>
280 <groupId>org.opendaylight.lispflowmapping</groupId>
281 <artifactId>mappingservice.neutron</artifactId>
282 <version>${lispflowmapping.version}</version>
285 <groupId>org.opendaylight.lispflowmapping</groupId>
286 <artifactId>mappingservice.northbound</artifactId>
287 <version>${lispflowmapping.version}</version>
290 <groupId>org.opendaylight.lispflowmapping</groupId>
291 <artifactId>mappingservice.southbound</artifactId>
292 <version>${lispflowmapping.version}</version>
295 <groupId>org.opendaylight.lispflowmapping</groupId>
296 <artifactId>mappingservice.yangmodel</artifactId>
297 <version>${lispflowmapping.version}</version>
300 <groupId>org.opendaylight.yangtools</groupId>
301 <artifactId>yang-binding</artifactId>
302 <version>0.7.0-SNAPSHOT</version>
305 <groupId>org.opendaylight.yangtools</groupId>
306 <artifactId>yang-common</artifactId>
307 <version>0.7.0-SNAPSHOT</version>
310 <groupId>org.opendaylight.yangtools</groupId>
311 <artifactId>yang-data-api</artifactId>
312 <version>0.7.0-SNAPSHOT</version>
315 <groupId>org.opendaylight.yangtools</groupId>
316 <artifactId>yang-data-impl</artifactId>
317 <version>${yangtools.version}</version>
320 <groupId>org.opendaylight.yangtools</groupId>
321 <artifactId>yang-data-util</artifactId>
322 <version>0.7.0-SNAPSHOT</version>
325 <groupId>org.opendaylight.yangtools</groupId>
326 <artifactId>yang-model-api</artifactId>
327 <version>0.7.0-SNAPSHOT</version>
330 <groupId>org.opendaylight.yangtools</groupId>
331 <artifactId>yang-parser-impl</artifactId>
332 <version>${yangtools.version}</version>
335 <groupId>org.opendaylight.yangtools.model</groupId>
336 <artifactId>ietf-inet-types</artifactId>
337 <version>2010.09.24.7-SNAPSHOT</version>
340 <groupId>org.opendaylight.yangtools.model</groupId>
341 <artifactId>ietf-yang-types</artifactId>
342 <version>2010.09.24.7-SNAPSHOT</version>
345 <groupId>org.apache.karaf.features</groupId>
346 <artifactId>standard</artifactId>
347 <version>${karaf.version}</version>
348 <classifier>features</classifier>
350 <scope>runtime</scope>
354 <groupId>org.opendaylight.lispflowmapping</groupId>
355 <artifactId>features-lispflowmapping</artifactId>
356 <version>${lispflowmapping.version}</version>
357 <classifier>features</classifier>
359 <scope>runtime</scope>
362 <groupId>org.opendaylight.lispflowmapping</groupId>
363 <artifactId>common.unittest.tools</artifactId>
364 <version>${lispflowmapping.version}</version>
368 <groupId>org.opendaylight.yangtools</groupId>
369 <artifactId>mockito-configuration</artifactId>
370 <version>${yangtools.version}</version>
374 </dependencyManagement>
379 <!-- This configures the sort pom plugin to sort properties, dependencies
380 etc during a build. It helps to ensure consistent poms that are easy to read.
381 While the configuration should exist at a root level it is still up to the
382 individual projects to invoke it by defining the plugin in the build->plugins
384 <groupId>com.google.code.sortpom</groupId>
385 <artifactId>maven-sortpom-plugin</artifactId>
386 <version>2.2.1</version>
388 <createBackupFile>false</createBackupFile>
389 <encoding>${project.build.sourceEncoding}</encoding>
390 <keepBlankLines>true</keepBlankLines>
391 <lineSeparator>\n</lineSeparator>
392 <nrOfIndentSpace>2</nrOfIndentSpace>
393 <predefinedSortOrder>custom_1</predefinedSortOrder>
394 <sortDependencies>scope,groupId,artifactId</sortDependencies>
395 <sortPlugins>groupId,artifactId</sortPlugins>
396 <sortProperties>true</sortProperties>
403 <phase>verify</phase>
408 <groupId>org.apache.maven.plugins</groupId>
409 <artifactId>maven-assembly-plugin</artifactId>
410 <version>2.4</version>
413 <!-- Define the configuration for the checkstyle plugin. Import the rules from the controller project, which
414 is defined as a dependency. Print rule violations to the console, but don't fail the build if violations
416 <groupId>org.apache.maven.plugins</groupId>
417 <artifactId>maven-checkstyle-plugin</artifactId>
418 <version>${checkstyle.version}</version>
420 <failOnViolation>false</failOnViolation>
421 <configLocation>controller/checkstyle.xml</configLocation>
422 <consoleOutput>true</consoleOutput>
423 <includeTestSourceDirectory>true</includeTestSourceDirectory>
424 <sourceDirectory>${project.basedir}</sourceDirectory>
425 <includes>**\/*.java,**\/*.xml,**\/*.yang</includes>
426 <excludes>**\/target\/,**\/target-ide\/,**\/${jmxGeneratorPath}\/,**\/${salGeneratorPath}\/</excludes>
430 <groupId>org.opendaylight.controller</groupId>
431 <artifactId>checkstyle</artifactId>
432 <version>${controller.checkstyle.version}</version>
440 <phase>process-sources</phase>
445 <!-- TODO move up to ODL parent. -->
446 <!-- This is required to make sure that we delete the files which are
447 being generated under the src/main directory since by default only files
448 under target get cleaned up. Because the clean plugin is automatically invoked
449 you do NOT need to specify it in the build->plugin section. You would only
450 want to override this if you have additional folders which need to be cleaned
452 <artifactId>maven-clean-plugin</artifactId>
456 <directory>${xtend.dstdir}</directory>
458 <include>**</include>
462 <directory>${jmxGeneratorPath}</directory>
464 <include>**</include>
468 <directory>${salGeneratorPath}</directory>
470 <include>**</include>
477 <!-- Configures the java doc generation. Generally you should not have
478 to override this unless you need to exclude other packages etc. -->
479 <groupId>org.apache.maven.plugins</groupId>
480 <artifactId>maven-javadoc-plugin</artifactId>
482 <doclet>org.jboss.apiviz.APIviz</doclet>
484 <groupId>org.jboss.apiviz</groupId>
485 <artifactId>apiviz</artifactId>
486 <version>1.3.2.GA</version>
488 <finalName>${project.artifactId}-${project.version}</finalName>
489 <useStandardDocletOptions>true</useStandardDocletOptions>
490 <charset>UTF-8</charset>
491 <encoding>UTF-8</encoding>
492 <docencoding>UTF-8</docencoding>
493 <breakiterator>true</breakiterator>
494 <version>true</version>
495 <author>true</author>
496 <keywords>true</keywords>
497 <excludePackageNames>net.sf.jnetlib.*:cern.*:corejava:*.internal:edu.uci.*</excludePackageNames>
498 <failOnError>false</failOnError>
502 <groupId>org.apache.maven.plugins</groupId>
503 <artifactId>maven-jxr-plugin</artifactId>
504 <version>2.3</version>
506 <aggregate>true</aggregate>
507 <linkJavadoc>true</linkJavadoc>
508 <javadocDir>target/apidocs</javadocDir>
512 <groupId>org.codehaus.enunciate</groupId>
513 <artifactId>maven-enunciate-plugin</artifactId>
515 <configFile>enunciate.xml</configFile>
526 <!-- TODO: This should be in ODL parent -->
527 <groupId>org.codehaus.mojo</groupId>
528 <artifactId>build-helper-maven-plugin</artifactId>
533 <goal>add-source</goal>
535 <phase>generate-sources</phase>
538 <source>${yang.src.path}</source>
539 <source>${jmxGeneratorPath}</source>
540 <source>${salGeneratorPath}</source>
541 <source>${xtend.dstdir}</source>
549 <groupId>org.eclipse.m2e</groupId>
550 <artifactId>lifecycle-mapping</artifactId>
551 <version>1.0.0</version>
553 <lifecycleMappingMetadata>
556 <pluginExecutionFilter>
557 <groupId>org.codehaus.mojo</groupId>
558 <artifactId>properties-maven-plugin</artifactId>
559 <versionRange>[0.0,)</versionRange>
561 <goal>set-system-properties</goal>
563 </pluginExecutionFilter>
569 <pluginExecutionFilter>
570 <groupId>org.codehaus.enunciate</groupId>
571 <artifactId>maven-enunciate-plugin</artifactId>
572 <versionRange>[0.0,)</versionRange>
576 </pluginExecutionFilter>
582 <pluginExecutionFilter>
583 <groupId>org.jacoco</groupId>
584 <artifactId>jacoco-maven-plugin</artifactId>
585 <versionRange>[0.0,)</versionRange>
587 <goal>prepare-agent</goal>
588 <goal>pre-test</goal>
589 <goal>post-test</goal>
591 </pluginExecutionFilter>
597 <pluginExecutionFilter>
598 <groupId>org.ops4j.pax.exam</groupId>
599 <artifactId>maven-paxexam-plugin</artifactId>
600 <versionRange>[1.2.4,)</versionRange>
602 <goal>generate-depends-file</goal>
604 </pluginExecutionFilter>
610 <pluginExecutionFilter>
611 <groupId>org.apache.maven.plugins</groupId>
612 <artifactId>maven-checkstyle-plugin</artifactId>
613 <versionRange>[2.0,)</versionRange>
617 </pluginExecutionFilter>
623 <pluginExecutionFilter>
624 <groupId>org.opendaylight.yangtools</groupId>
625 <artifactId>yang-maven-plugin</artifactId>
626 <versionRange>[0.5,)</versionRange>
628 <goal>generate-sources</goal>
630 </pluginExecutionFilter>
636 </lifecycleMappingMetadata>
640 <!-- here we are defining the default generators for yang You may need
641 to override this in child poms if you want to define additional generators,
642 such as the JMX generator etc. -->
643 <groupId>org.opendaylight.yangtools</groupId>
644 <artifactId>yang-maven-plugin</artifactId>
645 <version>${yangtools.version}</version>
648 <groupId>org.opendaylight.yangtools</groupId>
649 <artifactId>maven-sal-api-gen-plugin</artifactId>
650 <version>${yangtools.version}</version>
656 <goal>generate-sources</goal>
659 <yangFilesRootDir>${yang.src.path}</yangFilesRootDir>
662 <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
663 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
666 <inspectDependencies>true</inspectDependencies>
675 <groupId>org.jacoco</groupId>
676 <artifactId>jacoco-maven-plugin</artifactId>
679 <id>prepare-ut-agent</id>
680 <phase>process-test-classes</phase>
682 <goal>prepare-agent</goal>
685 <destFile>${sonar.jacoco.reportPath}</destFile>
689 <id>prepare-it-agent</id>
690 <phase>pre-integration-test</phase>
692 <goal>prepare-agent</goal>
695 <destFile>${sonar.jacoco.itReportPath}</destFile>
711 <outputDirectory>${project.build.directory}/site</outputDirectory>
712 <excludeDefaults>true</excludeDefaults>
715 <groupId>org.apache.maven.plugins</groupId>
716 <artifactId>maven-javadoc-plugin</artifactId>
717 <version>2.8.1</version>
719 <doclet>org.jboss.apiviz.APIviz</doclet>
721 <groupId>org.jboss.apiviz</groupId>
722 <artifactId>apiviz</artifactId>
723 <version>1.3.2.GA</version>
725 <finalName>${project.artifactId}-${build.suffix}</finalName>
726 <useStandardDocletOptions>true</useStandardDocletOptions>
727 <charset>UTF-8</charset>
728 <encoding>UTF-8</encoding>
729 <docencoding>UTF-8</docencoding>
730 <breakiterator>true</breakiterator>
731 <version>true</version>
732 <author>true</author>
733 <keywords>true</keywords>
734 <excludePackageNames>*.internal:edu.uci.*</excludePackageNames>
738 <groupId>org.apache.maven.plugins</groupId>
739 <artifactId>maven-jxr-plugin</artifactId>
740 <version>2.3</version>
742 <aggregate>true</aggregate>
743 <linkJavadoc>true</linkJavadoc>
747 <groupId>org.apache.maven.plugins</groupId>
748 <artifactId>maven-project-info-reports-plugin</artifactId>
749 <version>${projectinfo}</version>
751 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
752 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
757 <report>index</report>
758 <report>project-team</report>
759 <report>license</report>
760 <report>mailing-list</report>
761 <report>plugin-management</report>
763 <report>issue-tracking</report>
765 <report>summary</report>
773 <distributionManagement>
774 <!-- Note: We want the nexus proxy property here because want to enable
775 devs to upload this artifact using mvn deploy to other maven repositories. -->
776 <!-- OpenDayLight Released artifact -->
778 <id>opendaylight-release</id>
779 <url>${nexusproxy}/repositories/opendaylight.release/</url>
781 <!-- OpenDayLight Snapshot artifact -->
783 <id>opendaylight-snapshot</id>
784 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
785 </snapshotRepository>
786 <!-- Site deployment -->
787 </distributionManagement>