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 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
43 <nsf.version>0.5.0-SNAPSHOT</nsf.version>
44 <sal.version>0.9.0-SNAPSHOT</sal.version>
45 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
46 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
47 <statisticsmanager.version>0.5.0</statisticsmanager.version>
48 <xtend.dstdir>src/main/xtend-gen</xtend.dstdir>
49 <yang-jmx-generator.version>1.1.0-SNAPSHOT</yang-jmx-generator.version>
50 <yang.binding.version>0.6.1</yang.binding.version>
51 <yang.codegen.version>0.6.1</yang.codegen.version>
52 <yang.src.path>src/main/yang</yang.src.path>
53 <yang.version>0.6.1</yang.version>
54 <yangtools.binding.version>0.6.1</yangtools.binding.version>
55 <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
58 <dependencyManagement>
60 <!-- NOTE: The "Type" jar is considered default. You only need to specify
61 the type when it is something other than jar. -->
63 <groupId>com.google.guava</groupId>
64 <artifactId>guava</artifactId>
65 <version>${guava.version}</version>
68 <groupId>equinoxSDK381</groupId>
69 <artifactId>org.eclipse.osgi</artifactId>
70 <version>3.8.1.v20120830-144521</version>
73 <groupId>junit</groupId>
74 <artifactId>junit</artifactId>
75 <version>4.8.1</version>
78 <groupId>junit-addons</groupId>
79 <artifactId>junit-addons</artifactId>
80 <version>1.4</version>
83 <groupId>org.apache.karaf.features</groupId>
84 <artifactId>framework</artifactId>
85 <version>${karaf.version}</version>
89 <groupId>org.hamcrest</groupId>
90 <artifactId>hamcrest-core</artifactId>
91 <version>1.3</version>
94 <groupId>org.jmock</groupId>
95 <artifactId>jmock-junit4</artifactId>
96 <version>2.6.0</version>
99 <groupId>org.jmock</groupId>
100 <artifactId>jmock-legacy</artifactId>
101 <version>2.6.0</version>
104 <groupId>org.opendaylight.controller</groupId>
105 <artifactId>clustering.services</artifactId>
106 <version>0.6.0-SNAPSHOT</version>
109 <groupId>org.opendaylight.controller</groupId>
110 <artifactId>commons.northbound</artifactId>
111 <version>0.5.0-SNAPSHOT</version>
114 <groupId>org.opendaylight.controller</groupId>
115 <artifactId>config-api</artifactId>
116 <version>0.3.0-SNAPSHOT</version>
119 <groupId>org.opendaylight.controller</groupId>
120 <artifactId>config-manager</artifactId>
121 <version>${config.version}</version>
124 <groupId>org.opendaylight.controller</groupId>
125 <artifactId>config-util</artifactId>
126 <version>0.3.0-SNAPSHOT</version>
129 <groupId>org.opendaylight.controller</groupId>
130 <artifactId>containermanager</artifactId>
131 <version>0.6.0-SNAPSHOT</version>
134 <groupId>org.opendaylight.controller</groupId>
135 <artifactId>distribution.opendaylight</artifactId>
136 <version>0.2.0-SNAPSHOT</version>
137 <classifier>osgipackage</classifier>
139 <!-- Make sure this isn't included on any classpath -->
142 <groupId>org.opendaylight.controller</groupId>
143 <artifactId>features-adsal</artifactId>
144 <version>${sal.version}</version>
145 <classifier>features</classifier>
149 <groupId>org.opendaylight.controller</groupId>
150 <artifactId>features-mdsal</artifactId>
151 <version>${mdsal.version}</version>
152 <classifier>features</classifier>
156 <groupId>org.opendaylight.controller</groupId>
157 <artifactId>features-netconf-connector</artifactId>
158 <version>${mdsal.version}</version>
159 <classifier>features</classifier>
163 <groupId>org.opendaylight.controller</groupId>
164 <artifactId>features-nsf</artifactId>
165 <version>${nsf.version}</version>
166 <classifier>features</classifier>
171 <groupId>org.opendaylight.controller</groupId>
172 <artifactId>karaf.branding</artifactId>
173 <version>${branding.version}</version>
174 <scope>compile</scope>
177 <groupId>org.opendaylight.controller</groupId>
178 <artifactId>netty-event-executor-config</artifactId>
179 <version>${config.version}</version>
182 <groupId>org.opendaylight.controller</groupId>
183 <artifactId>networkconfig.neutron</artifactId>
184 <version>0.5.0-SNAPSHOT</version>
187 <groupId>org.opendaylight.controller</groupId>
188 <artifactId>opendaylight-karaf-empty</artifactId>
189 <version>${karaf.empty.version}</version>
194 <groupId>org.opendaylight.controller</groupId>
195 <artifactId>opendaylight-karaf-resources</artifactId>
196 <version>${karaf.resources.version}</version>
199 <groupId>org.opendaylight.controller</groupId>
200 <artifactId>sal</artifactId>
201 <version>0.9.0-SNAPSHOT</version>
204 <groupId>org.opendaylight.controller</groupId>
205 <artifactId>sal-binding-api</artifactId>
206 <version>${mdsal.version}</version>
209 <groupId>org.opendaylight.controller</groupId>
210 <artifactId>sal-binding-broker-impl</artifactId>
211 <version>${mdsal.version}</version>
214 <groupId>org.opendaylight.controller</groupId>
215 <artifactId>sal-binding-config</artifactId>
216 <version>${mdsal.version}</version>
219 <groupId>org.opendaylight.controller</groupId>
220 <artifactId>sal-broker-impl</artifactId>
221 <version>${mdsal.version}</version>
224 <groupId>org.opendaylight.controller</groupId>
225 <artifactId>sal-common-util</artifactId>
226 <version>${mdsal.version}</version>
229 <groupId>org.opendaylight.controller</groupId>
230 <artifactId>sal-netconf-connector</artifactId>
231 <version>${mdsal.version}</version>
234 <groupId>org.opendaylight.controller</groupId>
235 <artifactId>threadpool-config-api</artifactId>
236 <version>${config.version}</version>
239 <groupId>org.opendaylight.controller</groupId>
240 <artifactId>threadpool-config-impl</artifactId>
241 <version>0.3.0-SNAPSHOT</version>
244 <groupId>org.opendaylight.lispflowmapping</groupId>
245 <artifactId>common.build.tools</artifactId>
246 <version>${lispflowmapping.version}</version>
249 <groupId>org.opendaylight.lispflowmapping</groupId>
250 <artifactId>lispflowmapping-code-commons</artifactId>
251 <version>${lispflowmapping.version}</version>
254 <groupId>org.opendaylight.lispflowmapping</groupId>
255 <artifactId>lispflowmapping-commons</artifactId>
256 <version>${lispflowmapping.version}</version>
259 <groupId>org.opendaylight.lispflowmapping</groupId>
260 <artifactId>mappingservice.api</artifactId>
261 <version>${lispflowmapping.version}</version>
264 <groupId>org.opendaylight.lispflowmapping</groupId>
265 <artifactId>mappingservice.clusterdao</artifactId>
266 <version>${lispflowmapping.version}</version>
269 <groupId>org.opendaylight.lispflowmapping</groupId>
270 <artifactId>mappingservice.config</artifactId>
271 <version>${lispflowmapping.version}</version>
274 <groupId>org.opendaylight.lispflowmapping</groupId>
275 <artifactId>mappingservice.implementation</artifactId>
276 <version>${lispflowmapping.version}</version>
280 <groupId>org.opendaylight.lispflowmapping</groupId>
281 <artifactId>mappingservice.netconf</artifactId>
282 <version>${lispflowmapping.version}</version>
285 <groupId>org.opendaylight.lispflowmapping</groupId>
286 <artifactId>mappingservice.neutron</artifactId>
287 <version>${lispflowmapping.version}</version>
290 <groupId>org.opendaylight.lispflowmapping</groupId>
291 <artifactId>mappingservice.northbound</artifactId>
292 <version>${lispflowmapping.version}</version>
295 <groupId>org.opendaylight.lispflowmapping</groupId>
296 <artifactId>mappingservice.southbound</artifactId>
297 <version>${lispflowmapping.version}</version>
300 <groupId>org.opendaylight.lispflowmapping</groupId>
301 <artifactId>mappingservice.yangmodel</artifactId>
302 <version>${lispflowmapping.version}</version>
305 <groupId>org.opendaylight.yangtools</groupId>
306 <artifactId>yang-binding</artifactId>
307 <version>0.7.0-SNAPSHOT</version>
310 <groupId>org.opendaylight.yangtools</groupId>
311 <artifactId>yang-common</artifactId>
312 <version>0.7.0-SNAPSHOT</version>
315 <groupId>org.opendaylight.yangtools</groupId>
316 <artifactId>yang-data-api</artifactId>
317 <version>0.7.0-SNAPSHOT</version>
320 <groupId>org.opendaylight.yangtools</groupId>
321 <artifactId>yang-data-impl</artifactId>
322 <version>${yangtools.version}</version>
325 <groupId>org.opendaylight.yangtools</groupId>
326 <artifactId>yang-data-util</artifactId>
327 <version>0.7.0-SNAPSHOT</version>
330 <groupId>org.opendaylight.yangtools</groupId>
331 <artifactId>yang-model-api</artifactId>
332 <version>0.7.0-SNAPSHOT</version>
335 <groupId>org.opendaylight.yangtools</groupId>
336 <artifactId>yang-parser-impl</artifactId>
337 <version>${yangtools.version}</version>
340 <groupId>org.opendaylight.yangtools.model</groupId>
341 <artifactId>ietf-inet-types</artifactId>
342 <version>2010.09.24.7-SNAPSHOT</version>
345 <groupId>org.opendaylight.yangtools.model</groupId>
346 <artifactId>ietf-yang-types</artifactId>
347 <version>2010.09.24.7-SNAPSHOT</version>
350 <groupId>org.apache.karaf.features</groupId>
351 <artifactId>standard</artifactId>
352 <version>${karaf.version}</version>
353 <classifier>features</classifier>
355 <scope>runtime</scope>
359 <groupId>org.opendaylight.lispflowmapping</groupId>
360 <artifactId>features-lispflowmapping</artifactId>
361 <version>${lispflowmapping.version}</version>
362 <classifier>features</classifier>
364 <scope>runtime</scope>
367 <groupId>org.opendaylight.lispflowmapping</groupId>
368 <artifactId>common.unittest.tools</artifactId>
369 <version>${lispflowmapping.version}</version>
373 <groupId>org.opendaylight.yangtools</groupId>
374 <artifactId>features-test</artifactId>
375 <version>${feature.test.version}</version>
379 <groupId>org.opendaylight.yangtools</groupId>
380 <artifactId>mockito-configuration</artifactId>
381 <version>${yangtools.version}</version>
385 </dependencyManagement>
390 <!-- This configures the sort pom plugin to sort properties, dependencies
391 etc during a build. It helps to ensure consistent poms that are easy to read.
392 While the configuration should exist at a root level it is still up to the
393 individual projects to invoke it by defining the plugin in the build->plugins
395 <groupId>com.google.code.sortpom</groupId>
396 <artifactId>maven-sortpom-plugin</artifactId>
397 <version>2.2.1</version>
399 <createBackupFile>false</createBackupFile>
400 <encoding>${project.build.sourceEncoding}</encoding>
401 <keepBlankLines>true</keepBlankLines>
402 <lineSeparator>\n</lineSeparator>
403 <nrOfIndentSpace>2</nrOfIndentSpace>
404 <predefinedSortOrder>custom_1</predefinedSortOrder>
405 <sortDependencies>scope,groupId,artifactId</sortDependencies>
406 <sortPlugins>groupId,artifactId</sortPlugins>
407 <sortProperties>true</sortProperties>
414 <phase>verify</phase>
419 <groupId>org.apache.felix</groupId>
420 <artifactId>maven-bundle-plugin</artifactId>
421 <version>2.4.0</version>
422 <extensions>true</extensions>
424 <manifestLocation>${project.basedir}/META-INF</manifestLocation>
428 <groupId>org.apache.maven.plugins</groupId>
429 <artifactId>maven-assembly-plugin</artifactId>
430 <version>2.4</version>
433 <!-- Define the configuration for the checkstyle plugin. Import the rules from the controller project, which
434 is defined as a dependency. Print rule violations to the console, but don't fail the build if violations
436 <groupId>org.apache.maven.plugins</groupId>
437 <artifactId>maven-checkstyle-plugin</artifactId>
438 <version>${checkstyle.version}</version>
440 <failOnViolation>false</failOnViolation>
441 <configLocation>controller/checkstyle.xml</configLocation>
442 <consoleOutput>true</consoleOutput>
443 <includeTestSourceDirectory>true</includeTestSourceDirectory>
444 <sourceDirectory>${project.basedir}</sourceDirectory>
445 <includes>**\/*.java,**\/*.xml,**\/*.yang</includes>
446 <excludes>**\/target\/,**\/target-ide\/,**\/${jmxGeneratorPath}\/,**\/${salGeneratorPath}\/</excludes>
450 <groupId>org.opendaylight.controller</groupId>
451 <artifactId>checkstyle</artifactId>
452 <version>${controller.checkstyle.version}</version>
460 <phase>process-sources</phase>
465 <!-- TODO move up to ODL parent. -->
466 <!-- This is required to make sure that we delete the files which are
467 being generated under the src/main directory since by default only files
468 under target get cleaned up. Because the clean plugin is automatically invoked
469 you do NOT need to specify it in the build->plugin section. You would only
470 want to override this if you have additional folders which need to be cleaned
472 <artifactId>maven-clean-plugin</artifactId>
476 <directory>${xtend.dstdir}</directory>
478 <include>**</include>
482 <directory>${jmxGeneratorPath}</directory>
484 <include>**</include>
488 <directory>${salGeneratorPath}</directory>
490 <include>**</include>
497 <!-- this should really be defined in odl parent as it defines what
498 JRE this is targeted for. -->
499 <groupId>org.apache.maven.plugins</groupId>
500 <artifactId>maven-compiler-plugin</artifactId>
501 <version>2.3.2</version>
503 <source>${java.version.source}</source>
504 <target>${java.version.target}</target>
508 <!-- we are overriding the default version of this plugin here... not
510 <groupId>org.apache.maven.plugins</groupId>
511 <artifactId>maven-dependency-plugin</artifactId>
512 <version>2.8</version>
515 <!-- Configures the java doc generation. Generally you should not have
516 to override this unless you need to exclude other packages etc. -->
517 <groupId>org.apache.maven.plugins</groupId>
518 <artifactId>maven-javadoc-plugin</artifactId>
519 <version>2.8.1</version>
521 <doclet>org.jboss.apiviz.APIviz</doclet>
523 <groupId>org.jboss.apiviz</groupId>
524 <artifactId>apiviz</artifactId>
525 <version>1.3.2.GA</version>
527 <finalName>${project.artifactId}-${project.version}</finalName>
528 <useStandardDocletOptions>true</useStandardDocletOptions>
529 <charset>UTF-8</charset>
530 <encoding>UTF-8</encoding>
531 <docencoding>UTF-8</docencoding>
532 <breakiterator>true</breakiterator>
533 <version>true</version>
534 <author>true</author>
535 <keywords>true</keywords>
536 <excludePackageNames>net.sf.jnetlib.*:cern.*:corejava:*.internal:edu.uci.*</excludePackageNames>
537 <failOnError>false</failOnError>
541 <groupId>org.apache.maven.plugins</groupId>
542 <artifactId>maven-jxr-plugin</artifactId>
543 <version>2.3</version>
545 <aggregate>true</aggregate>
546 <linkJavadoc>true</linkJavadoc>
547 <javadocDir>target/apidocs</javadocDir>
551 <groupId>org.apache.maven.plugins</groupId>
552 <artifactId>maven-release-plugin</artifactId>
553 <version>${releaseplugin.version}</version>
556 <groupId>org.apache.maven.plugins</groupId>
557 <artifactId>maven-surefire-plugin</artifactId>
558 <version>2.14.1</version>
561 <groupId>org.codehaus.enunciate</groupId>
562 <artifactId>maven-enunciate-plugin</artifactId>
563 <version>${enunciate.version}</version>
565 <configFile>enunciate.xml</configFile>
576 <!-- TODO: This should be in ODL parent -->
577 <groupId>org.codehaus.mojo</groupId>
578 <artifactId>build-helper-maven-plugin</artifactId>
579 <version>1.8</version>
584 <goal>add-source</goal>
586 <phase>generate-sources</phase>
589 <source>${yang.src.path}</source>
590 <source>${jmxGeneratorPath}</source>
591 <source>${salGeneratorPath}</source>
592 <source>${xtend.dstdir}</source>
600 <groupId>org.eclipse.m2e</groupId>
601 <artifactId>lifecycle-mapping</artifactId>
602 <version>1.0.0</version>
604 <lifecycleMappingMetadata>
607 <pluginExecutionFilter>
608 <groupId>org.codehaus.mojo</groupId>
609 <artifactId>properties-maven-plugin</artifactId>
610 <versionRange>[0.0,)</versionRange>
612 <goal>set-system-properties</goal>
614 </pluginExecutionFilter>
620 <pluginExecutionFilter>
621 <groupId>org.codehaus.enunciate</groupId>
622 <artifactId>maven-enunciate-plugin</artifactId>
623 <versionRange>[0.0,)</versionRange>
627 </pluginExecutionFilter>
633 <pluginExecutionFilter>
634 <groupId>org.jacoco</groupId>
635 <artifactId>jacoco-maven-plugin</artifactId>
636 <versionRange>[0.0,)</versionRange>
638 <goal>prepare-agent</goal>
639 <goal>pre-test</goal>
640 <goal>post-test</goal>
642 </pluginExecutionFilter>
648 <pluginExecutionFilter>
649 <groupId>org.ops4j.pax.exam</groupId>
650 <artifactId>maven-paxexam-plugin</artifactId>
651 <versionRange>[1.2.4,)</versionRange>
653 <goal>generate-depends-file</goal>
655 </pluginExecutionFilter>
661 <pluginExecutionFilter>
662 <groupId>org.apache.maven.plugins</groupId>
663 <artifactId>maven-checkstyle-plugin</artifactId>
664 <versionRange>[2.0,)</versionRange>
668 </pluginExecutionFilter>
674 <pluginExecutionFilter>
675 <groupId>org.opendaylight.yangtools</groupId>
676 <artifactId>yang-maven-plugin</artifactId>
677 <versionRange>[0.5,)</versionRange>
679 <goal>generate-sources</goal>
681 </pluginExecutionFilter>
687 </lifecycleMappingMetadata>
691 <groupId>org.jacoco</groupId>
692 <artifactId>jacoco-maven-plugin</artifactId>
693 <version>${jacoco.version}</version>
696 <!-- here we are defining the default generators for yang You may need
697 to override this in child poms if you want to define additional generators,
698 such as the JMX generator etc. -->
699 <groupId>org.opendaylight.yangtools</groupId>
700 <artifactId>yang-maven-plugin</artifactId>
701 <version>${yangtools.version}</version>
704 <groupId>org.opendaylight.yangtools</groupId>
705 <artifactId>maven-sal-api-gen-plugin</artifactId>
706 <version>${yangtools.version}</version>
712 <goal>generate-sources</goal>
715 <yangFilesRootDir>${yang.src.path}</yangFilesRootDir>
718 <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
719 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
722 <inspectDependencies>true</inspectDependencies>
732 <!-- This should run on ALL projects because it makes eclipse import
733 the correct source folders to get rid of hte red x's. This should live in
735 <groupId>org.codehaus.mojo</groupId>
736 <artifactId>build-helper-maven-plugin</artifactId>
743 <outputDirectory>${project.build.directory}/site</outputDirectory>
744 <excludeDefaults>true</excludeDefaults>
747 <groupId>org.apache.maven.plugins</groupId>
748 <artifactId>maven-javadoc-plugin</artifactId>
749 <version>2.8.1</version>
751 <doclet>org.jboss.apiviz.APIviz</doclet>
753 <groupId>org.jboss.apiviz</groupId>
754 <artifactId>apiviz</artifactId>
755 <version>1.3.2.GA</version>
757 <finalName>${project.artifactId}-${build.suffix}</finalName>
758 <useStandardDocletOptions>true</useStandardDocletOptions>
759 <charset>UTF-8</charset>
760 <encoding>UTF-8</encoding>
761 <docencoding>UTF-8</docencoding>
762 <breakiterator>true</breakiterator>
763 <version>true</version>
764 <author>true</author>
765 <keywords>true</keywords>
766 <excludePackageNames>*.internal:edu.uci.*</excludePackageNames>
770 <groupId>org.apache.maven.plugins</groupId>
771 <artifactId>maven-jxr-plugin</artifactId>
772 <version>2.3</version>
774 <aggregate>true</aggregate>
775 <linkJavadoc>true</linkJavadoc>
779 <groupId>org.apache.maven.plugins</groupId>
780 <artifactId>maven-project-info-reports-plugin</artifactId>
781 <version>${projectinfo}</version>
783 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
784 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
789 <report>index</report>
790 <report>project-team</report>
791 <report>license</report>
792 <report>mailing-list</report>
793 <report>plugin-management</report>
795 <report>issue-tracking</report>
797 <report>summary</report>
805 <distributionManagement>
806 <!-- Note: We want the nexus proxy property here because want to enable
807 devs to upload this artifact using mvn deploy to other maven repositories. -->
808 <!-- OpenDayLight Released artifact -->
810 <id>opendaylight-release</id>
811 <url>${nexusproxy}/repositories/opendaylight.release/</url>
813 <!-- OpenDayLight Snapshot artifact -->
815 <id>opendaylight-snapshot</id>
816 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
817 </snapshotRepository>
818 <!-- Site deployment -->
819 </distributionManagement>