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"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4 <modelVersion>4.0.0</modelVersion>
6 <!-- NOTE: Tags we removed: SCM: We don't use maven to pull and push code, so
7 the SCM section does not appear to be needed. See http://maven.apache.org/scm/maven-scm-plugin/usage.html
9 NOTE: our ultimate goal is to remove this pom, and move everything in here
10 up to ODL parent or the root of this project, depending on
11 its relevance. Only the logical root should reference this file.
16 <!-- We want to inherit of ODL parent so we can inherit common third party
17 versions etc instead of redefining them here. Also we get some common definitions
18 for plugin configuration etc. -->
19 <groupId>org.opendaylight.odlparent</groupId>
20 <artifactId>odlparent</artifactId>
21 <version>1.5.0-SNAPSHOT</version>
24 <groupId>org.opendaylight.lispflowmapping</groupId>
25 <artifactId>lispflowmapping-commons</artifactId>
26 <version>1.2.0-SNAPSHOT</version>
27 <packaging>pom</packaging>
28 <name>Parent POM</name>
29 <description></description>
32 <branding.version>1.1.0-SNAPSHOT</branding.version>
33 <build.suffix>1.0.0</build.suffix>
34 <clustering.services.version>0.6.0-SNAPSHOT</clustering.services.version>
35 <config.version>0.3.0-SNAPSHOT</config.version>
36 <enforcer.version>1.3.1</enforcer.version>
37 <enunciate.version>1.26.2</enunciate.version>
38 <feature.test.version>0.7.0-SNAPSHOT</feature.test.version>
39 <forwardingrulesmanager.version>0.5.0</forwardingrulesmanager.version>
40 <guava.version>14.0.1</guava.version>
41 <ietf-inet-types.version>2010.09.24.7-SNAPSHOT</ietf-inet-types.version>
42 <jacoco.version>0.6.2.201302030002</jacoco.version>
43 <java.version.source>1.7</java.version.source>
44 <java.version.target>1.7</java.version.target>
45 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
46 <karaf.empty.version>1.5.0-SNAPSHOT</karaf.empty.version>
47 <karaf.resources.version>1.5.0-SNAPSHOT</karaf.resources.version>
48 <karaf.version>3.0.1</karaf.version>
49 <!-- TODO: Lets remove the variables which are duplicates of ODL or which
51 <lispflowmapping.version>1.2.0-SNAPSHOT</lispflowmapping.version>
52 <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
53 <mdsal.version>1.2.0-SNAPSHOT</mdsal.version>
54 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
55 <nsf.version>0.5.0-SNAPSHOT</nsf.version>
56 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
57 <projectinfo>2.6</projectinfo>
58 <releaseplugin.version>2.3.2</releaseplugin.version>
59 <sal.version>0.9.0-SNAPSHOT</sal.version>
60 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
61 <slf4j.version>1.7.2</slf4j.version>
62 <sonar.branch>${user.name}-develop</sonar.branch>
63 <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
64 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
65 <sonar.language>java</sonar.language>
66 <statisticsmanager.version>0.5.0</statisticsmanager.version>
67 <surefire.version>2.16</surefire.version>
68 <xtend.dstdir>src/main/xtend-gen</xtend.dstdir>
69 <yang-jmx-generator.version>1.1.0-SNAPSHOT</yang-jmx-generator.version>
70 <yang.binding.version>0.6.1</yang.binding.version>
71 <yang.codegen.version>0.6.1</yang.codegen.version>
72 <yang.version>0.6.1</yang.version>
73 <yangtools.binding.version>0.6.1</yangtools.binding.version>
74 <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
75 <yang.src.path>src/main/yang</yang.src.path>
78 <dependencyManagement>
80 <!-- NOTE: the "Type" jar is considered default. You only need to specify
81 the type when it is something other than jar. -->
83 <groupId>com.google.guava</groupId>
84 <artifactId>guava</artifactId>
85 <version>${guava.version}</version>
88 <groupId>equinoxSDK381</groupId>
89 <artifactId>org.eclipse.osgi</artifactId>
90 <version>3.8.1.v20120830-144521</version>
93 <groupId>junit</groupId>
94 <artifactId>junit</artifactId>
95 <version>4.8.1</version>
98 <groupId>junit-addons</groupId>
99 <artifactId>junit-addons</artifactId>
100 <version>1.4</version>
103 <groupId>org.apache.karaf.features</groupId>
104 <artifactId>framework</artifactId>
105 <version>${karaf.version}</version>
109 <groupId>org.hamcrest</groupId>
110 <artifactId>hamcrest-core</artifactId>
111 <version>1.3</version>
114 <groupId>org.jmock</groupId>
115 <artifactId>jmock-junit4</artifactId>
116 <version>2.6.0</version>
119 <groupId>org.jmock</groupId>
120 <artifactId>jmock-legacy</artifactId>
121 <version>2.6.0</version>
124 <groupId>org.opendaylight.controller</groupId>
125 <artifactId>clustering.services</artifactId>
126 <version>0.6.0-SNAPSHOT</version>
129 <groupId>org.opendaylight.controller</groupId>
130 <artifactId>commons.northbound</artifactId>
131 <version>0.5.0-SNAPSHOT</version>
134 <groupId>org.opendaylight.controller</groupId>
135 <artifactId>config-api</artifactId>
136 <version>0.3.0-SNAPSHOT</version>
139 <groupId>org.opendaylight.controller</groupId>
140 <artifactId>config-manager</artifactId>
141 <version>${config.version}</version>
144 <groupId>org.opendaylight.controller</groupId>
145 <artifactId>config-util</artifactId>
146 <version>0.3.0-SNAPSHOT</version>
149 <groupId>org.opendaylight.controller</groupId>
150 <artifactId>containermanager</artifactId>
151 <version>0.6.0-SNAPSHOT</version>
154 <groupId>org.opendaylight.controller</groupId>
155 <artifactId>distribution.opendaylight</artifactId>
156 <version>0.2.0-SNAPSHOT</version>
157 <classifier>osgipackage</classifier>
159 <!-- Make sure this isn't included on any classpath -->
162 <groupId>org.opendaylight.controller</groupId>
163 <artifactId>features-adsal</artifactId>
164 <version>${sal.version}</version>
165 <classifier>features</classifier>
169 <groupId>org.opendaylight.controller</groupId>
170 <artifactId>features-mdsal</artifactId>
171 <version>${mdsal.version}</version>
172 <classifier>features</classifier>
176 <groupId>org.opendaylight.controller</groupId>
177 <artifactId>features-netconf-connector</artifactId>
178 <version>${mdsal.version}</version>
179 <classifier>features</classifier>
183 <groupId>org.opendaylight.controller</groupId>
184 <artifactId>features-nsf</artifactId>
185 <version>${nsf.version}</version>
186 <classifier>features</classifier>
191 <groupId>org.opendaylight.controller</groupId>
192 <artifactId>karaf.branding</artifactId>
193 <version>${branding.version}</version>
194 <scope>compile</scope>
197 <groupId>org.opendaylight.controller</groupId>
198 <artifactId>netty-event-executor-config</artifactId>
199 <version>${config.version}</version>
202 <groupId>org.opendaylight.controller</groupId>
203 <artifactId>networkconfig.neutron</artifactId>
204 <version>0.5.0-SNAPSHOT</version>
207 <groupId>org.opendaylight.controller</groupId>
208 <artifactId>opendaylight-karaf-empty</artifactId>
209 <version>${karaf.empty.version}</version>
214 <groupId>org.opendaylight.controller</groupId>
215 <artifactId>opendaylight-karaf-resources</artifactId>
216 <version>${karaf.resources.version}</version>
219 <groupId>org.opendaylight.controller</groupId>
220 <artifactId>sal</artifactId>
221 <version>0.9.0-SNAPSHOT</version>
224 <groupId>org.opendaylight.controller</groupId>
225 <artifactId>sal-binding-api</artifactId>
226 <version>${mdsal.version}</version>
229 <groupId>org.opendaylight.controller</groupId>
230 <artifactId>sal-binding-broker-impl</artifactId>
231 <version>${mdsal.version}</version>
234 <groupId>org.opendaylight.controller</groupId>
235 <artifactId>sal-binding-config</artifactId>
236 <version>${mdsal.version}</version>
239 <groupId>org.opendaylight.controller</groupId>
240 <artifactId>sal-broker-impl</artifactId>
241 <version>${mdsal.version}</version>
244 <groupId>org.opendaylight.controller</groupId>
245 <artifactId>sal-common-util</artifactId>
246 <version>${mdsal.version}</version>
249 <groupId>org.opendaylight.controller</groupId>
250 <artifactId>sal-netconf-connector</artifactId>
251 <version>${mdsal.version}</version>
254 <groupId>org.opendaylight.controller</groupId>
255 <artifactId>threadpool-config-api</artifactId>
256 <version>${config.version}</version>
259 <groupId>org.opendaylight.controller</groupId>
260 <artifactId>threadpool-config-impl</artifactId>
261 <version>0.3.0-SNAPSHOT</version>
264 <groupId>org.opendaylight.lispflowmapping</groupId>
265 <artifactId>common.build.tools</artifactId>
266 <version>${lispflowmapping.version}</version>
269 <groupId>org.opendaylight.lispflowmapping</groupId>
270 <artifactId>lispflowmapping-code-commons</artifactId>
271 <version>${lispflowmapping.version}</version>
274 <groupId>org.opendaylight.lispflowmapping</groupId>
275 <artifactId>lispflowmapping-commons</artifactId>
276 <version>${lispflowmapping.version}</version>
279 <groupId>org.opendaylight.lispflowmapping</groupId>
280 <artifactId>mappingservice.api</artifactId>
281 <version>${lispflowmapping.version}</version>
284 <groupId>org.opendaylight.lispflowmapping</groupId>
285 <artifactId>mappingservice.clusterdao</artifactId>
286 <version>${lispflowmapping.version}</version>
289 <groupId>org.opendaylight.lispflowmapping</groupId>
290 <artifactId>mappingservice.config</artifactId>
291 <version>${lispflowmapping.version}</version>
294 <groupId>org.opendaylight.lispflowmapping</groupId>
295 <artifactId>mappingservice.implementation</artifactId>
296 <version>${lispflowmapping.version}</version>
300 <groupId>org.opendaylight.lispflowmapping</groupId>
301 <artifactId>mappingservice.netconf</artifactId>
302 <version>${lispflowmapping.version}</version>
305 <groupId>org.opendaylight.lispflowmapping</groupId>
306 <artifactId>mappingservice.neutron</artifactId>
307 <version>${lispflowmapping.version}</version>
310 <groupId>org.opendaylight.lispflowmapping</groupId>
311 <artifactId>mappingservice.northbound</artifactId>
312 <version>${lispflowmapping.version}</version>
315 <groupId>org.opendaylight.lispflowmapping</groupId>
316 <artifactId>mappingservice.southbound</artifactId>
317 <version>${lispflowmapping.version}</version>
320 <groupId>org.opendaylight.lispflowmapping</groupId>
321 <artifactId>mappingservice.yangmodel</artifactId>
322 <version>${lispflowmapping.version}</version>
325 <groupId>org.opendaylight.yangtools</groupId>
326 <artifactId>yang-binding</artifactId>
327 <version>0.7.0-SNAPSHOT</version>
330 <groupId>org.opendaylight.yangtools</groupId>
331 <artifactId>yang-common</artifactId>
332 <version>0.7.0-SNAPSHOT</version>
335 <groupId>org.opendaylight.yangtools</groupId>
336 <artifactId>yang-data-api</artifactId>
337 <version>0.7.0-SNAPSHOT</version>
340 <groupId>org.opendaylight.yangtools</groupId>
341 <artifactId>yang-data-impl</artifactId>
342 <version>${yangtools.version}</version>
345 <groupId>org.opendaylight.yangtools</groupId>
346 <artifactId>yang-data-util</artifactId>
347 <version>0.7.0-SNAPSHOT</version>
350 <groupId>org.opendaylight.yangtools</groupId>
351 <artifactId>yang-model-api</artifactId>
352 <version>0.7.0-SNAPSHOT</version>
355 <groupId>org.opendaylight.yangtools</groupId>
356 <artifactId>yang-parser-impl</artifactId>
357 <version>${yangtools.version}</version>
360 <groupId>org.opendaylight.yangtools.model</groupId>
361 <artifactId>ietf-inet-types</artifactId>
362 <version>2010.09.24.7-SNAPSHOT</version>
365 <groupId>org.opendaylight.yangtools.model</groupId>
366 <artifactId>ietf-yang-types</artifactId>
367 <version>2010.09.24.7-SNAPSHOT</version>
370 <groupId>org.apache.karaf.features</groupId>
371 <artifactId>standard</artifactId>
372 <version>${karaf.version}</version>
373 <classifier>features</classifier>
375 <scope>runtime</scope>
379 <groupId>org.opendaylight.lispflowmapping</groupId>
380 <artifactId>features-lispflowmapping</artifactId>
381 <version>${lispflowmapping.version}</version>
382 <classifier>features</classifier>
384 <scope>runtime</scope>
387 <groupId>org.opendaylight.lispflowmapping</groupId>
388 <artifactId>common.unittest.tools</artifactId>
389 <version>${lispflowmapping.version}</version>
393 <groupId>org.opendaylight.yangtools</groupId>
394 <artifactId>features-test</artifactId>
395 <version>${feature.test.version}</version>
399 <groupId>org.opendaylight.yangtools</groupId>
400 <artifactId>mockito-configuration</artifactId>
401 <version>${yangtools.version}</version>
405 </dependencyManagement>
410 <!-- This configures the sort pom plugin to sort properties, dependencies
411 etc during a build. It helps to ensure consistent poms that are easy to read.
412 While the configuration should exist at a root level it is still up to the
413 individual projects to invoke it by defining the plugin in the build->plugins
415 <groupId>com.google.code.sortpom</groupId>
416 <artifactId>maven-sortpom-plugin</artifactId>
417 <version>2.2.1</version>
419 <createBackupFile>false</createBackupFile>
420 <encoding>${project.build.sourceEncoding}</encoding>
421 <keepBlankLines>true</keepBlankLines>
422 <lineSeparator>\n</lineSeparator>
423 <nrOfIndentSpace>2</nrOfIndentSpace>
424 <predefinedSortOrder>custom_1</predefinedSortOrder>
425 <sortDependencies>scope,groupId,artifactId</sortDependencies>
426 <sortPlugins>groupId,artifactId</sortPlugins>
427 <sortProperties>true</sortProperties>
434 <phase>verify</phase>
439 <groupId>org.apache.felix</groupId>
440 <artifactId>maven-bundle-plugin</artifactId>
441 <version>2.4.0</version>
442 <extensions>true</extensions>
444 <manifestLocation>${project.basedir}/META-INF</manifestLocation>
448 <groupId>org.apache.maven.plugins</groupId>
449 <artifactId>maven-assembly-plugin</artifactId>
450 <version>2.4</version>
453 <!-- TODO move up to ODL parent. -->
454 <!-- This is required to make sure that we delete the files which are
455 being generated under the src/main directory since by default only files
456 under target get cleaned up. Because the clean plugin is automatically invoked
457 you do NOT need to specify it in the build->plugin section. You would only
458 want to override this if you have additional folders which need to be cleaned
460 <artifactId>maven-clean-plugin</artifactId>
464 <directory>${xtend.dstdir}</directory>
466 <include>**</include>
470 <directory>${jmxGeneratorPath}</directory>
472 <include>**</include>
476 <directory>${salGeneratorPath}</directory>
478 <include>**</include>
485 <!-- this should really be defined in odl parent as it defines what
486 JRE this is targeted for. -->
487 <groupId>org.apache.maven.plugins</groupId>
488 <artifactId>maven-compiler-plugin</artifactId>
489 <version>2.3.2</version>
491 <source>${java.version.source}</source>
492 <target>${java.version.target}</target>
496 <!-- we are overriding the default version of this plugin here... not
498 <groupId>org.apache.maven.plugins</groupId>
499 <artifactId>maven-dependency-plugin</artifactId>
500 <version>2.8</version>
503 <!-- Configures the java doc generation. Generally you should not have
504 to override this unless you need to exclude other packages etc. -->
505 <groupId>org.apache.maven.plugins</groupId>
506 <artifactId>maven-javadoc-plugin</artifactId>
507 <version>2.8.1</version>
509 <doclet>org.jboss.apiviz.APIviz</doclet>
511 <groupId>org.jboss.apiviz</groupId>
512 <artifactId>apiviz</artifactId>
513 <version>1.3.2.GA</version>
515 <finalName>${project.artifactId}-${project.version}</finalName>
516 <useStandardDocletOptions>true</useStandardDocletOptions>
517 <charset>UTF-8</charset>
518 <encoding>UTF-8</encoding>
519 <docencoding>UTF-8</docencoding>
520 <breakiterator>true</breakiterator>
521 <version>true</version>
522 <author>true</author>
523 <keywords>true</keywords>
524 <excludePackageNames>net.sf.jnetlib.*:cern.*:corejava:*.internal:edu.uci.*</excludePackageNames>
525 <failOnError>false</failOnError>
529 <groupId>org.apache.maven.plugins</groupId>
530 <artifactId>maven-jxr-plugin</artifactId>
531 <version>2.3</version>
533 <aggregate>true</aggregate>
534 <linkJavadoc>true</linkJavadoc>
535 <javadocDir>target/apidocs</javadocDir>
539 <groupId>org.apache.maven.plugins</groupId>
540 <artifactId>maven-release-plugin</artifactId>
541 <version>${releaseplugin.version}</version>
544 <groupId>org.apache.maven.plugins</groupId>
545 <artifactId>maven-surefire-plugin</artifactId>
546 <version>2.14.1</version>
549 <groupId>org.codehaus.enunciate</groupId>
550 <artifactId>maven-enunciate-plugin</artifactId>
551 <version>${enunciate.version}</version>
553 <configFile>enunciate.xml</configFile>
564 <!-- TODO: This should be in ODL parent -->
565 <groupId>org.codehaus.mojo</groupId>
566 <artifactId>build-helper-maven-plugin</artifactId>
567 <version>1.8</version>
572 <goal>add-source</goal>
574 <phase>generate-sources</phase>
577 <source>${yang.src.path}</source>
578 <source>${jmxGeneratorPath}</source>
579 <source>${salGeneratorPath}</source>
580 <source>${xtend.dstdir}</source>
588 <groupId>org.eclipse.m2e</groupId>
589 <artifactId>lifecycle-mapping</artifactId>
590 <version>1.0.0</version>
592 <lifecycleMappingMetadata>
595 <pluginExecutionFilter>
596 <groupId>org.codehaus.mojo</groupId>
597 <artifactId>properties-maven-plugin</artifactId>
598 <versionRange>[0.0,)</versionRange>
600 <goal>set-system-properties</goal>
602 </pluginExecutionFilter>
608 <pluginExecutionFilter>
609 <groupId>org.codehaus.enunciate</groupId>
610 <artifactId>maven-enunciate-plugin</artifactId>
611 <versionRange>[0.0,)</versionRange>
615 </pluginExecutionFilter>
621 <pluginExecutionFilter>
622 <groupId>org.jacoco</groupId>
623 <artifactId>jacoco-maven-plugin</artifactId>
624 <versionRange>[0.0,)</versionRange>
626 <goal>prepare-agent</goal>
627 <goal>pre-test</goal>
628 <goal>post-test</goal>
630 </pluginExecutionFilter>
636 <pluginExecutionFilter>
637 <groupId>org.ops4j.pax.exam</groupId>
638 <artifactId>maven-paxexam-plugin</artifactId>
639 <versionRange>[1.2.4,)</versionRange>
641 <goal>generate-depends-file</goal>
643 </pluginExecutionFilter>
649 <pluginExecutionFilter>
650 <groupId>org.apache.maven.plugins</groupId>
651 <artifactId>maven-checkstyle-plugin</artifactId>
652 <versionRange>[2.0,)</versionRange>
656 </pluginExecutionFilter>
662 <pluginExecutionFilter>
663 <groupId>org.opendaylight.yangtools</groupId>
664 <artifactId>yang-maven-plugin</artifactId>
665 <versionRange>[0.5,)</versionRange>
667 <goal>generate-sources</goal>
669 </pluginExecutionFilter>
675 </lifecycleMappingMetadata>
679 <groupId>org.jacoco</groupId>
680 <artifactId>jacoco-maven-plugin</artifactId>
681 <version>${jacoco.version}</version>
684 <!-- here we are defining the default generators for yang You may need
685 to override this in child poms if you want to define additional generators,
686 such as the JMX generator etc. -->
687 <groupId>org.opendaylight.yangtools</groupId>
688 <artifactId>yang-maven-plugin</artifactId>
689 <version>${yangtools.version}</version>
692 <groupId>org.opendaylight.yangtools</groupId>
693 <artifactId>maven-sal-api-gen-plugin</artifactId>
694 <version>${yangtools.version}</version>
700 <goal>generate-sources</goal>
703 <yangFilesRootDir>${yang.src.path}</yangFilesRootDir>
706 <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
707 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
710 <inspectDependencies>true</inspectDependencies>
720 <!-- This should run on ALL projects because it makes eclipse import
721 the correct source folders to get rid of hte red x's. This should live in
723 <groupId>org.codehaus.mojo</groupId>
724 <artifactId>build-helper-maven-plugin</artifactId>
731 <outputDirectory>${project.build.directory}/site</outputDirectory>
732 <excludeDefaults>true</excludeDefaults>
735 <groupId>org.apache.maven.plugins</groupId>
736 <artifactId>maven-javadoc-plugin</artifactId>
737 <version>2.8.1</version>
739 <doclet>org.jboss.apiviz.APIviz</doclet>
741 <groupId>org.jboss.apiviz</groupId>
742 <artifactId>apiviz</artifactId>
743 <version>1.3.2.GA</version>
745 <finalName>${project.artifactId}-${build.suffix}</finalName>
746 <useStandardDocletOptions>true</useStandardDocletOptions>
747 <charset>UTF-8</charset>
748 <encoding>UTF-8</encoding>
749 <docencoding>UTF-8</docencoding>
750 <breakiterator>true</breakiterator>
751 <version>true</version>
752 <author>true</author>
753 <keywords>true</keywords>
754 <excludePackageNames>*.internal:edu.uci.*</excludePackageNames>
758 <groupId>org.apache.maven.plugins</groupId>
759 <artifactId>maven-jxr-plugin</artifactId>
760 <version>2.3</version>
762 <aggregate>true</aggregate>
763 <linkJavadoc>true</linkJavadoc>
767 <groupId>org.apache.maven.plugins</groupId>
768 <artifactId>maven-project-info-reports-plugin</artifactId>
769 <version>${projectinfo}</version>
771 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
772 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
777 <report>index</report>
778 <report>project-team</report>
779 <report>license</report>
780 <report>mailing-list</report>
781 <report>plugin-management</report>
783 <report>issue-tracking</report>
785 <report>summary</report>
793 <distributionManagement>
794 <!-- Note: We want the nexus proxy property here because want to enable
795 devs to upload this artifact using mvn deploy to other maven repositories. -->
796 <!-- OpenDayLight Released artifact -->
798 <id>opendaylight-release</id>
799 <url>${nexusproxy}/repositories/opendaylight.release/</url>
801 <!-- OpenDayLight Snapshot artifact -->
803 <id>opendaylight-snapshot</id>
804 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
805 </snapshotRepository>
806 <!-- Site deployment -->
807 </distributionManagement>