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.8-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>config-api</artifactId>
94 <version>0.4.0-SNAPSHOT</version>
97 <groupId>org.opendaylight.controller</groupId>
98 <artifactId>config-manager</artifactId>
99 <version>${config.version}</version>
102 <groupId>org.opendaylight.controller</groupId>
103 <artifactId>config-util</artifactId>
104 <version>0.4.0-SNAPSHOT</version>
108 <groupId>org.opendaylight.controller</groupId>
109 <artifactId>containermanager</artifactId>
110 <version>0.7.0-SNAPSHOT</version>
114 <groupId>org.opendaylight.controller</groupId>
115 <artifactId>features-mdsal</artifactId>
116 <version>${mdsal.version}</version>
117 <classifier>features</classifier>
121 <groupId>org.opendaylight.controller</groupId>
122 <artifactId>features-restconf</artifactId>
123 <version>${mdsal.version}</version>
124 <classifier>features</classifier>
128 <groupId>org.opendaylight.controller</groupId>
129 <artifactId>features-netconf-connector</artifactId>
130 <version>${mdsal.version}</version>
131 <classifier>features</classifier>
135 <groupId>org.opendaylight.neutron</groupId>
136 <artifactId>features-neutron</artifactId>
137 <version>${neutron.version}</version>
138 <classifier>features</classifier>
142 <groupId>org.opendaylight.controller</groupId>
143 <artifactId>features-nsf</artifactId>
144 <version>${nsf.version}</version>
145 <classifier>features</classifier>
150 <groupId>org.opendaylight.controller</groupId>
151 <artifactId>karaf.branding</artifactId>
152 <version>${branding.version}</version>
153 <scope>compile</scope>
156 <groupId>org.opendaylight.controller</groupId>
157 <artifactId>netty-event-executor-config</artifactId>
158 <version>${config.version}</version>
161 <groupId>org.opendaylight.neutron</groupId>
162 <artifactId>neutron-spi</artifactId>
163 <version>0.6.0-SNAPSHOT</version>
166 <groupId>org.opendaylight.controller</groupId>
167 <artifactId>opendaylight-karaf-empty</artifactId>
168 <version>${karaf.empty.version}</version>
173 <groupId>org.opendaylight.controller</groupId>
174 <artifactId>opendaylight-karaf-resources</artifactId>
175 <version>${karaf.resources.version}</version>
178 <groupId>org.opendaylight.controller</groupId>
179 <artifactId>sal</artifactId>
180 <version>0.10.0-SNAPSHOT</version>
183 <groupId>org.opendaylight.controller</groupId>
184 <artifactId>sal-binding-api</artifactId>
185 <version>${mdsal.version}</version>
188 <groupId>org.opendaylight.controller</groupId>
189 <artifactId>sal-binding-broker-impl</artifactId>
190 <version>${mdsal.version}</version>
193 <groupId>org.opendaylight.controller</groupId>
194 <artifactId>sal-binding-config</artifactId>
195 <version>${mdsal.version}</version>
198 <groupId>org.opendaylight.controller</groupId>
199 <artifactId>sal-broker-impl</artifactId>
200 <version>${mdsal.version}</version>
203 <groupId>org.opendaylight.controller</groupId>
204 <artifactId>sal-common-util</artifactId>
205 <version>${mdsal.version}</version>
208 <groupId>org.opendaylight.controller</groupId>
209 <artifactId>sal-netconf-connector</artifactId>
210 <version>${mdsal.version}</version>
213 <groupId>org.opendaylight.controller</groupId>
214 <artifactId>threadpool-config-api</artifactId>
215 <version>${config.version}</version>
218 <groupId>org.opendaylight.controller</groupId>
219 <artifactId>threadpool-config-impl</artifactId>
220 <version>0.4.0-SNAPSHOT</version>
223 <groupId>org.opendaylight.lispflowmapping</groupId>
224 <artifactId>common.build.tools</artifactId>
225 <version>${lispflowmapping.version}</version>
228 <groupId>org.opendaylight.lispflowmapping</groupId>
229 <artifactId>lispflowmapping-code-commons</artifactId>
230 <version>${lispflowmapping.version}</version>
233 <groupId>org.opendaylight.lispflowmapping</groupId>
234 <artifactId>lispflowmapping-commons</artifactId>
235 <version>${lispflowmapping.version}</version>
238 <groupId>org.opendaylight.lispflowmapping</groupId>
239 <artifactId>mappingservice.api</artifactId>
240 <version>${lispflowmapping.version}</version>
243 <groupId>org.opendaylight.lispflowmapping</groupId>
244 <artifactId>mappingservice.clusterdao</artifactId>
245 <version>${lispflowmapping.version}</version>
248 <groupId>org.opendaylight.lispflowmapping</groupId>
249 <artifactId>mappingservice.config</artifactId>
250 <version>${lispflowmapping.version}</version>
253 <groupId>org.opendaylight.lispflowmapping</groupId>
254 <artifactId>mappingservice.implementation</artifactId>
255 <version>${lispflowmapping.version}</version>
259 <groupId>org.opendaylight.lispflowmapping</groupId>
260 <artifactId>mappingservice.netconf</artifactId>
261 <version>${lispflowmapping.version}</version>
264 <groupId>org.opendaylight.lispflowmapping</groupId>
265 <artifactId>mappingservice.neutron</artifactId>
266 <version>${lispflowmapping.version}</version>
269 <groupId>org.opendaylight.lispflowmapping</groupId>
270 <artifactId>mappingservice.northbound</artifactId>
271 <version>${lispflowmapping.version}</version>
274 <groupId>org.opendaylight.lispflowmapping</groupId>
275 <artifactId>mappingservice.shell</artifactId>
276 <version>${lispflowmapping.version}</version>
279 <groupId>org.opendaylight.lispflowmapping</groupId>
280 <artifactId>mappingservice.southbound</artifactId>
281 <version>${lispflowmapping.version}</version>
284 <groupId>org.opendaylight.lispflowmapping</groupId>
285 <artifactId>mappingservice.yangmodel</artifactId>
286 <version>${lispflowmapping.version}</version>
289 <groupId>org.opendaylight.yangtools</groupId>
290 <artifactId>yang-binding</artifactId>
291 <version>0.8.0-SNAPSHOT</version>
294 <groupId>org.opendaylight.yangtools</groupId>
295 <artifactId>yang-common</artifactId>
296 <version>0.8.0-SNAPSHOT</version>
299 <groupId>org.opendaylight.yangtools</groupId>
300 <artifactId>yang-data-api</artifactId>
301 <version>0.8.0-SNAPSHOT</version>
304 <groupId>org.opendaylight.yangtools</groupId>
305 <artifactId>yang-data-impl</artifactId>
306 <version>${yangtools.version}</version>
309 <groupId>org.opendaylight.yangtools</groupId>
310 <artifactId>yang-data-util</artifactId>
311 <version>0.8.0-SNAPSHOT</version>
314 <groupId>org.opendaylight.yangtools</groupId>
315 <artifactId>yang-model-api</artifactId>
316 <version>0.8.0-SNAPSHOT</version>
319 <groupId>org.opendaylight.yangtools</groupId>
320 <artifactId>yang-parser-impl</artifactId>
321 <version>${yangtools.version}</version>
324 <groupId>org.opendaylight.yangtools.model</groupId>
325 <artifactId>ietf-inet-types</artifactId>
326 <version>${ietf-inet-types.version}</version>
329 <groupId>org.opendaylight.yangtools.model</groupId>
330 <artifactId>ietf-yang-types</artifactId>
331 <version>${ietf-inet-types.version}</version>
334 <groupId>org.apache.karaf.features</groupId>
335 <artifactId>standard</artifactId>
336 <version>${karaf.version}</version>
337 <classifier>features</classifier>
339 <scope>runtime</scope>
343 <groupId>org.opendaylight.lispflowmapping</groupId>
344 <artifactId>features-lispflowmapping</artifactId>
345 <version>${lispflowmapping.version}</version>
346 <classifier>features</classifier>
348 <scope>runtime</scope>
351 <groupId>org.opendaylight.lispflowmapping</groupId>
352 <artifactId>common.unittest.tools</artifactId>
353 <version>${lispflowmapping.version}</version>
357 <groupId>org.opendaylight.yangtools</groupId>
358 <artifactId>mockito-configuration</artifactId>
359 <version>${yangtools.version}</version>
363 </dependencyManagement>
368 <!-- This configures the sort pom plugin to sort properties, dependencies
369 etc during a build. It helps to ensure consistent poms that are easy to read.
370 While the configuration should exist at a root level it is still up to the
371 individual projects to invoke it by defining the plugin in the build->plugins
373 <groupId>com.google.code.sortpom</groupId>
374 <artifactId>maven-sortpom-plugin</artifactId>
375 <version>2.2.1</version>
377 <createBackupFile>false</createBackupFile>
378 <encoding>${project.build.sourceEncoding}</encoding>
379 <keepBlankLines>true</keepBlankLines>
380 <lineSeparator>\n</lineSeparator>
381 <nrOfIndentSpace>2</nrOfIndentSpace>
382 <predefinedSortOrder>custom_1</predefinedSortOrder>
383 <sortDependencies>scope,groupId,artifactId</sortDependencies>
384 <sortPlugins>groupId,artifactId</sortPlugins>
385 <sortProperties>true</sortProperties>
392 <phase>verify</phase>
397 <groupId>org.apache.maven.plugins</groupId>
398 <artifactId>maven-assembly-plugin</artifactId>
399 <version>2.4</version>
402 <!-- TODO move up to ODL parent. -->
403 <!-- This is required to make sure that we delete the files which are
404 being generated under the src/main directory since by default only files
405 under target get cleaned up. Because the clean plugin is automatically invoked
406 you do NOT need to specify it in the build->plugin section. You would only
407 want to override this if you have additional folders which need to be cleaned
409 <artifactId>maven-clean-plugin</artifactId>
413 <directory>${xtend.dstdir}</directory>
415 <include>**</include>
419 <directory>${jmxGeneratorPath}</directory>
421 <include>**</include>
425 <directory>${salGeneratorPath}</directory>
427 <include>**</include>
434 <!-- Configures the java doc generation. Generally you should not have
435 to override this unless you need to exclude other packages etc. -->
436 <groupId>org.apache.maven.plugins</groupId>
437 <artifactId>maven-javadoc-plugin</artifactId>
439 <doclet>org.jboss.apiviz.APIviz</doclet>
441 <groupId>org.jboss.apiviz</groupId>
442 <artifactId>apiviz</artifactId>
443 <version>1.3.2.GA</version>
445 <finalName>${project.artifactId}-${project.version}</finalName>
446 <useStandardDocletOptions>true</useStandardDocletOptions>
447 <charset>UTF-8</charset>
448 <encoding>UTF-8</encoding>
449 <docencoding>UTF-8</docencoding>
450 <breakiterator>true</breakiterator>
451 <version>true</version>
452 <author>true</author>
453 <keywords>true</keywords>
454 <excludePackageNames>net.sf.jnetlib.*:cern.*:corejava:*.internal:edu.uci.*</excludePackageNames>
455 <failOnError>false</failOnError>
459 <groupId>org.apache.maven.plugins</groupId>
460 <artifactId>maven-jxr-plugin</artifactId>
461 <version>2.3</version>
463 <aggregate>true</aggregate>
464 <linkJavadoc>true</linkJavadoc>
465 <javadocDir>target/apidocs</javadocDir>
469 <!-- TODO: This should be in ODL parent -->
470 <groupId>org.codehaus.mojo</groupId>
471 <artifactId>build-helper-maven-plugin</artifactId>
476 <goal>add-source</goal>
478 <phase>generate-sources</phase>
481 <source>${yang.src.path}</source>
482 <source>${jmxGeneratorPath}</source>
483 <source>${salGeneratorPath}</source>
484 <source>${xtend.dstdir}</source>
492 <groupId>org.eclipse.m2e</groupId>
493 <artifactId>lifecycle-mapping</artifactId>
494 <version>1.0.0</version>
496 <lifecycleMappingMetadata>
499 <pluginExecutionFilter>
500 <groupId>org.codehaus.mojo</groupId>
501 <artifactId>properties-maven-plugin</artifactId>
502 <versionRange>[0.0,)</versionRange>
504 <goal>set-system-properties</goal>
506 </pluginExecutionFilter>
512 <pluginExecutionFilter>
513 <groupId>org.jacoco</groupId>
514 <artifactId>jacoco-maven-plugin</artifactId>
515 <versionRange>[0.0,)</versionRange>
517 <goal>prepare-agent</goal>
518 <goal>pre-test</goal>
519 <goal>post-test</goal>
521 </pluginExecutionFilter>
527 <pluginExecutionFilter>
528 <groupId>org.ops4j.pax.exam</groupId>
529 <artifactId>maven-paxexam-plugin</artifactId>
530 <versionRange>[1.2.4,)</versionRange>
532 <goal>generate-depends-file</goal>
534 </pluginExecutionFilter>
540 <pluginExecutionFilter>
541 <groupId>org.apache.maven.plugins</groupId>
542 <artifactId>maven-checkstyle-plugin</artifactId>
543 <versionRange>[2.0,)</versionRange>
547 </pluginExecutionFilter>
553 <pluginExecutionFilter>
554 <groupId>org.opendaylight.yangtools</groupId>
555 <artifactId>yang-maven-plugin</artifactId>
556 <versionRange>[0.5,)</versionRange>
558 <goal>generate-sources</goal>
560 </pluginExecutionFilter>
566 </lifecycleMappingMetadata>
570 <!-- here we are defining the default generators for yang You may need
571 to override this in child poms if you want to define additional generators,
572 such as the JMX generator etc. -->
573 <groupId>org.opendaylight.yangtools</groupId>
574 <artifactId>yang-maven-plugin</artifactId>
575 <version>${yangtools.version}</version>
578 <groupId>org.opendaylight.yangtools</groupId>
579 <artifactId>maven-sal-api-gen-plugin</artifactId>
580 <version>${yangtools.version}</version>
586 <goal>generate-sources</goal>
589 <yangFilesRootDir>${yang.src.path}</yangFilesRootDir>
592 <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
593 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
596 <inspectDependencies>true</inspectDependencies>
605 <groupId>org.jacoco</groupId>
606 <artifactId>jacoco-maven-plugin</artifactId>
609 <id>prepare-ut-agent</id>
610 <phase>process-test-classes</phase>
612 <goal>prepare-agent</goal>
615 <destFile>${sonar.jacoco.reportPath}</destFile>
619 <id>prepare-it-agent</id>
620 <phase>pre-integration-test</phase>
622 <goal>prepare-agent</goal>
625 <destFile>${sonar.jacoco.itReportPath}</destFile>
638 <groupId>org.codehaus.mojo</groupId>
639 <artifactId>build-helper-maven-plugin</artifactId>
645 <outputDirectory>${project.build.directory}/site</outputDirectory>
646 <excludeDefaults>true</excludeDefaults>
649 <groupId>org.apache.maven.plugins</groupId>
650 <artifactId>maven-javadoc-plugin</artifactId>
651 <version>2.8.1</version>
653 <doclet>org.jboss.apiviz.APIviz</doclet>
655 <groupId>org.jboss.apiviz</groupId>
656 <artifactId>apiviz</artifactId>
657 <version>1.3.2.GA</version>
659 <finalName>${project.artifactId}-${build.suffix}</finalName>
660 <useStandardDocletOptions>true</useStandardDocletOptions>
661 <charset>UTF-8</charset>
662 <encoding>UTF-8</encoding>
663 <docencoding>UTF-8</docencoding>
664 <breakiterator>true</breakiterator>
665 <version>true</version>
666 <author>true</author>
667 <keywords>true</keywords>
668 <excludePackageNames>*.internal:edu.uci.*</excludePackageNames>
672 <groupId>org.apache.maven.plugins</groupId>
673 <artifactId>maven-jxr-plugin</artifactId>
674 <version>2.3</version>
676 <aggregate>true</aggregate>
677 <linkJavadoc>true</linkJavadoc>
681 <groupId>org.apache.maven.plugins</groupId>
682 <artifactId>maven-project-info-reports-plugin</artifactId>
683 <version>${projectinfo}</version>
685 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
686 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
691 <report>index</report>
692 <report>project-team</report>
693 <report>license</report>
694 <report>mailing-list</report>
695 <report>plugin-management</report>
697 <report>issue-tracking</report>
699 <report>summary</report>
707 <distributionManagement>
708 <!-- Note: We want the nexus proxy property here because want to enable
709 devs to upload this artifact using mvn deploy to other maven repositories. -->
710 <!-- OpenDayLight Released artifact -->
712 <id>opendaylight-release</id>
713 <url>${nexusproxy}/repositories/opendaylight.release/</url>
715 <!-- OpenDayLight Snapshot artifact -->
717 <id>opendaylight-snapshot</id>
718 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
719 </snapshotRepository>
720 <!-- Site deployment -->
721 </distributionManagement>