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>
29 <branding.version>1.2.0-SNAPSHOT</branding.version>
30 <build.suffix>1.0.0</build.suffix>
31 <clustering.services.version>0.7.0-SNAPSHOT</clustering.services.version>
32 <config.version>0.4.0-SNAPSHOT</config.version>
33 <feature.test.version>0.8.0-SNAPSHOT</feature.test.version>
34 <forwardingrulesmanager.version>0.5.0</forwardingrulesmanager.version>
35 <ietf-inet-types.version>2010.09.24.8-SNAPSHOT</ietf-inet-types.version>
36 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
37 <karaf.empty.version>1.6.0-SNAPSHOT</karaf.empty.version>
38 <karaf.resources.version>1.6.0-SNAPSHOT</karaf.resources.version>
39 <lispflowmapping.version>1.3.0-SNAPSHOT</lispflowmapping.version>
40 <mdsal.version>1.3.0-SNAPSHOT</mdsal.version>
41 <neutron.version>0.6.0-SNAPSHOT</neutron.version>
42 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
43 <nsf.version>0.6.0-SNAPSHOT</nsf.version>
44 <sal.version>0.10.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.src.path>src/main/yang</yang.src.path>
52 <yangtools.version>0.8.0-SNAPSHOT</yangtools.version>
55 <dependencyManagement>
57 <!-- NOTE: The "Type" jar is considered default. You only need to specify
58 the type when it is something other than jar. -->
60 <groupId>junit-addons</groupId>
61 <artifactId>junit-addons</artifactId>
62 <version>1.4</version>
65 <groupId>org.apache.karaf.features</groupId>
66 <artifactId>framework</artifactId>
67 <version>${karaf.version}</version>
71 <groupId>org.hamcrest</groupId>
72 <artifactId>hamcrest-core</artifactId>
73 <version>${hamcrest.version}</version>
76 <groupId>org.jmock</groupId>
77 <artifactId>jmock-junit4</artifactId>
78 <version>2.6.0</version>
81 <groupId>org.jmock</groupId>
82 <artifactId>jmock-legacy</artifactId>
83 <version>2.6.0</version>
86 <groupId>org.opendaylight.controller</groupId>
87 <artifactId>config-api</artifactId>
88 <version>0.4.0-SNAPSHOT</version>
91 <groupId>org.opendaylight.controller</groupId>
92 <artifactId>config-manager</artifactId>
93 <version>${config.version}</version>
96 <groupId>org.opendaylight.controller</groupId>
97 <artifactId>config-util</artifactId>
98 <version>0.4.0-SNAPSHOT</version>
101 <groupId>org.opendaylight.controller</groupId>
102 <artifactId>features-mdsal</artifactId>
103 <version>${mdsal.version}</version>
104 <classifier>features</classifier>
108 <groupId>org.opendaylight.controller</groupId>
109 <artifactId>features-restconf</artifactId>
110 <version>${mdsal.version}</version>
111 <classifier>features</classifier>
115 <groupId>org.opendaylight.controller</groupId>
116 <artifactId>features-netconf-connector</artifactId>
117 <version>${mdsal.version}</version>
118 <classifier>features</classifier>
122 <groupId>org.opendaylight.neutron</groupId>
123 <artifactId>features-neutron</artifactId>
124 <version>${neutron.version}</version>
125 <classifier>features</classifier>
129 <groupId>org.opendaylight.controller</groupId>
130 <artifactId>features-nsf</artifactId>
131 <version>${nsf.version}</version>
132 <classifier>features</classifier>
137 <groupId>org.opendaylight.controller</groupId>
138 <artifactId>karaf.branding</artifactId>
139 <version>${branding.version}</version>
140 <scope>compile</scope>
143 <groupId>org.opendaylight.controller</groupId>
144 <artifactId>netty-event-executor-config</artifactId>
145 <version>${config.version}</version>
148 <groupId>org.opendaylight.controller</groupId>
149 <artifactId>opendaylight-karaf-empty</artifactId>
150 <version>${karaf.empty.version}</version>
155 <groupId>org.opendaylight.controller</groupId>
156 <artifactId>opendaylight-karaf-resources</artifactId>
157 <version>${karaf.resources.version}</version>
160 <groupId>org.opendaylight.controller</groupId>
161 <artifactId>sal-binding-api</artifactId>
162 <version>${mdsal.version}</version>
165 <groupId>org.opendaylight.controller</groupId>
166 <artifactId>sal-binding-broker-impl</artifactId>
167 <version>${mdsal.version}</version>
170 <groupId>org.opendaylight.controller</groupId>
171 <artifactId>sal-binding-config</artifactId>
172 <version>${mdsal.version}</version>
175 <groupId>org.opendaylight.controller</groupId>
176 <artifactId>sal-broker-impl</artifactId>
177 <version>${mdsal.version}</version>
180 <groupId>org.opendaylight.controller</groupId>
181 <artifactId>sal-common-util</artifactId>
182 <version>${mdsal.version}</version>
185 <groupId>org.opendaylight.controller</groupId>
186 <artifactId>sal-netconf-connector</artifactId>
187 <version>${mdsal.version}</version>
190 <groupId>org.opendaylight.controller</groupId>
191 <artifactId>threadpool-config-api</artifactId>
192 <version>${config.version}</version>
195 <groupId>org.opendaylight.controller</groupId>
196 <artifactId>threadpool-config-impl</artifactId>
197 <version>0.4.0-SNAPSHOT</version>
200 <groupId>org.opendaylight.lispflowmapping</groupId>
201 <artifactId>common.build.tools</artifactId>
202 <version>${lispflowmapping.version}</version>
205 <groupId>org.opendaylight.lispflowmapping</groupId>
206 <artifactId>lispflowmapping-code-commons</artifactId>
207 <version>${lispflowmapping.version}</version>
210 <groupId>org.opendaylight.lispflowmapping</groupId>
211 <artifactId>lispflowmapping-commons</artifactId>
212 <version>${lispflowmapping.version}</version>
215 <groupId>org.opendaylight.lispflowmapping</groupId>
216 <artifactId>mappingservice.api</artifactId>
217 <version>${lispflowmapping.version}</version>
220 <groupId>org.opendaylight.lispflowmapping</groupId>
221 <artifactId>mappingservice.clusterdao</artifactId>
222 <version>${lispflowmapping.version}</version>
225 <groupId>org.opendaylight.lispflowmapping</groupId>
226 <artifactId>mappingservice.config</artifactId>
227 <version>${lispflowmapping.version}</version>
230 <groupId>org.opendaylight.lispflowmapping</groupId>
231 <artifactId>mappingservice.implementation</artifactId>
232 <version>${lispflowmapping.version}</version>
235 <groupId>org.opendaylight.lispflowmapping</groupId>
236 <artifactId>mappingservice.inmemorydb</artifactId>
237 <version>${lispflowmapping.version}</version>
240 <groupId>org.opendaylight.lispflowmapping</groupId>
241 <artifactId>mappingservice.netconf</artifactId>
242 <version>${lispflowmapping.version}</version>
245 <groupId>org.opendaylight.lispflowmapping</groupId>
246 <artifactId>mappingservice.neutron</artifactId>
247 <version>${lispflowmapping.version}</version>
250 <groupId>org.opendaylight.lispflowmapping</groupId>
251 <artifactId>mappingservice.northbound</artifactId>
252 <version>${lispflowmapping.version}</version>
255 <groupId>org.opendaylight.lispflowmapping</groupId>
256 <artifactId>mappingservice.shell</artifactId>
257 <version>${lispflowmapping.version}</version>
260 <groupId>org.opendaylight.lispflowmapping</groupId>
261 <artifactId>mappingservice.southbound</artifactId>
262 <version>${lispflowmapping.version}</version>
265 <groupId>org.opendaylight.lispflowmapping</groupId>
266 <artifactId>mappingservice.yangmodel</artifactId>
267 <version>${lispflowmapping.version}</version>
270 <groupId>org.opendaylight.yangtools</groupId>
271 <artifactId>yang-binding</artifactId>
272 <version>0.8.0-SNAPSHOT</version>
275 <groupId>org.opendaylight.yangtools</groupId>
276 <artifactId>yang-common</artifactId>
277 <version>0.8.0-SNAPSHOT</version>
280 <groupId>org.opendaylight.yangtools</groupId>
281 <artifactId>yang-data-api</artifactId>
282 <version>0.8.0-SNAPSHOT</version>
285 <groupId>org.opendaylight.yangtools</groupId>
286 <artifactId>yang-data-impl</artifactId>
287 <version>${yangtools.version}</version>
290 <groupId>org.opendaylight.yangtools</groupId>
291 <artifactId>yang-data-util</artifactId>
292 <version>0.8.0-SNAPSHOT</version>
295 <groupId>org.opendaylight.yangtools</groupId>
296 <artifactId>yang-model-api</artifactId>
297 <version>0.8.0-SNAPSHOT</version>
300 <groupId>org.opendaylight.yangtools</groupId>
301 <artifactId>yang-parser-impl</artifactId>
302 <version>${yangtools.version}</version>
305 <groupId>org.opendaylight.yangtools.model</groupId>
306 <artifactId>ietf-inet-types</artifactId>
307 <version>${ietf-inet-types.version}</version>
310 <groupId>org.opendaylight.yangtools.model</groupId>
311 <artifactId>ietf-yang-types</artifactId>
312 <version>${ietf-inet-types.version}</version>
315 <groupId>org.apache.karaf.features</groupId>
316 <artifactId>standard</artifactId>
317 <version>${karaf.version}</version>
318 <classifier>features</classifier>
320 <scope>runtime</scope>
324 <groupId>org.opendaylight.lispflowmapping</groupId>
325 <artifactId>features-lispflowmapping</artifactId>
326 <version>${lispflowmapping.version}</version>
327 <classifier>features</classifier>
329 <scope>runtime</scope>
332 <groupId>org.opendaylight.lispflowmapping</groupId>
333 <artifactId>common.unittest.tools</artifactId>
334 <version>${lispflowmapping.version}</version>
338 <groupId>org.opendaylight.yangtools</groupId>
339 <artifactId>mockito-configuration</artifactId>
340 <version>${yangtools.version}</version>
344 </dependencyManagement>
349 <!-- This configures the sort pom plugin to sort properties, dependencies
350 etc during a build. It helps to ensure consistent poms that are easy to read.
351 While the configuration should exist at a root level it is still up to the
352 individual projects to invoke it by defining the plugin in the build->plugins
354 <groupId>com.google.code.sortpom</groupId>
355 <artifactId>maven-sortpom-plugin</artifactId>
356 <version>2.2.1</version>
358 <createBackupFile>false</createBackupFile>
359 <encoding>${project.build.sourceEncoding}</encoding>
360 <keepBlankLines>true</keepBlankLines>
361 <lineSeparator>\n</lineSeparator>
362 <nrOfIndentSpace>2</nrOfIndentSpace>
363 <predefinedSortOrder>custom_1</predefinedSortOrder>
364 <sortDependencies>scope,groupId,artifactId</sortDependencies>
365 <sortPlugins>groupId,artifactId</sortPlugins>
366 <sortProperties>true</sortProperties>
373 <phase>verify</phase>
378 <groupId>org.apache.maven.plugins</groupId>
379 <artifactId>maven-assembly-plugin</artifactId>
380 <version>2.4</version>
383 <!-- TODO move up to ODL parent. -->
384 <!-- This is required to make sure that we delete the files which are
385 being generated under the src/main directory since by default only files
386 under target get cleaned up. Because the clean plugin is automatically invoked
387 you do NOT need to specify it in the build->plugin section. You would only
388 want to override this if you have additional folders which need to be cleaned
390 <artifactId>maven-clean-plugin</artifactId>
394 <directory>${xtend.dstdir}</directory>
396 <include>**</include>
400 <directory>${jmxGeneratorPath}</directory>
402 <include>**</include>
406 <directory>${salGeneratorPath}</directory>
408 <include>**</include>
415 <!-- Configures the java doc generation. Generally you should not have
416 to override this unless you need to exclude other packages etc. -->
417 <groupId>org.apache.maven.plugins</groupId>
418 <artifactId>maven-javadoc-plugin</artifactId>
420 <doclet>org.jboss.apiviz.APIviz</doclet>
422 <groupId>org.jboss.apiviz</groupId>
423 <artifactId>apiviz</artifactId>
424 <version>1.3.2.GA</version>
426 <finalName>${project.artifactId}-${project.version}</finalName>
427 <useStandardDocletOptions>true</useStandardDocletOptions>
428 <charset>UTF-8</charset>
429 <encoding>UTF-8</encoding>
430 <docencoding>UTF-8</docencoding>
431 <breakiterator>true</breakiterator>
432 <version>true</version>
433 <author>true</author>
434 <keywords>true</keywords>
435 <excludePackageNames>net.sf.jnetlib.*:cern.*:corejava:*.internal:edu.uci.*</excludePackageNames>
436 <failOnError>false</failOnError>
440 <groupId>org.apache.maven.plugins</groupId>
441 <artifactId>maven-jxr-plugin</artifactId>
442 <version>2.3</version>
444 <aggregate>true</aggregate>
445 <linkJavadoc>true</linkJavadoc>
446 <javadocDir>target/apidocs</javadocDir>
450 <!-- TODO: This should be in ODL parent -->
451 <groupId>org.codehaus.mojo</groupId>
452 <artifactId>build-helper-maven-plugin</artifactId>
457 <goal>add-source</goal>
459 <phase>generate-sources</phase>
462 <source>${yang.src.path}</source>
463 <source>${jmxGeneratorPath}</source>
464 <source>${salGeneratorPath}</source>
465 <source>${xtend.dstdir}</source>
473 <groupId>org.eclipse.m2e</groupId>
474 <artifactId>lifecycle-mapping</artifactId>
475 <version>1.0.0</version>
477 <lifecycleMappingMetadata>
480 <pluginExecutionFilter>
481 <groupId>org.codehaus.mojo</groupId>
482 <artifactId>properties-maven-plugin</artifactId>
483 <versionRange>[0.0,)</versionRange>
485 <goal>set-system-properties</goal>
487 </pluginExecutionFilter>
493 <pluginExecutionFilter>
494 <groupId>org.jacoco</groupId>
495 <artifactId>jacoco-maven-plugin</artifactId>
496 <versionRange>[0.0,)</versionRange>
498 <goal>prepare-agent</goal>
499 <goal>pre-test</goal>
500 <goal>post-test</goal>
502 </pluginExecutionFilter>
508 <pluginExecutionFilter>
509 <groupId>org.ops4j.pax.exam</groupId>
510 <artifactId>maven-paxexam-plugin</artifactId>
511 <versionRange>[1.2.4,)</versionRange>
513 <goal>generate-depends-file</goal>
515 </pluginExecutionFilter>
521 <pluginExecutionFilter>
522 <groupId>org.apache.maven.plugins</groupId>
523 <artifactId>maven-checkstyle-plugin</artifactId>
524 <versionRange>[2.0,)</versionRange>
528 </pluginExecutionFilter>
534 <pluginExecutionFilter>
535 <groupId>org.opendaylight.yangtools</groupId>
536 <artifactId>yang-maven-plugin</artifactId>
537 <versionRange>[0.5,)</versionRange>
539 <goal>generate-sources</goal>
541 </pluginExecutionFilter>
547 </lifecycleMappingMetadata>
551 <!-- here we are defining the default generators for yang You may need
552 to override this in child poms if you want to define additional generators,
553 such as the JMX generator etc. -->
554 <groupId>org.opendaylight.yangtools</groupId>
555 <artifactId>yang-maven-plugin</artifactId>
556 <version>${yangtools.version}</version>
559 <groupId>org.opendaylight.yangtools</groupId>
560 <artifactId>maven-sal-api-gen-plugin</artifactId>
561 <version>${yangtools.version}</version>
567 <goal>generate-sources</goal>
570 <yangFilesRootDir>${yang.src.path}</yangFilesRootDir>
573 <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
574 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
577 <inspectDependencies>true</inspectDependencies>
586 <groupId>org.jacoco</groupId>
587 <artifactId>jacoco-maven-plugin</artifactId>
590 <id>prepare-ut-agent</id>
591 <phase>process-test-classes</phase>
593 <goal>prepare-agent</goal>
596 <destFile>${sonar.jacoco.reportPath}</destFile>
600 <id>prepare-it-agent</id>
601 <phase>pre-integration-test</phase>
603 <goal>prepare-agent</goal>
606 <destFile>${sonar.jacoco.itReportPath}</destFile>
619 <groupId>org.codehaus.mojo</groupId>
620 <artifactId>build-helper-maven-plugin</artifactId>
626 <outputDirectory>${project.build.directory}/site</outputDirectory>
627 <excludeDefaults>true</excludeDefaults>
630 <groupId>org.apache.maven.plugins</groupId>
631 <artifactId>maven-javadoc-plugin</artifactId>
632 <version>2.8.1</version>
634 <doclet>org.jboss.apiviz.APIviz</doclet>
636 <groupId>org.jboss.apiviz</groupId>
637 <artifactId>apiviz</artifactId>
638 <version>1.3.2.GA</version>
640 <finalName>${project.artifactId}-${build.suffix}</finalName>
641 <useStandardDocletOptions>true</useStandardDocletOptions>
642 <charset>UTF-8</charset>
643 <encoding>UTF-8</encoding>
644 <docencoding>UTF-8</docencoding>
645 <breakiterator>true</breakiterator>
646 <version>true</version>
647 <author>true</author>
648 <keywords>true</keywords>
649 <excludePackageNames>*.internal:edu.uci.*</excludePackageNames>
653 <groupId>org.apache.maven.plugins</groupId>
654 <artifactId>maven-jxr-plugin</artifactId>
655 <version>2.3</version>
657 <aggregate>true</aggregate>
658 <linkJavadoc>true</linkJavadoc>
662 <groupId>org.apache.maven.plugins</groupId>
663 <artifactId>maven-project-info-reports-plugin</artifactId>
664 <version>${projectinfo}</version>
666 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
667 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
672 <report>index</report>
673 <report>project-team</report>
674 <report>license</report>
675 <report>mailing-list</report>
676 <report>plugin-management</report>
678 <report>issue-tracking</report>
680 <report>summary</report>
688 <distributionManagement>
689 <!-- Note: We want the nexus proxy property here because want to enable
690 devs to upload this artifact using mvn deploy to other maven repositories. -->
691 <!-- OpenDayLight Released artifact -->
693 <id>opendaylight-release</id>
694 <url>${nexusproxy}/repositories/opendaylight.release/</url>
696 <!-- OpenDayLight Snapshot artifact -->
698 <id>opendaylight-snapshot</id>
699 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
700 </snapshotRepository>
701 <!-- Site deployment -->
702 </distributionManagement>