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 <dlux.loader.version>0.3.0-SNAPSHOT</dlux.loader.version>
34 <dlux.core.version>0.3.0-SNAPSHOT</dlux.core.version>
35 <feature.test.version>0.8.0-SNAPSHOT</feature.test.version>
36 <forwardingrulesmanager.version>0.5.0</forwardingrulesmanager.version>
37 <ietf-inet-types.version>2010.09.24.8-SNAPSHOT</ietf-inet-types.version>
38 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
39 <karaf.empty.version>1.6.0-SNAPSHOT</karaf.empty.version>
40 <karaf.resources.version>1.6.0-SNAPSHOT</karaf.resources.version>
41 <lispflowmapping.version>1.3.0-SNAPSHOT</lispflowmapping.version>
42 <mdsal.version>1.3.0-SNAPSHOT</mdsal.version>
43 <neutron.version>0.6.0-SNAPSHOT</neutron.version>
44 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
45 <nsf.version>0.6.0-SNAPSHOT</nsf.version>
46 <sal.version>0.10.0-SNAPSHOT</sal.version>
47 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
48 <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
49 <sonar.jacoco.reportPath>target/jacoco.exec</sonar.jacoco.reportPath>
50 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
51 <statisticsmanager.version>0.5.0</statisticsmanager.version>
52 <xtend.dstdir>src/main/xtend-gen</xtend.dstdir>
53 <yang.src.path>src/main/yang</yang.src.path>
54 <yangtools.version>0.8.0-SNAPSHOT</yangtools.version>
57 <dependencyManagement>
59 <!-- NOTE: The "Type" jar is considered default. You only need to specify
60 the type when it is something other than jar. -->
62 <groupId>junit-addons</groupId>
63 <artifactId>junit-addons</artifactId>
64 <version>1.4</version>
67 <groupId>org.apache.karaf.features</groupId>
68 <artifactId>framework</artifactId>
69 <version>${karaf.version}</version>
73 <groupId>org.hamcrest</groupId>
74 <artifactId>hamcrest-core</artifactId>
75 <version>${hamcrest.version}</version>
78 <groupId>org.jmock</groupId>
79 <artifactId>jmock</artifactId>
80 <version>2.6.0</version>
83 <groupId>org.jmock</groupId>
84 <artifactId>jmock-legacy</artifactId>
85 <version>2.6.0</version>
88 <groupId>org.opendaylight.controller</groupId>
89 <artifactId>config-api</artifactId>
90 <version>0.4.0-SNAPSHOT</version>
93 <groupId>org.opendaylight.controller</groupId>
94 <artifactId>config-manager</artifactId>
95 <version>${config.version}</version>
98 <groupId>org.opendaylight.controller</groupId>
99 <artifactId>config-util</artifactId>
100 <version>0.4.0-SNAPSHOT</version>
103 <groupId>org.opendaylight.controller</groupId>
104 <artifactId>features-mdsal</artifactId>
105 <version>${mdsal.version}</version>
106 <classifier>features</classifier>
110 <groupId>org.opendaylight.controller</groupId>
111 <artifactId>features-restconf</artifactId>
112 <version>${mdsal.version}</version>
113 <classifier>features</classifier>
117 <groupId>org.opendaylight.controller</groupId>
118 <artifactId>features-netconf-connector</artifactId>
119 <version>${mdsal.version}</version>
120 <classifier>features</classifier>
124 <groupId>org.opendaylight.neutron</groupId>
125 <artifactId>features-neutron</artifactId>
126 <version>${neutron.version}</version>
127 <classifier>features</classifier>
131 <groupId>org.opendaylight.controller</groupId>
132 <artifactId>features-nsf</artifactId>
133 <version>${nsf.version}</version>
134 <classifier>features</classifier>
139 <groupId>org.opendaylight.controller</groupId>
140 <artifactId>karaf.branding</artifactId>
141 <version>${branding.version}</version>
142 <scope>compile</scope>
145 <groupId>org.opendaylight.controller</groupId>
146 <artifactId>netty-event-executor-config</artifactId>
147 <version>${config.version}</version>
150 <groupId>org.opendaylight.controller</groupId>
151 <artifactId>opendaylight-karaf-empty</artifactId>
152 <version>${karaf.empty.version}</version>
157 <groupId>org.opendaylight.controller</groupId>
158 <artifactId>opendaylight-karaf-resources</artifactId>
159 <version>${karaf.resources.version}</version>
162 <groupId>org.opendaylight.controller</groupId>
163 <artifactId>sal-binding-api</artifactId>
164 <version>${mdsal.version}</version>
167 <groupId>org.opendaylight.controller</groupId>
168 <artifactId>sal-binding-broker-impl</artifactId>
169 <version>${mdsal.version}</version>
172 <groupId>org.opendaylight.controller</groupId>
173 <artifactId>sal-binding-config</artifactId>
174 <version>${mdsal.version}</version>
177 <groupId>org.opendaylight.controller</groupId>
178 <artifactId>sal-broker-impl</artifactId>
179 <version>${mdsal.version}</version>
182 <groupId>org.opendaylight.controller</groupId>
183 <artifactId>sal-common-util</artifactId>
184 <version>${mdsal.version}</version>
187 <groupId>org.opendaylight.controller</groupId>
188 <artifactId>threadpool-config-api</artifactId>
189 <version>${config.version}</version>
192 <groupId>org.opendaylight.controller</groupId>
193 <artifactId>threadpool-config-impl</artifactId>
194 <version>0.4.0-SNAPSHOT</version>
197 <groupId>org.opendaylight.lispflowmapping</groupId>
198 <artifactId>common.build.tools</artifactId>
199 <version>${lispflowmapping.version}</version>
202 <groupId>org.opendaylight.lispflowmapping</groupId>
203 <artifactId>lispflowmapping-code-commons</artifactId>
204 <version>${lispflowmapping.version}</version>
207 <groupId>org.opendaylight.lispflowmapping</groupId>
208 <artifactId>lispflowmapping-commons</artifactId>
209 <version>${lispflowmapping.version}</version>
212 <groupId>org.opendaylight.lispflowmapping</groupId>
213 <artifactId>mappingservice.api</artifactId>
214 <version>${lispflowmapping.version}</version>
217 <groupId>org.opendaylight.lispflowmapping</groupId>
218 <artifactId>mappingservice.clusterdao</artifactId>
219 <version>${lispflowmapping.version}</version>
222 <groupId>org.opendaylight.lispflowmapping</groupId>
223 <artifactId>mappingservice.config</artifactId>
224 <version>${lispflowmapping.version}</version>
227 <groupId>org.opendaylight.lispflowmapping</groupId>
228 <artifactId>mappingservice.implementation</artifactId>
229 <version>${lispflowmapping.version}</version>
232 <groupId>org.opendaylight.lispflowmapping</groupId>
233 <artifactId>mappingservice.inmemorydb</artifactId>
234 <version>${lispflowmapping.version}</version>
237 <groupId>org.opendaylight.lispflowmapping</groupId>
238 <artifactId>mappingservice.netconf</artifactId>
239 <version>${lispflowmapping.version}</version>
242 <groupId>org.opendaylight.lispflowmapping</groupId>
243 <artifactId>mappingservice.neutron</artifactId>
244 <version>${lispflowmapping.version}</version>
247 <groupId>org.opendaylight.lispflowmapping</groupId>
248 <artifactId>mappingservice.northbound</artifactId>
249 <version>${lispflowmapping.version}</version>
252 <groupId>org.opendaylight.lispflowmapping</groupId>
253 <artifactId>mappingservice.shell</artifactId>
254 <version>${lispflowmapping.version}</version>
257 <groupId>org.opendaylight.lispflowmapping</groupId>
258 <artifactId>mappingservice.southbound</artifactId>
259 <version>${lispflowmapping.version}</version>
262 <groupId>org.opendaylight.lispflowmapping</groupId>
263 <artifactId>mappingservice.lisp-proto</artifactId>
264 <version>${lispflowmapping.version}</version>
267 <groupId>org.opendaylight.yangtools</groupId>
268 <artifactId>yang-binding</artifactId>
269 <version>0.8.0-SNAPSHOT</version>
272 <groupId>org.opendaylight.yangtools</groupId>
273 <artifactId>yang-common</artifactId>
274 <version>0.8.0-SNAPSHOT</version>
277 <groupId>org.opendaylight.yangtools</groupId>
278 <artifactId>yang-data-api</artifactId>
279 <version>0.8.0-SNAPSHOT</version>
282 <groupId>org.opendaylight.yangtools</groupId>
283 <artifactId>yang-data-impl</artifactId>
284 <version>${yangtools.version}</version>
287 <groupId>org.opendaylight.yangtools</groupId>
288 <artifactId>yang-data-util</artifactId>
289 <version>0.8.0-SNAPSHOT</version>
292 <groupId>org.opendaylight.yangtools</groupId>
293 <artifactId>yang-model-api</artifactId>
294 <version>0.8.0-SNAPSHOT</version>
297 <groupId>org.opendaylight.yangtools</groupId>
298 <artifactId>yang-parser-impl</artifactId>
299 <version>${yangtools.version}</version>
302 <groupId>org.opendaylight.yangtools.model</groupId>
303 <artifactId>ietf-inet-types</artifactId>
304 <version>${ietf-inet-types.version}</version>
307 <groupId>org.opendaylight.yangtools.model</groupId>
308 <artifactId>ietf-yang-types</artifactId>
309 <version>${ietf-inet-types.version}</version>
312 <groupId>org.apache.karaf.features</groupId>
313 <artifactId>standard</artifactId>
314 <version>${karaf.version}</version>
315 <classifier>features</classifier>
317 <scope>runtime</scope>
321 <groupId>org.opendaylight.lispflowmapping</groupId>
322 <artifactId>features-lispflowmapping</artifactId>
323 <version>${lispflowmapping.version}</version>
324 <classifier>features</classifier>
326 <scope>runtime</scope>
329 <groupId>org.opendaylight.lispflowmapping</groupId>
330 <artifactId>common.unittest.tools</artifactId>
331 <version>${lispflowmapping.version}</version>
335 <groupId>org.opendaylight.yangtools</groupId>
336 <artifactId>mockito-configuration</artifactId>
337 <version>${yangtools.version}</version>
341 <groupId>org.opendaylight.lispflwomapping</groupId>
342 <artifactId>ui-lispflowmapping</artifactId>
343 <version>${lispflowmapping.version}</version>
346 </dependencyManagement>
351 <!-- This configures the sort pom plugin to sort properties, dependencies
352 etc during a build. It helps to ensure consistent poms that are easy to read.
353 While the configuration should exist at a root level it is still up to the
354 individual projects to invoke it by defining the plugin in the build->plugins
356 <groupId>com.google.code.sortpom</groupId>
357 <artifactId>maven-sortpom-plugin</artifactId>
358 <version>2.2.1</version>
360 <createBackupFile>false</createBackupFile>
361 <encoding>${project.build.sourceEncoding}</encoding>
362 <keepBlankLines>true</keepBlankLines>
363 <lineSeparator>\n</lineSeparator>
364 <nrOfIndentSpace>2</nrOfIndentSpace>
365 <predefinedSortOrder>custom_1</predefinedSortOrder>
366 <sortDependencies>scope,groupId,artifactId</sortDependencies>
367 <sortPlugins>groupId,artifactId</sortPlugins>
368 <sortProperties>true</sortProperties>
375 <phase>verify</phase>
380 <groupId>org.apache.maven.plugins</groupId>
381 <artifactId>maven-assembly-plugin</artifactId>
382 <version>2.4</version>
385 <!-- TODO move up to ODL parent. -->
386 <!-- This is required to make sure that we delete the files which are
387 being generated under the src/main directory since by default only files
388 under target get cleaned up. Because the clean plugin is automatically invoked
389 you do NOT need to specify it in the build->plugin section. You would only
390 want to override this if you have additional folders which need to be cleaned
392 <artifactId>maven-clean-plugin</artifactId>
396 <directory>${xtend.dstdir}</directory>
398 <include>**</include>
402 <directory>${jmxGeneratorPath}</directory>
404 <include>**</include>
408 <directory>${salGeneratorPath}</directory>
410 <include>**</include>
417 <!-- Configures the java doc generation. Generally you should not have
418 to override this unless you need to exclude other packages etc. -->
419 <groupId>org.apache.maven.plugins</groupId>
420 <artifactId>maven-javadoc-plugin</artifactId>
422 <doclet>org.jboss.apiviz.APIviz</doclet>
424 <groupId>org.jboss.apiviz</groupId>
425 <artifactId>apiviz</artifactId>
426 <version>1.3.2.GA</version>
428 <finalName>${project.artifactId}-${project.version}</finalName>
429 <useStandardDocletOptions>true</useStandardDocletOptions>
430 <charset>UTF-8</charset>
431 <encoding>UTF-8</encoding>
432 <docencoding>UTF-8</docencoding>
433 <breakiterator>true</breakiterator>
434 <version>true</version>
435 <author>true</author>
436 <keywords>true</keywords>
437 <excludePackageNames>net.sf.jnetlib.*:cern.*:corejava:*.internal:edu.uci.*</excludePackageNames>
438 <failOnError>false</failOnError>
442 <groupId>org.apache.maven.plugins</groupId>
443 <artifactId>maven-jxr-plugin</artifactId>
444 <version>2.3</version>
446 <aggregate>true</aggregate>
447 <linkJavadoc>true</linkJavadoc>
448 <javadocDir>target/apidocs</javadocDir>
452 <!-- TODO: This should be in ODL parent -->
453 <groupId>org.codehaus.mojo</groupId>
454 <artifactId>build-helper-maven-plugin</artifactId>
459 <goal>add-source</goal>
461 <phase>generate-sources</phase>
464 <source>${yang.src.path}</source>
465 <source>${jmxGeneratorPath}</source>
466 <source>${salGeneratorPath}</source>
467 <source>${xtend.dstdir}</source>
475 <groupId>org.eclipse.m2e</groupId>
476 <artifactId>lifecycle-mapping</artifactId>
477 <version>1.0.0</version>
479 <lifecycleMappingMetadata>
482 <pluginExecutionFilter>
483 <groupId>org.codehaus.mojo</groupId>
484 <artifactId>properties-maven-plugin</artifactId>
485 <versionRange>[0.0,)</versionRange>
487 <goal>set-system-properties</goal>
489 </pluginExecutionFilter>
495 <pluginExecutionFilter>
496 <groupId>org.jacoco</groupId>
497 <artifactId>jacoco-maven-plugin</artifactId>
498 <versionRange>[0.0,)</versionRange>
500 <goal>prepare-agent</goal>
501 <goal>pre-test</goal>
502 <goal>post-test</goal>
504 </pluginExecutionFilter>
510 <pluginExecutionFilter>
511 <groupId>org.ops4j.pax.exam</groupId>
512 <artifactId>maven-paxexam-plugin</artifactId>
513 <versionRange>[1.2.4,)</versionRange>
515 <goal>generate-depends-file</goal>
517 </pluginExecutionFilter>
523 <pluginExecutionFilter>
524 <groupId>org.apache.maven.plugins</groupId>
525 <artifactId>maven-checkstyle-plugin</artifactId>
526 <versionRange>[2.0,)</versionRange>
530 </pluginExecutionFilter>
536 <pluginExecutionFilter>
537 <groupId>org.opendaylight.yangtools</groupId>
538 <artifactId>yang-maven-plugin</artifactId>
539 <versionRange>[0.5,)</versionRange>
541 <goal>generate-sources</goal>
543 </pluginExecutionFilter>
549 </lifecycleMappingMetadata>
553 <!-- here we are defining the default generators for yang You may need
554 to override this in child poms if you want to define additional generators,
555 such as the JMX generator etc. -->
556 <groupId>org.opendaylight.yangtools</groupId>
557 <artifactId>yang-maven-plugin</artifactId>
558 <version>${yangtools.version}</version>
561 <groupId>org.opendaylight.yangtools</groupId>
562 <artifactId>maven-sal-api-gen-plugin</artifactId>
563 <version>${yangtools.version}</version>
569 <goal>generate-sources</goal>
572 <yangFilesRootDir>${yang.src.path}</yangFilesRootDir>
575 <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
576 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
579 <inspectDependencies>true</inspectDependencies>
588 <groupId>org.jacoco</groupId>
589 <artifactId>jacoco-maven-plugin</artifactId>
592 <id>prepare-ut-agent</id>
593 <phase>process-test-classes</phase>
595 <goal>prepare-agent</goal>
598 <destFile>${sonar.jacoco.reportPath}</destFile>
602 <id>prepare-it-agent</id>
603 <phase>pre-integration-test</phase>
605 <goal>prepare-agent</goal>
608 <destFile>${sonar.jacoco.itReportPath}</destFile>
621 <groupId>org.codehaus.mojo</groupId>
622 <artifactId>build-helper-maven-plugin</artifactId>
628 <outputDirectory>${project.build.directory}/site</outputDirectory>
629 <excludeDefaults>true</excludeDefaults>
632 <groupId>org.apache.maven.plugins</groupId>
633 <artifactId>maven-javadoc-plugin</artifactId>
634 <version>2.8.1</version>
636 <doclet>org.jboss.apiviz.APIviz</doclet>
638 <groupId>org.jboss.apiviz</groupId>
639 <artifactId>apiviz</artifactId>
640 <version>1.3.2.GA</version>
642 <finalName>${project.artifactId}-${build.suffix}</finalName>
643 <useStandardDocletOptions>true</useStandardDocletOptions>
644 <charset>UTF-8</charset>
645 <encoding>UTF-8</encoding>
646 <docencoding>UTF-8</docencoding>
647 <breakiterator>true</breakiterator>
648 <version>true</version>
649 <author>true</author>
650 <keywords>true</keywords>
651 <excludePackageNames>*.internal:edu.uci.*</excludePackageNames>
655 <groupId>org.apache.maven.plugins</groupId>
656 <artifactId>maven-jxr-plugin</artifactId>
657 <version>2.3</version>
659 <aggregate>true</aggregate>
660 <linkJavadoc>true</linkJavadoc>
664 <groupId>org.apache.maven.plugins</groupId>
665 <artifactId>maven-project-info-reports-plugin</artifactId>
666 <version>${projectinfo}</version>
668 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
669 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
674 <report>index</report>
675 <report>project-team</report>
676 <report>license</report>
677 <report>mailing-list</report>
678 <report>plugin-management</report>
680 <report>issue-tracking</report>
682 <report>summary</report>
690 <distributionManagement>
691 <!-- Note: We want the nexus proxy property here because want to enable
692 devs to upload this artifact using mvn deploy to other maven repositories. -->
693 <!-- OpenDayLight Released artifact -->
695 <id>opendaylight-release</id>
696 <url>${nexusproxy}/repositories/opendaylight.release/</url>
698 <!-- OpenDayLight Snapshot artifact -->
700 <id>opendaylight-snapshot</id>
701 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
702 </snapshotRepository>
703 <!-- Site deployment -->
704 </distributionManagement>