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 <feature.test.version>0.7.0-SNAPSHOT</feature.test.version>
34 <forwardingrulesmanager.version>0.5.0</forwardingrulesmanager.version>
35 <ietf-inet-types.version>2010.09.24.7-SNAPSHOT</ietf-inet-types.version>
36 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
37 <karaf.empty.version>1.5.0-SNAPSHOT</karaf.empty.version>
38 <karaf.resources.version>1.5.0-SNAPSHOT</karaf.resources.version>
39 <lispflowmapping.version>1.2.0-SNAPSHOT</lispflowmapping.version>
40 <mdsal.version>1.2.0-SNAPSHOT</mdsal.version>
41 <neutron.version>0.5.0-SNAPSHOT</neutron.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.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
47 <sonar.jacoco.reportPath>target/jacoco.exec</sonar.jacoco.reportPath>
48 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
49 <statisticsmanager.version>0.5.0</statisticsmanager.version>
50 <xtend.dstdir>src/main/xtend-gen</xtend.dstdir>
51 <yang-jmx-generator.version>1.1.0-SNAPSHOT</yang-jmx-generator.version>
52 <yang.binding.version>0.6.1</yang.binding.version>
53 <yang.codegen.version>0.6.1</yang.codegen.version>
54 <yang.src.path>src/main/yang</yang.src.path>
55 <yang.version>0.6.1</yang.version>
56 <yangtools.binding.version>0.6.1</yangtools.binding.version>
57 <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
60 <dependencyManagement>
62 <!-- NOTE: The "Type" jar is considered default. You only need to specify
63 the type when it is something other than jar. -->
65 <groupId>junit-addons</groupId>
66 <artifactId>junit-addons</artifactId>
67 <version>1.4</version>
70 <groupId>org.apache.karaf.features</groupId>
71 <artifactId>framework</artifactId>
72 <version>${karaf.version}</version>
76 <groupId>org.hamcrest</groupId>
77 <artifactId>hamcrest-core</artifactId>
78 <version>${hamcrest.version}</version>
81 <groupId>org.jmock</groupId>
82 <artifactId>jmock-junit4</artifactId>
83 <version>2.6.0</version>
86 <groupId>org.jmock</groupId>
87 <artifactId>jmock-legacy</artifactId>
88 <version>2.6.0</version>
91 <groupId>org.opendaylight.controller</groupId>
92 <artifactId>clustering.services</artifactId>
93 <version>0.6.0-SNAPSHOT</version>
96 <groupId>org.opendaylight.controller</groupId>
97 <artifactId>commons.northbound</artifactId>
98 <version>0.5.0-SNAPSHOT</version>
101 <groupId>org.opendaylight.controller</groupId>
102 <artifactId>config-api</artifactId>
103 <version>0.3.0-SNAPSHOT</version>
106 <groupId>org.opendaylight.controller</groupId>
107 <artifactId>config-manager</artifactId>
108 <version>${config.version}</version>
111 <groupId>org.opendaylight.controller</groupId>
112 <artifactId>config-util</artifactId>
113 <version>0.3.0-SNAPSHOT</version>
116 <groupId>org.opendaylight.controller</groupId>
117 <artifactId>containermanager</artifactId>
118 <version>0.6.0-SNAPSHOT</version>
121 <groupId>org.opendaylight.controller</groupId>
122 <artifactId>features-adsal</artifactId>
123 <version>${sal.version}</version>
124 <classifier>features</classifier>
128 <groupId>org.opendaylight.controller</groupId>
129 <artifactId>features-mdsal</artifactId>
130 <version>${mdsal.version}</version>
131 <classifier>features</classifier>
135 <groupId>org.opendaylight.controller</groupId>
136 <artifactId>features-netconf-connector</artifactId>
137 <version>${mdsal.version}</version>
138 <classifier>features</classifier>
142 <groupId>org.opendaylight.neutron</groupId>
143 <artifactId>features-neutron</artifactId>
144 <version>${neutron.version}</version>
145 <classifier>features</classifier>
149 <groupId>org.opendaylight.controller</groupId>
150 <artifactId>features-nsf</artifactId>
151 <version>${nsf.version}</version>
152 <classifier>features</classifier>
157 <groupId>org.opendaylight.controller</groupId>
158 <artifactId>karaf.branding</artifactId>
159 <version>${branding.version}</version>
160 <scope>compile</scope>
163 <groupId>org.opendaylight.controller</groupId>
164 <artifactId>netty-event-executor-config</artifactId>
165 <version>${config.version}</version>
168 <groupId>org.opendaylight.neutron</groupId>
169 <artifactId>neutron-spi</artifactId>
170 <version>0.5.0-SNAPSHOT</version>
173 <groupId>org.opendaylight.controller</groupId>
174 <artifactId>opendaylight-karaf-empty</artifactId>
175 <version>${karaf.empty.version}</version>
180 <groupId>org.opendaylight.controller</groupId>
181 <artifactId>opendaylight-karaf-resources</artifactId>
182 <version>${karaf.resources.version}</version>
185 <groupId>org.opendaylight.controller</groupId>
186 <artifactId>sal</artifactId>
187 <version>0.9.0-SNAPSHOT</version>
190 <groupId>org.opendaylight.controller</groupId>
191 <artifactId>sal-binding-api</artifactId>
192 <version>${mdsal.version}</version>
195 <groupId>org.opendaylight.controller</groupId>
196 <artifactId>sal-binding-broker-impl</artifactId>
197 <version>${mdsal.version}</version>
200 <groupId>org.opendaylight.controller</groupId>
201 <artifactId>sal-binding-config</artifactId>
202 <version>${mdsal.version}</version>
205 <groupId>org.opendaylight.controller</groupId>
206 <artifactId>sal-broker-impl</artifactId>
207 <version>${mdsal.version}</version>
210 <groupId>org.opendaylight.controller</groupId>
211 <artifactId>sal-common-util</artifactId>
212 <version>${mdsal.version}</version>
215 <groupId>org.opendaylight.controller</groupId>
216 <artifactId>sal-netconf-connector</artifactId>
217 <version>${mdsal.version}</version>
220 <groupId>org.opendaylight.controller</groupId>
221 <artifactId>threadpool-config-api</artifactId>
222 <version>${config.version}</version>
225 <groupId>org.opendaylight.controller</groupId>
226 <artifactId>threadpool-config-impl</artifactId>
227 <version>0.3.0-SNAPSHOT</version>
230 <groupId>org.opendaylight.lispflowmapping</groupId>
231 <artifactId>common.build.tools</artifactId>
232 <version>${lispflowmapping.version}</version>
235 <groupId>org.opendaylight.lispflowmapping</groupId>
236 <artifactId>lispflowmapping-code-commons</artifactId>
237 <version>${lispflowmapping.version}</version>
240 <groupId>org.opendaylight.lispflowmapping</groupId>
241 <artifactId>lispflowmapping-commons</artifactId>
242 <version>${lispflowmapping.version}</version>
245 <groupId>org.opendaylight.lispflowmapping</groupId>
246 <artifactId>mappingservice.api</artifactId>
247 <version>${lispflowmapping.version}</version>
250 <groupId>org.opendaylight.lispflowmapping</groupId>
251 <artifactId>mappingservice.clusterdao</artifactId>
252 <version>${lispflowmapping.version}</version>
255 <groupId>org.opendaylight.lispflowmapping</groupId>
256 <artifactId>mappingservice.config</artifactId>
257 <version>${lispflowmapping.version}</version>
260 <groupId>org.opendaylight.lispflowmapping</groupId>
261 <artifactId>mappingservice.implementation</artifactId>
262 <version>${lispflowmapping.version}</version>
266 <groupId>org.opendaylight.lispflowmapping</groupId>
267 <artifactId>mappingservice.netconf</artifactId>
268 <version>${lispflowmapping.version}</version>
271 <groupId>org.opendaylight.lispflowmapping</groupId>
272 <artifactId>mappingservice.neutron</artifactId>
273 <version>${lispflowmapping.version}</version>
276 <groupId>org.opendaylight.lispflowmapping</groupId>
277 <artifactId>mappingservice.northbound</artifactId>
278 <version>${lispflowmapping.version}</version>
281 <groupId>org.opendaylight.lispflowmapping</groupId>
282 <artifactId>mappingservice.southbound</artifactId>
283 <version>${lispflowmapping.version}</version>
286 <groupId>org.opendaylight.lispflowmapping</groupId>
287 <artifactId>mappingservice.yangmodel</artifactId>
288 <version>${lispflowmapping.version}</version>
291 <groupId>org.opendaylight.yangtools</groupId>
292 <artifactId>yang-binding</artifactId>
293 <version>0.7.0-SNAPSHOT</version>
296 <groupId>org.opendaylight.yangtools</groupId>
297 <artifactId>yang-common</artifactId>
298 <version>0.7.0-SNAPSHOT</version>
301 <groupId>org.opendaylight.yangtools</groupId>
302 <artifactId>yang-data-api</artifactId>
303 <version>0.7.0-SNAPSHOT</version>
306 <groupId>org.opendaylight.yangtools</groupId>
307 <artifactId>yang-data-impl</artifactId>
308 <version>${yangtools.version}</version>
311 <groupId>org.opendaylight.yangtools</groupId>
312 <artifactId>yang-data-util</artifactId>
313 <version>0.7.0-SNAPSHOT</version>
316 <groupId>org.opendaylight.yangtools</groupId>
317 <artifactId>yang-model-api</artifactId>
318 <version>0.7.0-SNAPSHOT</version>
321 <groupId>org.opendaylight.yangtools</groupId>
322 <artifactId>yang-parser-impl</artifactId>
323 <version>${yangtools.version}</version>
326 <groupId>org.opendaylight.yangtools.model</groupId>
327 <artifactId>ietf-inet-types</artifactId>
328 <version>2010.09.24.7-SNAPSHOT</version>
331 <groupId>org.opendaylight.yangtools.model</groupId>
332 <artifactId>ietf-yang-types</artifactId>
333 <version>2010.09.24.7-SNAPSHOT</version>
336 <groupId>org.apache.karaf.features</groupId>
337 <artifactId>standard</artifactId>
338 <version>${karaf.version}</version>
339 <classifier>features</classifier>
341 <scope>runtime</scope>
345 <groupId>org.opendaylight.lispflowmapping</groupId>
346 <artifactId>features-lispflowmapping</artifactId>
347 <version>${lispflowmapping.version}</version>
348 <classifier>features</classifier>
350 <scope>runtime</scope>
353 <groupId>org.opendaylight.lispflowmapping</groupId>
354 <artifactId>common.unittest.tools</artifactId>
355 <version>${lispflowmapping.version}</version>
359 <groupId>org.opendaylight.yangtools</groupId>
360 <artifactId>mockito-configuration</artifactId>
361 <version>${yangtools.version}</version>
365 </dependencyManagement>
370 <!-- This configures the sort pom plugin to sort properties, dependencies
371 etc during a build. It helps to ensure consistent poms that are easy to read.
372 While the configuration should exist at a root level it is still up to the
373 individual projects to invoke it by defining the plugin in the build->plugins
375 <groupId>com.google.code.sortpom</groupId>
376 <artifactId>maven-sortpom-plugin</artifactId>
377 <version>2.2.1</version>
379 <createBackupFile>false</createBackupFile>
380 <encoding>${project.build.sourceEncoding}</encoding>
381 <keepBlankLines>true</keepBlankLines>
382 <lineSeparator>\n</lineSeparator>
383 <nrOfIndentSpace>2</nrOfIndentSpace>
384 <predefinedSortOrder>custom_1</predefinedSortOrder>
385 <sortDependencies>scope,groupId,artifactId</sortDependencies>
386 <sortPlugins>groupId,artifactId</sortPlugins>
387 <sortProperties>true</sortProperties>
394 <phase>verify</phase>
399 <groupId>org.apache.maven.plugins</groupId>
400 <artifactId>maven-assembly-plugin</artifactId>
401 <version>2.4</version>
404 <!-- TODO move up to ODL parent. -->
405 <!-- This is required to make sure that we delete the files which are
406 being generated under the src/main directory since by default only files
407 under target get cleaned up. Because the clean plugin is automatically invoked
408 you do NOT need to specify it in the build->plugin section. You would only
409 want to override this if you have additional folders which need to be cleaned
411 <artifactId>maven-clean-plugin</artifactId>
415 <directory>${xtend.dstdir}</directory>
417 <include>**</include>
421 <directory>${jmxGeneratorPath}</directory>
423 <include>**</include>
427 <directory>${salGeneratorPath}</directory>
429 <include>**</include>
436 <!-- Configures the java doc generation. Generally you should not have
437 to override this unless you need to exclude other packages etc. -->
438 <groupId>org.apache.maven.plugins</groupId>
439 <artifactId>maven-javadoc-plugin</artifactId>
441 <doclet>org.jboss.apiviz.APIviz</doclet>
443 <groupId>org.jboss.apiviz</groupId>
444 <artifactId>apiviz</artifactId>
445 <version>1.3.2.GA</version>
447 <finalName>${project.artifactId}-${project.version}</finalName>
448 <useStandardDocletOptions>true</useStandardDocletOptions>
449 <charset>UTF-8</charset>
450 <encoding>UTF-8</encoding>
451 <docencoding>UTF-8</docencoding>
452 <breakiterator>true</breakiterator>
453 <version>true</version>
454 <author>true</author>
455 <keywords>true</keywords>
456 <excludePackageNames>net.sf.jnetlib.*:cern.*:corejava:*.internal:edu.uci.*</excludePackageNames>
457 <failOnError>false</failOnError>
461 <groupId>org.apache.maven.plugins</groupId>
462 <artifactId>maven-jxr-plugin</artifactId>
463 <version>2.3</version>
465 <aggregate>true</aggregate>
466 <linkJavadoc>true</linkJavadoc>
467 <javadocDir>target/apidocs</javadocDir>
471 <groupId>org.codehaus.enunciate</groupId>
472 <artifactId>maven-enunciate-plugin</artifactId>
474 <configFile>enunciate.xml</configFile>
485 <!-- TODO: This should be in ODL parent -->
486 <groupId>org.codehaus.mojo</groupId>
487 <artifactId>build-helper-maven-plugin</artifactId>
492 <goal>add-source</goal>
494 <phase>generate-sources</phase>
497 <source>${yang.src.path}</source>
498 <source>${jmxGeneratorPath}</source>
499 <source>${salGeneratorPath}</source>
500 <source>${xtend.dstdir}</source>
508 <groupId>org.eclipse.m2e</groupId>
509 <artifactId>lifecycle-mapping</artifactId>
510 <version>1.0.0</version>
512 <lifecycleMappingMetadata>
515 <pluginExecutionFilter>
516 <groupId>org.codehaus.mojo</groupId>
517 <artifactId>properties-maven-plugin</artifactId>
518 <versionRange>[0.0,)</versionRange>
520 <goal>set-system-properties</goal>
522 </pluginExecutionFilter>
528 <pluginExecutionFilter>
529 <groupId>org.codehaus.enunciate</groupId>
530 <artifactId>maven-enunciate-plugin</artifactId>
531 <versionRange>[0.0,)</versionRange>
535 </pluginExecutionFilter>
541 <pluginExecutionFilter>
542 <groupId>org.jacoco</groupId>
543 <artifactId>jacoco-maven-plugin</artifactId>
544 <versionRange>[0.0,)</versionRange>
546 <goal>prepare-agent</goal>
547 <goal>pre-test</goal>
548 <goal>post-test</goal>
550 </pluginExecutionFilter>
556 <pluginExecutionFilter>
557 <groupId>org.ops4j.pax.exam</groupId>
558 <artifactId>maven-paxexam-plugin</artifactId>
559 <versionRange>[1.2.4,)</versionRange>
561 <goal>generate-depends-file</goal>
563 </pluginExecutionFilter>
569 <pluginExecutionFilter>
570 <groupId>org.apache.maven.plugins</groupId>
571 <artifactId>maven-checkstyle-plugin</artifactId>
572 <versionRange>[2.0,)</versionRange>
576 </pluginExecutionFilter>
582 <pluginExecutionFilter>
583 <groupId>org.opendaylight.yangtools</groupId>
584 <artifactId>yang-maven-plugin</artifactId>
585 <versionRange>[0.5,)</versionRange>
587 <goal>generate-sources</goal>
589 </pluginExecutionFilter>
595 </lifecycleMappingMetadata>
599 <!-- here we are defining the default generators for yang You may need
600 to override this in child poms if you want to define additional generators,
601 such as the JMX generator etc. -->
602 <groupId>org.opendaylight.yangtools</groupId>
603 <artifactId>yang-maven-plugin</artifactId>
604 <version>${yangtools.version}</version>
607 <groupId>org.opendaylight.yangtools</groupId>
608 <artifactId>maven-sal-api-gen-plugin</artifactId>
609 <version>${yangtools.version}</version>
615 <goal>generate-sources</goal>
618 <yangFilesRootDir>${yang.src.path}</yangFilesRootDir>
621 <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
622 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
625 <inspectDependencies>true</inspectDependencies>
634 <groupId>org.jacoco</groupId>
635 <artifactId>jacoco-maven-plugin</artifactId>
638 <id>prepare-ut-agent</id>
639 <phase>process-test-classes</phase>
641 <goal>prepare-agent</goal>
644 <destFile>${sonar.jacoco.reportPath}</destFile>
648 <id>prepare-it-agent</id>
649 <phase>pre-integration-test</phase>
651 <goal>prepare-agent</goal>
654 <destFile>${sonar.jacoco.itReportPath}</destFile>
670 <outputDirectory>${project.build.directory}/site</outputDirectory>
671 <excludeDefaults>true</excludeDefaults>
674 <groupId>org.apache.maven.plugins</groupId>
675 <artifactId>maven-javadoc-plugin</artifactId>
676 <version>2.8.1</version>
678 <doclet>org.jboss.apiviz.APIviz</doclet>
680 <groupId>org.jboss.apiviz</groupId>
681 <artifactId>apiviz</artifactId>
682 <version>1.3.2.GA</version>
684 <finalName>${project.artifactId}-${build.suffix}</finalName>
685 <useStandardDocletOptions>true</useStandardDocletOptions>
686 <charset>UTF-8</charset>
687 <encoding>UTF-8</encoding>
688 <docencoding>UTF-8</docencoding>
689 <breakiterator>true</breakiterator>
690 <version>true</version>
691 <author>true</author>
692 <keywords>true</keywords>
693 <excludePackageNames>*.internal:edu.uci.*</excludePackageNames>
697 <groupId>org.apache.maven.plugins</groupId>
698 <artifactId>maven-jxr-plugin</artifactId>
699 <version>2.3</version>
701 <aggregate>true</aggregate>
702 <linkJavadoc>true</linkJavadoc>
706 <groupId>org.apache.maven.plugins</groupId>
707 <artifactId>maven-project-info-reports-plugin</artifactId>
708 <version>${projectinfo}</version>
710 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
711 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
716 <report>index</report>
717 <report>project-team</report>
718 <report>license</report>
719 <report>mailing-list</report>
720 <report>plugin-management</report>
722 <report>issue-tracking</report>
724 <report>summary</report>
732 <distributionManagement>
733 <!-- Note: We want the nexus proxy property here because want to enable
734 devs to upload this artifact using mvn deploy to other maven repositories. -->
735 <!-- OpenDayLight Released artifact -->
737 <id>opendaylight-release</id>
738 <url>${nexusproxy}/repositories/opendaylight.release/</url>
740 <!-- OpenDayLight Snapshot artifact -->
742 <id>opendaylight-snapshot</id>
743 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
744 </snapshotRepository>
745 <!-- Site deployment -->
746 </distributionManagement>