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 <config.version>0.4.0-SNAPSHOT</config.version>
32 <dlux.loader.version>0.3.0-SNAPSHOT</dlux.loader.version>
33 <dlux.core.version>0.3.0-SNAPSHOT</dlux.core.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 <statisticsmanager.version>0.5.0</statisticsmanager.version>
48 <xtend.dstdir>src/main/xtend-gen</xtend.dstdir>
49 <yang.src.path>src/main/yang</yang.src.path>
50 <yangtools.version>0.8.0-SNAPSHOT</yangtools.version>
53 <dependencyManagement>
55 <!-- NOTE: The "Type" jar is considered default. You only need to specify
56 the type when it is something other than jar. -->
58 <groupId>junit-addons</groupId>
59 <artifactId>junit-addons</artifactId>
60 <version>1.4</version>
63 <groupId>org.apache.karaf.features</groupId>
64 <artifactId>framework</artifactId>
65 <version>${karaf.version}</version>
69 <groupId>org.hamcrest</groupId>
70 <artifactId>hamcrest-core</artifactId>
71 <version>${hamcrest.version}</version>
74 <groupId>org.jmock</groupId>
75 <artifactId>jmock</artifactId>
76 <version>2.6.0</version>
79 <groupId>org.jmock</groupId>
80 <artifactId>jmock-legacy</artifactId>
81 <version>2.6.0</version>
84 <groupId>org.opendaylight.controller</groupId>
85 <artifactId>config-api</artifactId>
86 <version>0.4.0-SNAPSHOT</version>
89 <groupId>org.opendaylight.controller</groupId>
90 <artifactId>config-manager</artifactId>
91 <version>${config.version}</version>
94 <groupId>org.opendaylight.controller</groupId>
95 <artifactId>config-util</artifactId>
96 <version>0.4.0-SNAPSHOT</version>
99 <groupId>org.opendaylight.controller</groupId>
100 <artifactId>features-mdsal</artifactId>
101 <version>${mdsal.version}</version>
102 <classifier>features</classifier>
106 <groupId>org.opendaylight.controller</groupId>
107 <artifactId>features-restconf</artifactId>
108 <version>${mdsal.version}</version>
109 <classifier>features</classifier>
113 <groupId>org.opendaylight.neutron</groupId>
114 <artifactId>features-neutron</artifactId>
115 <version>${neutron.version}</version>
116 <classifier>features</classifier>
120 <groupId>org.opendaylight.controller</groupId>
121 <artifactId>features-nsf</artifactId>
122 <version>${nsf.version}</version>
123 <classifier>features</classifier>
128 <groupId>org.opendaylight.controller</groupId>
129 <artifactId>karaf.branding</artifactId>
130 <version>${branding.version}</version>
131 <scope>compile</scope>
134 <groupId>org.opendaylight.controller</groupId>
135 <artifactId>netty-event-executor-config</artifactId>
136 <version>${config.version}</version>
139 <groupId>org.opendaylight.controller</groupId>
140 <artifactId>opendaylight-karaf-empty</artifactId>
141 <version>${karaf.empty.version}</version>
146 <groupId>org.opendaylight.controller</groupId>
147 <artifactId>opendaylight-karaf-resources</artifactId>
148 <version>${karaf.resources.version}</version>
151 <groupId>org.opendaylight.controller</groupId>
152 <artifactId>sal-binding-api</artifactId>
153 <version>${mdsal.version}</version>
156 <groupId>org.opendaylight.controller</groupId>
157 <artifactId>sal-binding-broker-impl</artifactId>
158 <version>${mdsal.version}</version>
161 <groupId>org.opendaylight.controller</groupId>
162 <artifactId>sal-binding-config</artifactId>
163 <version>${mdsal.version}</version>
166 <groupId>org.opendaylight.controller</groupId>
167 <artifactId>sal-broker-impl</artifactId>
168 <version>${mdsal.version}</version>
171 <groupId>org.opendaylight.controller</groupId>
172 <artifactId>sal-common-util</artifactId>
173 <version>${mdsal.version}</version>
176 <groupId>org.opendaylight.controller</groupId>
177 <artifactId>threadpool-config-api</artifactId>
178 <version>${config.version}</version>
181 <groupId>org.opendaylight.controller</groupId>
182 <artifactId>threadpool-config-impl</artifactId>
183 <version>0.4.0-SNAPSHOT</version>
186 <groupId>org.opendaylight.lispflowmapping</groupId>
187 <artifactId>common.build.tools</artifactId>
188 <version>${lispflowmapping.version}</version>
191 <groupId>org.opendaylight.lispflowmapping</groupId>
192 <artifactId>lispflowmapping-code-commons</artifactId>
193 <version>${lispflowmapping.version}</version>
196 <groupId>org.opendaylight.lispflowmapping</groupId>
197 <artifactId>lispflowmapping-commons</artifactId>
198 <version>${lispflowmapping.version}</version>
201 <groupId>org.opendaylight.lispflowmapping</groupId>
202 <artifactId>mappingservice.api</artifactId>
203 <version>${lispflowmapping.version}</version>
206 <groupId>org.opendaylight.lispflowmapping</groupId>
207 <artifactId>mappingservice.config</artifactId>
208 <version>${lispflowmapping.version}</version>
211 <groupId>org.opendaylight.lispflowmapping</groupId>
212 <artifactId>mappingservice.implementation</artifactId>
213 <version>${lispflowmapping.version}</version>
216 <groupId>org.opendaylight.lispflowmapping</groupId>
217 <artifactId>mappingservice.inmemorydb</artifactId>
218 <version>${lispflowmapping.version}</version>
221 <groupId>org.opendaylight.lispflowmapping</groupId>
222 <artifactId>mappingservice.neutron</artifactId>
223 <version>${lispflowmapping.version}</version>
226 <groupId>org.opendaylight.lispflowmapping</groupId>
227 <artifactId>mappingservice.northbound</artifactId>
228 <version>${lispflowmapping.version}</version>
231 <groupId>org.opendaylight.lispflowmapping</groupId>
232 <artifactId>mappingservice.shell</artifactId>
233 <version>${lispflowmapping.version}</version>
236 <groupId>org.opendaylight.lispflowmapping</groupId>
237 <artifactId>mappingservice.southbound</artifactId>
238 <version>${lispflowmapping.version}</version>
241 <groupId>org.opendaylight.lispflowmapping</groupId>
242 <artifactId>mappingservice.lisp-proto</artifactId>
243 <version>${lispflowmapping.version}</version>
246 <groupId>org.opendaylight.yangtools</groupId>
247 <artifactId>yang-binding</artifactId>
248 <version>0.8.0-SNAPSHOT</version>
251 <groupId>org.opendaylight.yangtools</groupId>
252 <artifactId>yang-common</artifactId>
253 <version>0.8.0-SNAPSHOT</version>
256 <groupId>org.opendaylight.yangtools</groupId>
257 <artifactId>yang-data-api</artifactId>
258 <version>0.8.0-SNAPSHOT</version>
261 <groupId>org.opendaylight.yangtools</groupId>
262 <artifactId>yang-data-impl</artifactId>
263 <version>${yangtools.version}</version>
266 <groupId>org.opendaylight.yangtools</groupId>
267 <artifactId>yang-data-util</artifactId>
268 <version>0.8.0-SNAPSHOT</version>
271 <groupId>org.opendaylight.yangtools</groupId>
272 <artifactId>yang-model-api</artifactId>
273 <version>0.8.0-SNAPSHOT</version>
276 <groupId>org.opendaylight.yangtools</groupId>
277 <artifactId>yang-parser-impl</artifactId>
278 <version>${yangtools.version}</version>
281 <groupId>org.opendaylight.yangtools.model</groupId>
282 <artifactId>ietf-inet-types</artifactId>
283 <version>${ietf-inet-types.version}</version>
286 <groupId>org.opendaylight.yangtools.model</groupId>
287 <artifactId>ietf-yang-types</artifactId>
288 <version>${ietf-inet-types.version}</version>
291 <groupId>org.apache.karaf.features</groupId>
292 <artifactId>standard</artifactId>
293 <version>${karaf.version}</version>
294 <classifier>features</classifier>
296 <scope>runtime</scope>
300 <groupId>org.opendaylight.lispflowmapping</groupId>
301 <artifactId>features-lispflowmapping</artifactId>
302 <version>${lispflowmapping.version}</version>
303 <classifier>features</classifier>
305 <scope>runtime</scope>
308 <groupId>org.opendaylight.lispflowmapping</groupId>
309 <artifactId>common.unittest.tools</artifactId>
310 <version>${lispflowmapping.version}</version>
314 <groupId>org.opendaylight.yangtools</groupId>
315 <artifactId>mockito-configuration</artifactId>
316 <version>${yangtools.version}</version>
320 <groupId>org.opendaylight.lispflwomapping</groupId>
321 <artifactId>ui-lispflowmapping</artifactId>
322 <version>${lispflowmapping.version}</version>
325 </dependencyManagement>
330 <!-- This configures the sort pom plugin to sort properties, dependencies
331 etc during a build. It helps to ensure consistent poms that are easy to read.
332 While the configuration should exist at a root level it is still up to the
333 individual projects to invoke it by defining the plugin in the build->plugins
335 <groupId>com.google.code.sortpom</groupId>
336 <artifactId>maven-sortpom-plugin</artifactId>
337 <version>2.2.1</version>
339 <createBackupFile>false</createBackupFile>
340 <encoding>${project.build.sourceEncoding}</encoding>
341 <keepBlankLines>true</keepBlankLines>
342 <lineSeparator>\n</lineSeparator>
343 <nrOfIndentSpace>2</nrOfIndentSpace>
344 <predefinedSortOrder>custom_1</predefinedSortOrder>
345 <sortDependencies>scope,groupId,artifactId</sortDependencies>
346 <sortPlugins>groupId,artifactId</sortPlugins>
347 <sortProperties>true</sortProperties>
354 <phase>verify</phase>
359 <groupId>org.apache.maven.plugins</groupId>
360 <artifactId>maven-assembly-plugin</artifactId>
361 <version>2.4</version>
364 <!-- TODO move up to ODL parent. -->
365 <!-- This is required to make sure that we delete the files which are
366 being generated under the src/main directory since by default only files
367 under target get cleaned up. Because the clean plugin is automatically invoked
368 you do NOT need to specify it in the build->plugin section. You would only
369 want to override this if you have additional folders which need to be cleaned
371 <artifactId>maven-clean-plugin</artifactId>
375 <directory>${xtend.dstdir}</directory>
377 <include>**</include>
381 <directory>${jmxGeneratorPath}</directory>
383 <include>**</include>
387 <directory>${salGeneratorPath}</directory>
389 <include>**</include>
396 <!-- Configures the java doc generation. Generally you should not have
397 to override this unless you need to exclude other packages etc. -->
398 <groupId>org.apache.maven.plugins</groupId>
399 <artifactId>maven-javadoc-plugin</artifactId>
401 <doclet>org.jboss.apiviz.APIviz</doclet>
403 <groupId>org.jboss.apiviz</groupId>
404 <artifactId>apiviz</artifactId>
405 <version>1.3.2.GA</version>
407 <finalName>${project.artifactId}-${project.version}</finalName>
408 <useStandardDocletOptions>true</useStandardDocletOptions>
409 <charset>UTF-8</charset>
410 <encoding>UTF-8</encoding>
411 <docencoding>UTF-8</docencoding>
412 <breakiterator>true</breakiterator>
413 <version>true</version>
414 <author>true</author>
415 <keywords>true</keywords>
416 <excludePackageNames>net.sf.jnetlib.*:cern.*:corejava:*.internal:edu.uci.*</excludePackageNames>
417 <failOnError>false</failOnError>
421 <groupId>org.apache.maven.plugins</groupId>
422 <artifactId>maven-jxr-plugin</artifactId>
423 <version>2.3</version>
425 <aggregate>true</aggregate>
426 <linkJavadoc>true</linkJavadoc>
427 <javadocDir>target/apidocs</javadocDir>
431 <!-- TODO: This should be in ODL parent -->
432 <groupId>org.codehaus.mojo</groupId>
433 <artifactId>build-helper-maven-plugin</artifactId>
438 <goal>add-source</goal>
440 <phase>generate-sources</phase>
443 <source>${yang.src.path}</source>
444 <source>${jmxGeneratorPath}</source>
445 <source>${salGeneratorPath}</source>
446 <source>${xtend.dstdir}</source>
454 <groupId>org.eclipse.m2e</groupId>
455 <artifactId>lifecycle-mapping</artifactId>
456 <version>1.0.0</version>
458 <lifecycleMappingMetadata>
461 <pluginExecutionFilter>
462 <groupId>org.codehaus.mojo</groupId>
463 <artifactId>properties-maven-plugin</artifactId>
464 <versionRange>[0.0,)</versionRange>
466 <goal>set-system-properties</goal>
468 </pluginExecutionFilter>
474 <pluginExecutionFilter>
475 <groupId>org.jacoco</groupId>
476 <artifactId>jacoco-maven-plugin</artifactId>
477 <versionRange>[0.0,)</versionRange>
479 <goal>prepare-agent</goal>
480 <goal>pre-test</goal>
481 <goal>post-test</goal>
483 </pluginExecutionFilter>
489 <pluginExecutionFilter>
490 <groupId>org.ops4j.pax.exam</groupId>
491 <artifactId>maven-paxexam-plugin</artifactId>
492 <versionRange>[1.2.4,)</versionRange>
494 <goal>generate-depends-file</goal>
496 </pluginExecutionFilter>
502 <pluginExecutionFilter>
503 <groupId>org.apache.maven.plugins</groupId>
504 <artifactId>maven-checkstyle-plugin</artifactId>
505 <versionRange>[2.0,)</versionRange>
509 </pluginExecutionFilter>
515 <pluginExecutionFilter>
516 <groupId>org.opendaylight.yangtools</groupId>
517 <artifactId>yang-maven-plugin</artifactId>
518 <versionRange>[0.5,)</versionRange>
520 <goal>generate-sources</goal>
522 </pluginExecutionFilter>
528 </lifecycleMappingMetadata>
532 <!-- here we are defining the default generators for yang You may need
533 to override this in child poms if you want to define additional generators,
534 such as the JMX generator etc. -->
535 <groupId>org.opendaylight.yangtools</groupId>
536 <artifactId>yang-maven-plugin</artifactId>
537 <version>${yangtools.version}</version>
540 <groupId>org.opendaylight.yangtools</groupId>
541 <artifactId>maven-sal-api-gen-plugin</artifactId>
542 <version>${yangtools.version}</version>
548 <goal>generate-sources</goal>
551 <yangFilesRootDir>${yang.src.path}</yangFilesRootDir>
554 <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
555 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
558 <inspectDependencies>true</inspectDependencies>
567 <groupId>org.codehaus.mojo</groupId>
568 <artifactId>build-helper-maven-plugin</artifactId>
574 <outputDirectory>${project.build.directory}/site</outputDirectory>
575 <excludeDefaults>true</excludeDefaults>
578 <groupId>org.apache.maven.plugins</groupId>
579 <artifactId>maven-javadoc-plugin</artifactId>
580 <version>2.8.1</version>
582 <doclet>org.jboss.apiviz.APIviz</doclet>
584 <groupId>org.jboss.apiviz</groupId>
585 <artifactId>apiviz</artifactId>
586 <version>1.3.2.GA</version>
588 <finalName>${project.artifactId}-${build.suffix}</finalName>
589 <useStandardDocletOptions>true</useStandardDocletOptions>
590 <charset>UTF-8</charset>
591 <encoding>UTF-8</encoding>
592 <docencoding>UTF-8</docencoding>
593 <breakiterator>true</breakiterator>
594 <version>true</version>
595 <author>true</author>
596 <keywords>true</keywords>
597 <excludePackageNames>*.internal:edu.uci.*</excludePackageNames>
601 <groupId>org.apache.maven.plugins</groupId>
602 <artifactId>maven-jxr-plugin</artifactId>
603 <version>2.3</version>
605 <aggregate>true</aggregate>
606 <linkJavadoc>true</linkJavadoc>
610 <groupId>org.apache.maven.plugins</groupId>
611 <artifactId>maven-project-info-reports-plugin</artifactId>
612 <version>${projectinfo}</version>
614 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
615 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
620 <report>index</report>
621 <report>project-team</report>
622 <report>license</report>
623 <report>mailing-list</report>
624 <report>plugin-management</report>
626 <report>issue-tracking</report>
628 <report>summary</report>
636 <distributionManagement>
637 <!-- Note: We want the nexus proxy property here because want to enable
638 devs to upload this artifact using mvn deploy to other maven repositories. -->
639 <!-- OpenDayLight Released artifact -->
641 <id>opendaylight-release</id>
642 <url>${nexusproxy}/repositories/opendaylight.release/</url>
644 <!-- OpenDayLight Snapshot artifact -->
646 <id>opendaylight-snapshot</id>
647 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
648 </snapshotRepository>
649 <!-- Site deployment -->
650 </distributionManagement>