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.8.0-SNAPSHOT</version>
22 <groupId>org.opendaylight.lispflowmapping</groupId>
23 <artifactId>lispflowmapping-commons</artifactId>
24 <version>1.5.0-SNAPSHOT</version>
25 <packaging>pom</packaging>
26 <name>Parent POM</name>
29 <branding.version>1.8.0-SNAPSHOT</branding.version>
30 <build.suffix>1.0.0</build.suffix>
31 <config.version>0.6.0-SNAPSHOT</config.version>
32 <dlux.loader.version>0.5.0-SNAPSHOT</dlux.loader.version>
33 <dlux.core.version>0.5.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.8.0-SNAPSHOT</karaf.empty.version>
37 <karaf.resources.version>1.8.0-SNAPSHOT</karaf.resources.version>
38 <lispflowmapping.version>1.5.0-SNAPSHOT</lispflowmapping.version>
39 <mdsal.version>1.5.0-SNAPSHOT</mdsal.version>
40 <neutron.version>0.8.0-SNAPSHOT</neutron.version>
41 <nsf.version>0.8.0-SNAPSHOT</nsf.version>
42 <restconf.version>1.5.0-SNAPSHOT</restconf.version>
43 <sal.version>0.12.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.1.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.1.0-SNAPSHOT</version>
62 <groupId>org.opendaylight.mdsal</groupId>
63 <artifactId>mdsal-artifacts</artifactId>
64 <version>2.2.0-SNAPSHOT</version>
69 <groupId>org.opendaylight.mdsal.model</groupId>
70 <artifactId>mdsal-model-artifacts</artifactId>
71 <version>0.10.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.6.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.6.0-SNAPSHOT</version>
107 <groupId>org.opendaylight.odlparent</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.odlparent</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.6.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>mappingservice.config</artifactId>
224 <version>${lispflowmapping.version}</version>
227 <groupId>org.opendaylight.lispflowmapping</groupId>
228 <artifactId>common.unittest.tools</artifactId>
229 <version>${lispflowmapping.version}</version>
233 <groupId>org.opendaylight.yangtools</groupId>
234 <artifactId>mockito-configuration</artifactId>
235 <version>${yangtools.version}</version>
239 <groupId>org.opendaylight.lispflowmapping</groupId>
240 <artifactId>ui-lispflowmapping</artifactId>
241 <version>${lispflowmapping.version}</version>
244 </dependencyManagement>
249 <!-- This configures the sort pom plugin to sort properties, dependencies
250 etc during a build. It helps to ensure consistent poms that are easy to read.
251 While the configuration should exist at a root level it is still up to the
252 individual projects to invoke it by defining the plugin in the build->plugins
254 <groupId>com.google.code.sortpom</groupId>
255 <artifactId>maven-sortpom-plugin</artifactId>
256 <version>2.2.1</version>
258 <createBackupFile>false</createBackupFile>
259 <encoding>${project.build.sourceEncoding}</encoding>
260 <keepBlankLines>true</keepBlankLines>
261 <lineSeparator>\n</lineSeparator>
262 <nrOfIndentSpace>2</nrOfIndentSpace>
263 <predefinedSortOrder>custom_1</predefinedSortOrder>
264 <sortDependencies>scope,groupId,artifactId</sortDependencies>
265 <sortPlugins>groupId,artifactId</sortPlugins>
266 <sortProperties>true</sortProperties>
273 <phase>verify</phase>
278 <groupId>org.apache.maven.plugins</groupId>
279 <artifactId>maven-assembly-plugin</artifactId>
280 <version>2.4</version>
283 <!-- TODO move up to ODL parent. -->
284 <!-- This is required to make sure that we delete the files which are
285 being generated under the src/main directory since by default only files
286 under target get cleaned up. Because the clean plugin is automatically invoked
287 you do NOT need to specify it in the build->plugin section. You would only
288 want to override this if you have additional folders which need to be cleaned
290 <artifactId>maven-clean-plugin</artifactId>
294 <directory>${jmxGeneratorPath}</directory>
296 <include>**</include>
300 <directory>${salGeneratorPath}</directory>
302 <include>**</include>
309 <!-- Configures the java doc generation. Generally you should not have
310 to override this unless you need to exclude other packages etc. -->
311 <groupId>org.apache.maven.plugins</groupId>
312 <artifactId>maven-javadoc-plugin</artifactId>
314 <doclet>org.jboss.apiviz.APIviz</doclet>
316 <groupId>org.jboss.apiviz</groupId>
317 <artifactId>apiviz</artifactId>
318 <version>1.3.2.GA</version>
320 <finalName>${project.artifactId}-${project.version}</finalName>
321 <useStandardDocletOptions>true</useStandardDocletOptions>
322 <charset>UTF-8</charset>
323 <encoding>UTF-8</encoding>
324 <docencoding>UTF-8</docencoding>
325 <breakiterator>true</breakiterator>
326 <version>true</version>
327 <author>true</author>
328 <keywords>true</keywords>
329 <excludePackageNames>net.sf.jnetlib.*:cern.*:corejava:*.internal:edu.uci.*</excludePackageNames>
330 <failOnError>false</failOnError>
334 <groupId>org.apache.maven.plugins</groupId>
335 <artifactId>maven-jxr-plugin</artifactId>
336 <version>2.3</version>
338 <aggregate>true</aggregate>
339 <linkJavadoc>true</linkJavadoc>
340 <javadocDir>target/apidocs</javadocDir>
344 <!-- TODO: This should be in ODL parent -->
345 <groupId>org.codehaus.mojo</groupId>
346 <artifactId>build-helper-maven-plugin</artifactId>
351 <goal>add-source</goal>
353 <phase>generate-sources</phase>
356 <source>${yang.src.path}</source>
357 <source>${jmxGeneratorPath}</source>
358 <source>${salGeneratorPath}</source>
366 <groupId>org.eclipse.m2e</groupId>
367 <artifactId>lifecycle-mapping</artifactId>
368 <version>1.0.0</version>
370 <lifecycleMappingMetadata>
373 <pluginExecutionFilter>
374 <groupId>org.codehaus.mojo</groupId>
375 <artifactId>properties-maven-plugin</artifactId>
376 <versionRange>[0.0,)</versionRange>
378 <goal>set-system-properties</goal>
380 </pluginExecutionFilter>
386 <pluginExecutionFilter>
387 <groupId>org.jacoco</groupId>
388 <artifactId>jacoco-maven-plugin</artifactId>
389 <versionRange>[0.0,)</versionRange>
391 <goal>prepare-agent</goal>
392 <goal>pre-test</goal>
393 <goal>post-test</goal>
395 </pluginExecutionFilter>
401 <pluginExecutionFilter>
402 <groupId>org.ops4j.pax.exam</groupId>
403 <artifactId>maven-paxexam-plugin</artifactId>
404 <versionRange>[1.2.4,)</versionRange>
406 <goal>generate-depends-file</goal>
408 </pluginExecutionFilter>
414 <pluginExecutionFilter>
415 <groupId>org.apache.maven.plugins</groupId>
416 <artifactId>maven-checkstyle-plugin</artifactId>
417 <versionRange>[2.0,)</versionRange>
421 </pluginExecutionFilter>
427 <pluginExecutionFilter>
428 <groupId>org.opendaylight.yangtools</groupId>
429 <artifactId>yang-maven-plugin</artifactId>
430 <versionRange>[0.5,)</versionRange>
432 <goal>generate-sources</goal>
434 </pluginExecutionFilter>
440 </lifecycleMappingMetadata>
447 <groupId>org.codehaus.mojo</groupId>
448 <artifactId>build-helper-maven-plugin</artifactId>
454 <outputDirectory>${project.build.directory}/site</outputDirectory>
455 <excludeDefaults>true</excludeDefaults>
458 <groupId>org.apache.maven.plugins</groupId>
459 <artifactId>maven-javadoc-plugin</artifactId>
461 <doclet>org.jboss.apiviz.APIviz</doclet>
463 <groupId>org.jboss.apiviz</groupId>
464 <artifactId>apiviz</artifactId>
465 <version>1.3.2.GA</version>
467 <finalName>${project.artifactId}-${build.suffix}</finalName>
468 <useStandardDocletOptions>true</useStandardDocletOptions>
469 <charset>UTF-8</charset>
470 <encoding>UTF-8</encoding>
471 <docencoding>UTF-8</docencoding>
472 <breakiterator>true</breakiterator>
473 <version>true</version>
474 <author>true</author>
475 <keywords>true</keywords>
476 <excludePackageNames>*.internal:edu.uci.*</excludePackageNames>
480 <groupId>org.apache.maven.plugins</groupId>
481 <artifactId>maven-jxr-plugin</artifactId>
482 <version>2.3</version>
484 <aggregate>true</aggregate>
485 <linkJavadoc>true</linkJavadoc>
489 <groupId>org.apache.maven.plugins</groupId>
490 <artifactId>maven-project-info-reports-plugin</artifactId>
491 <version>${projectinfo}</version>
493 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
494 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
499 <report>index</report>
500 <report>project-team</report>
501 <report>license</report>
502 <report>mailing-list</report>
503 <report>plugin-management</report>
505 <report>issue-tracking</report>
507 <report>summary</report>
516 Maven Site Configuration
518 The following configuration is necessary for maven-site-plugin to
519 correctly identify the correct deployment path for OpenDaylight Maven
522 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
524 <distributionManagement>
525 <!-- Note: We want the nexus proxy property here because want to enable
526 devs to upload this artifact using mvn deploy to other maven repositories. -->
527 <!-- OpenDayLight Released artifact -->
529 <id>opendaylight-release</id>
530 <url>${nexusproxy}/repositories/opendaylight.release/</url>
532 <!-- OpenDayLight Snapshot artifact -->
534 <id>opendaylight-snapshot</id>
535 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
536 </snapshotRepository>
537 <!-- Site deployment -->
539 <id>opendaylight-site</id>
540 <url>${nexus.site.url}/${project.artifactId}/</url>
542 </distributionManagement>