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.7.0-SNAPSHOT</version>
22 <groupId>org.opendaylight.lispflowmapping</groupId>
23 <artifactId>lispflowmapping-commons</artifactId>
24 <version>1.4.0-SNAPSHOT</version>
25 <packaging>pom</packaging>
26 <name>Parent POM</name>
29 <branding.version>1.3.0-SNAPSHOT</branding.version>
30 <build.suffix>1.0.0</build.suffix>
31 <config.version>0.5.0-SNAPSHOT</config.version>
32 <dlux.loader.version>0.4.0-SNAPSHOT</dlux.loader.version>
33 <dlux.core.version>0.4.0-SNAPSHOT</dlux.core.version>
34 <forwardingrulesmanager.version>0.5.0</forwardingrulesmanager.version>
35 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
36 <karaf.empty.version>1.7.0-SNAPSHOT</karaf.empty.version>
37 <karaf.resources.version>1.7.0-SNAPSHOT</karaf.resources.version>
38 <lispflowmapping.version>1.4.0-SNAPSHOT</lispflowmapping.version>
39 <mdsal.version>1.4.0-SNAPSHOT</mdsal.version>
40 <neutron.version>0.7.0-SNAPSHOT</neutron.version>
41 <nsf.version>0.7.0-SNAPSHOT</nsf.version>
42 <restconf.version>1.4.0-SNAPSHOT</restconf.version>
43 <sal.version>0.11.0-SNAPSHOT</sal.version>
44 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
45 <statisticsmanager.version>0.5.0</statisticsmanager.version>
46 <yang.src.path>src/main/yang</yang.src.path>
47 <yangtools.version>1.0.0-SNAPSHOT</yangtools.version>
50 <dependencyManagement>
52 <!-- NOTE: The "Type" jar is considered default. You only need to specify
53 the type when it is something other than jar. -->
55 <groupId>org.opendaylight.yangtools</groupId>
56 <artifactId>yangtools-artifacts</artifactId>
57 <version>1.0.0-SNAPSHOT</version>
62 <groupId>org.opendaylight.mdsal</groupId>
63 <artifactId>mdsal-artifacts</artifactId>
64 <version>2.1.0-SNAPSHOT</version>
69 <groupId>org.opendaylight.mdsal.model</groupId>
70 <artifactId>mdsal-model-artifacts</artifactId>
71 <version>0.9.0-SNAPSHOT</version>
76 <groupId>junit-addons</groupId>
77 <artifactId>junit-addons</artifactId>
78 <version>1.4</version>
81 <groupId>org.jmock</groupId>
82 <artifactId>jmock</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>config-api</artifactId>
93 <version>0.5.0-SNAPSHOT</version>
96 <groupId>org.opendaylight.controller</groupId>
97 <artifactId>config-manager</artifactId>
98 <version>${config.version}</version>
101 <groupId>org.opendaylight.controller</groupId>
102 <artifactId>config-util</artifactId>
103 <version>0.5.0-SNAPSHOT</version>
107 <groupId>org.opendaylight.controller</groupId>
108 <artifactId>karaf.branding</artifactId>
109 <version>${branding.version}</version>
110 <scope>compile</scope>
113 <groupId>org.opendaylight.controller</groupId>
114 <artifactId>netty-event-executor-config</artifactId>
115 <version>${config.version}</version>
118 <groupId>org.opendaylight.controller</groupId>
119 <artifactId>opendaylight-karaf-empty</artifactId>
120 <version>${karaf.empty.version}</version>
125 <groupId>org.opendaylight.controller</groupId>
126 <artifactId>opendaylight-karaf-resources</artifactId>
127 <version>${karaf.resources.version}</version>
130 <groupId>org.opendaylight.controller</groupId>
131 <artifactId>sal-binding-api</artifactId>
132 <version>${mdsal.version}</version>
135 <groupId>org.opendaylight.controller</groupId>
136 <artifactId>sal-binding-broker-impl</artifactId>
137 <version>${mdsal.version}</version>
140 <groupId>org.opendaylight.controller</groupId>
141 <artifactId>sal-binding-config</artifactId>
142 <version>${mdsal.version}</version>
145 <groupId>org.opendaylight.controller</groupId>
146 <artifactId>sal-broker-impl</artifactId>
147 <version>${mdsal.version}</version>
150 <groupId>org.opendaylight.controller</groupId>
151 <artifactId>sal-common-util</artifactId>
152 <version>${mdsal.version}</version>
155 <groupId>org.opendaylight.controller</groupId>
156 <artifactId>threadpool-config-api</artifactId>
157 <version>${config.version}</version>
160 <groupId>org.opendaylight.controller</groupId>
161 <artifactId>threadpool-config-impl</artifactId>
162 <version>0.5.0-SNAPSHOT</version>
165 <groupId>org.opendaylight.lispflowmapping</groupId>
166 <artifactId>common.build.tools</artifactId>
167 <version>${lispflowmapping.version}</version>
170 <groupId>org.opendaylight.lispflowmapping</groupId>
171 <artifactId>lispflowmapping-code-commons</artifactId>
172 <version>${lispflowmapping.version}</version>
175 <groupId>org.opendaylight.lispflowmapping</groupId>
176 <artifactId>lispflowmapping-commons</artifactId>
177 <version>${lispflowmapping.version}</version>
180 <groupId>org.opendaylight.lispflowmapping</groupId>
181 <artifactId>mappingservice.api</artifactId>
182 <version>${lispflowmapping.version}</version>
185 <groupId>org.opendaylight.lispflowmapping</groupId>
186 <artifactId>mappingservice.implementation</artifactId>
187 <version>${lispflowmapping.version}</version>
190 <groupId>org.opendaylight.lispflowmapping</groupId>
191 <artifactId>mappingservice.inmemorydb</artifactId>
192 <version>${lispflowmapping.version}</version>
196 <groupId>org.opendaylight.lispflowmapping</groupId>
197 <artifactId>mappingservice.neutron</artifactId>
198 <version>${lispflowmapping.version}</version>
202 <groupId>org.opendaylight.lispflowmapping</groupId>
203 <artifactId>mappingservice.northbound</artifactId>
204 <version>${lispflowmapping.version}</version>
207 <groupId>org.opendaylight.lispflowmapping</groupId>
208 <artifactId>mappingservice.shell</artifactId>
209 <version>${lispflowmapping.version}</version>
212 <groupId>org.opendaylight.lispflowmapping</groupId>
213 <artifactId>mappingservice.southbound</artifactId>
214 <version>${lispflowmapping.version}</version>
217 <groupId>org.opendaylight.lispflowmapping</groupId>
218 <artifactId>mappingservice.lisp-proto</artifactId>
219 <version>${lispflowmapping.version}</version>
222 <groupId>org.opendaylight.lispflowmapping</groupId>
223 <artifactId>common.unittest.tools</artifactId>
224 <version>${lispflowmapping.version}</version>
228 <groupId>org.opendaylight.yangtools</groupId>
229 <artifactId>mockito-configuration</artifactId>
230 <version>${yangtools.version}</version>
234 <groupId>org.opendaylight.lispflowmapping</groupId>
235 <artifactId>ui-lispflowmapping</artifactId>
236 <version>${lispflowmapping.version}</version>
239 </dependencyManagement>
244 <!-- This configures the sort pom plugin to sort properties, dependencies
245 etc during a build. It helps to ensure consistent poms that are easy to read.
246 While the configuration should exist at a root level it is still up to the
247 individual projects to invoke it by defining the plugin in the build->plugins
249 <groupId>com.google.code.sortpom</groupId>
250 <artifactId>maven-sortpom-plugin</artifactId>
251 <version>2.2.1</version>
253 <createBackupFile>false</createBackupFile>
254 <encoding>${project.build.sourceEncoding}</encoding>
255 <keepBlankLines>true</keepBlankLines>
256 <lineSeparator>\n</lineSeparator>
257 <nrOfIndentSpace>2</nrOfIndentSpace>
258 <predefinedSortOrder>custom_1</predefinedSortOrder>
259 <sortDependencies>scope,groupId,artifactId</sortDependencies>
260 <sortPlugins>groupId,artifactId</sortPlugins>
261 <sortProperties>true</sortProperties>
268 <phase>verify</phase>
273 <groupId>org.apache.maven.plugins</groupId>
274 <artifactId>maven-assembly-plugin</artifactId>
275 <version>2.4</version>
278 <!-- TODO move up to ODL parent. -->
279 <!-- This is required to make sure that we delete the files which are
280 being generated under the src/main directory since by default only files
281 under target get cleaned up. Because the clean plugin is automatically invoked
282 you do NOT need to specify it in the build->plugin section. You would only
283 want to override this if you have additional folders which need to be cleaned
285 <artifactId>maven-clean-plugin</artifactId>
289 <directory>${jmxGeneratorPath}</directory>
291 <include>**</include>
295 <directory>${salGeneratorPath}</directory>
297 <include>**</include>
304 <!-- Configures the java doc generation. Generally you should not have
305 to override this unless you need to exclude other packages etc. -->
306 <groupId>org.apache.maven.plugins</groupId>
307 <artifactId>maven-javadoc-plugin</artifactId>
309 <doclet>org.jboss.apiviz.APIviz</doclet>
311 <groupId>org.jboss.apiviz</groupId>
312 <artifactId>apiviz</artifactId>
313 <version>1.3.2.GA</version>
315 <finalName>${project.artifactId}-${project.version}</finalName>
316 <useStandardDocletOptions>true</useStandardDocletOptions>
317 <charset>UTF-8</charset>
318 <encoding>UTF-8</encoding>
319 <docencoding>UTF-8</docencoding>
320 <breakiterator>true</breakiterator>
321 <version>true</version>
322 <author>true</author>
323 <keywords>true</keywords>
324 <excludePackageNames>net.sf.jnetlib.*:cern.*:corejava:*.internal:edu.uci.*</excludePackageNames>
325 <failOnError>false</failOnError>
329 <groupId>org.apache.maven.plugins</groupId>
330 <artifactId>maven-jxr-plugin</artifactId>
331 <version>2.3</version>
333 <aggregate>true</aggregate>
334 <linkJavadoc>true</linkJavadoc>
335 <javadocDir>target/apidocs</javadocDir>
339 <!-- TODO: This should be in ODL parent -->
340 <groupId>org.codehaus.mojo</groupId>
341 <artifactId>build-helper-maven-plugin</artifactId>
346 <goal>add-source</goal>
348 <phase>generate-sources</phase>
351 <source>${yang.src.path}</source>
352 <source>${jmxGeneratorPath}</source>
353 <source>${salGeneratorPath}</source>
361 <groupId>org.eclipse.m2e</groupId>
362 <artifactId>lifecycle-mapping</artifactId>
363 <version>1.0.0</version>
365 <lifecycleMappingMetadata>
368 <pluginExecutionFilter>
369 <groupId>org.codehaus.mojo</groupId>
370 <artifactId>properties-maven-plugin</artifactId>
371 <versionRange>[0.0,)</versionRange>
373 <goal>set-system-properties</goal>
375 </pluginExecutionFilter>
381 <pluginExecutionFilter>
382 <groupId>org.jacoco</groupId>
383 <artifactId>jacoco-maven-plugin</artifactId>
384 <versionRange>[0.0,)</versionRange>
386 <goal>prepare-agent</goal>
387 <goal>pre-test</goal>
388 <goal>post-test</goal>
390 </pluginExecutionFilter>
396 <pluginExecutionFilter>
397 <groupId>org.ops4j.pax.exam</groupId>
398 <artifactId>maven-paxexam-plugin</artifactId>
399 <versionRange>[1.2.4,)</versionRange>
401 <goal>generate-depends-file</goal>
403 </pluginExecutionFilter>
409 <pluginExecutionFilter>
410 <groupId>org.apache.maven.plugins</groupId>
411 <artifactId>maven-checkstyle-plugin</artifactId>
412 <versionRange>[2.0,)</versionRange>
416 </pluginExecutionFilter>
422 <pluginExecutionFilter>
423 <groupId>org.opendaylight.yangtools</groupId>
424 <artifactId>yang-maven-plugin</artifactId>
425 <versionRange>[0.5,)</versionRange>
427 <goal>generate-sources</goal>
429 </pluginExecutionFilter>
435 </lifecycleMappingMetadata>
442 <groupId>org.codehaus.mojo</groupId>
443 <artifactId>build-helper-maven-plugin</artifactId>
449 <outputDirectory>${project.build.directory}/site</outputDirectory>
450 <excludeDefaults>true</excludeDefaults>
453 <groupId>org.apache.maven.plugins</groupId>
454 <artifactId>maven-javadoc-plugin</artifactId>
456 <doclet>org.jboss.apiviz.APIviz</doclet>
458 <groupId>org.jboss.apiviz</groupId>
459 <artifactId>apiviz</artifactId>
460 <version>1.3.2.GA</version>
462 <finalName>${project.artifactId}-${build.suffix}</finalName>
463 <useStandardDocletOptions>true</useStandardDocletOptions>
464 <charset>UTF-8</charset>
465 <encoding>UTF-8</encoding>
466 <docencoding>UTF-8</docencoding>
467 <breakiterator>true</breakiterator>
468 <version>true</version>
469 <author>true</author>
470 <keywords>true</keywords>
471 <excludePackageNames>*.internal:edu.uci.*</excludePackageNames>
475 <groupId>org.apache.maven.plugins</groupId>
476 <artifactId>maven-jxr-plugin</artifactId>
477 <version>2.3</version>
479 <aggregate>true</aggregate>
480 <linkJavadoc>true</linkJavadoc>
484 <groupId>org.apache.maven.plugins</groupId>
485 <artifactId>maven-project-info-reports-plugin</artifactId>
486 <version>${projectinfo}</version>
488 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
489 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
494 <report>index</report>
495 <report>project-team</report>
496 <report>license</report>
497 <report>mailing-list</report>
498 <report>plugin-management</report>
500 <report>issue-tracking</report>
502 <report>summary</report>
511 Maven Site Configuration
513 The following configuration is necessary for maven-site-plugin to
514 correctly identify the correct deployment path for OpenDaylight Maven
517 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
519 <distributionManagement>
520 <!-- Note: We want the nexus proxy property here because want to enable
521 devs to upload this artifact using mvn deploy to other maven repositories. -->
522 <!-- OpenDayLight Released artifact -->
524 <id>opendaylight-release</id>
525 <url>${nexusproxy}/repositories/opendaylight.release/</url>
527 <!-- OpenDayLight Snapshot artifact -->
529 <id>opendaylight-snapshot</id>
530 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
531 </snapshotRepository>
532 <!-- Site deployment -->
534 <id>opendaylight-site</id>
535 <url>${nexus.site.url}/${project.artifactId}/</url>
537 </distributionManagement>