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> formatting is used by autorelease to parse and notify projects on
27 build failure. Please do not modify this unless you have a good reason. -->
28 <name>ODL :: lispflowmapping :: ${project.artifactId}</name>
31 <branding.version>1.8.0-SNAPSHOT</branding.version>
32 <build.suffix>1.0.0</build.suffix>
33 <config.version>0.6.0-SNAPSHOT</config.version>
34 <dlux.loader.version>0.5.0-SNAPSHOT</dlux.loader.version>
35 <dlux.core.version>0.5.0-SNAPSHOT</dlux.core.version>
36 <forwardingrulesmanager.version>0.5.0</forwardingrulesmanager.version>
37 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
38 <karaf.empty.version>1.8.0-SNAPSHOT</karaf.empty.version>
39 <karaf.resources.version>1.8.0-SNAPSHOT</karaf.resources.version>
40 <lispflowmapping.version>1.5.0-SNAPSHOT</lispflowmapping.version>
41 <mdsal.version>1.5.0-SNAPSHOT</mdsal.version>
42 <neutron.version>0.8.0-SNAPSHOT</neutron.version>
43 <nsf.version>0.8.0-SNAPSHOT</nsf.version>
44 <restconf.version>1.5.0-SNAPSHOT</restconf.version>
45 <sal.version>0.12.0-SNAPSHOT</sal.version>
46 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
47 <statisticsmanager.version>0.5.0</statisticsmanager.version>
48 <yang.src.path>src/main/yang</yang.src.path>
49 <yangtools.version>1.1.0-SNAPSHOT</yangtools.version>
52 <dependencyManagement>
54 <!-- NOTE: The "Type" jar is considered default. You only need to specify
55 the type when it is something other than jar. -->
57 <groupId>org.opendaylight.yangtools</groupId>
58 <artifactId>yangtools-artifacts</artifactId>
59 <version>1.1.0-SNAPSHOT</version>
64 <groupId>org.opendaylight.mdsal</groupId>
65 <artifactId>mdsal-artifacts</artifactId>
66 <version>2.2.0-SNAPSHOT</version>
71 <groupId>org.opendaylight.mdsal.model</groupId>
72 <artifactId>mdsal-model-artifacts</artifactId>
73 <version>0.10.0-SNAPSHOT</version>
78 <groupId>junit-addons</groupId>
79 <artifactId>junit-addons</artifactId>
80 <version>1.4</version>
83 <groupId>org.jmock</groupId>
84 <artifactId>jmock</artifactId>
85 <version>2.6.0</version>
88 <groupId>org.jmock</groupId>
89 <artifactId>jmock-legacy</artifactId>
90 <version>2.6.0</version>
93 <groupId>org.opendaylight.controller</groupId>
94 <artifactId>config-api</artifactId>
95 <version>0.6.0-SNAPSHOT</version>
98 <groupId>org.opendaylight.controller</groupId>
99 <artifactId>config-manager</artifactId>
100 <version>${config.version}</version>
103 <groupId>org.opendaylight.controller</groupId>
104 <artifactId>config-util</artifactId>
105 <version>0.6.0-SNAPSHOT</version>
109 <groupId>org.opendaylight.odlparent</groupId>
110 <artifactId>karaf.branding</artifactId>
111 <version>${branding.version}</version>
112 <scope>compile</scope>
115 <groupId>org.opendaylight.controller</groupId>
116 <artifactId>netty-event-executor-config</artifactId>
117 <version>${config.version}</version>
120 <groupId>org.opendaylight.controller</groupId>
121 <artifactId>opendaylight-karaf-empty</artifactId>
122 <version>${karaf.empty.version}</version>
127 <groupId>org.opendaylight.odlparent</groupId>
128 <artifactId>opendaylight-karaf-resources</artifactId>
129 <version>${karaf.resources.version}</version>
132 <groupId>org.opendaylight.controller</groupId>
133 <artifactId>sal-binding-api</artifactId>
134 <version>${mdsal.version}</version>
137 <groupId>org.opendaylight.controller</groupId>
138 <artifactId>sal-binding-broker-impl</artifactId>
139 <version>${mdsal.version}</version>
142 <groupId>org.opendaylight.controller</groupId>
143 <artifactId>sal-binding-config</artifactId>
144 <version>${mdsal.version}</version>
147 <groupId>org.opendaylight.controller</groupId>
148 <artifactId>sal-broker-impl</artifactId>
149 <version>${mdsal.version}</version>
152 <groupId>org.opendaylight.controller</groupId>
153 <artifactId>sal-common-util</artifactId>
154 <version>${mdsal.version}</version>
157 <groupId>org.opendaylight.controller</groupId>
158 <artifactId>threadpool-config-api</artifactId>
159 <version>${config.version}</version>
162 <groupId>org.opendaylight.controller</groupId>
163 <artifactId>threadpool-config-impl</artifactId>
164 <version>0.6.0-SNAPSHOT</version>
167 <groupId>org.opendaylight.lispflowmapping</groupId>
168 <artifactId>common.build.tools</artifactId>
169 <version>${lispflowmapping.version}</version>
172 <groupId>org.opendaylight.lispflowmapping</groupId>
173 <artifactId>lispflowmapping-code-commons</artifactId>
174 <version>${lispflowmapping.version}</version>
177 <groupId>org.opendaylight.lispflowmapping</groupId>
178 <artifactId>lispflowmapping-commons</artifactId>
179 <version>${lispflowmapping.version}</version>
182 <groupId>org.opendaylight.lispflowmapping</groupId>
183 <artifactId>mappingservice.api</artifactId>
184 <version>${lispflowmapping.version}</version>
187 <groupId>org.opendaylight.lispflowmapping</groupId>
188 <artifactId>mappingservice.implementation</artifactId>
189 <version>${lispflowmapping.version}</version>
192 <groupId>org.opendaylight.lispflowmapping</groupId>
193 <artifactId>mappingservice.inmemorydb</artifactId>
194 <version>${lispflowmapping.version}</version>
198 <groupId>org.opendaylight.lispflowmapping</groupId>
199 <artifactId>mappingservice.neutron</artifactId>
200 <version>${lispflowmapping.version}</version>
204 <groupId>org.opendaylight.lispflowmapping</groupId>
205 <artifactId>mappingservice.northbound</artifactId>
206 <version>${lispflowmapping.version}</version>
209 <groupId>org.opendaylight.lispflowmapping</groupId>
210 <artifactId>mappingservice.shell</artifactId>
211 <version>${lispflowmapping.version}</version>
214 <groupId>org.opendaylight.lispflowmapping</groupId>
215 <artifactId>mappingservice.southbound</artifactId>
216 <version>${lispflowmapping.version}</version>
219 <groupId>org.opendaylight.lispflowmapping</groupId>
220 <artifactId>mappingservice.lisp-proto</artifactId>
221 <version>${lispflowmapping.version}</version>
224 <groupId>org.opendaylight.lispflowmapping</groupId>
225 <artifactId>mappingservice.config</artifactId>
226 <version>${lispflowmapping.version}</version>
229 <groupId>org.opendaylight.lispflowmapping</groupId>
230 <artifactId>common.unittest.tools</artifactId>
231 <version>${lispflowmapping.version}</version>
235 <groupId>org.opendaylight.yangtools</groupId>
236 <artifactId>mockito-configuration</artifactId>
237 <version>${yangtools.version}</version>
241 <groupId>org.opendaylight.lispflowmapping</groupId>
242 <artifactId>ui-lispflowmapping</artifactId>
243 <version>${lispflowmapping.version}</version>
246 </dependencyManagement>
251 <!-- This configures the sort pom plugin to sort properties, dependencies
252 etc during a build. It helps to ensure consistent poms that are easy to read.
253 While the configuration should exist at a root level it is still up to the
254 individual projects to invoke it by defining the plugin in the build->plugins
256 <groupId>com.google.code.sortpom</groupId>
257 <artifactId>maven-sortpom-plugin</artifactId>
258 <version>2.2.1</version>
260 <createBackupFile>false</createBackupFile>
261 <encoding>${project.build.sourceEncoding}</encoding>
262 <keepBlankLines>true</keepBlankLines>
263 <lineSeparator>\n</lineSeparator>
264 <nrOfIndentSpace>2</nrOfIndentSpace>
265 <predefinedSortOrder>custom_1</predefinedSortOrder>
266 <sortDependencies>scope,groupId,artifactId</sortDependencies>
267 <sortPlugins>groupId,artifactId</sortPlugins>
268 <sortProperties>true</sortProperties>
275 <phase>verify</phase>
280 <groupId>org.apache.maven.plugins</groupId>
281 <artifactId>maven-assembly-plugin</artifactId>
282 <version>2.4</version>
285 <!-- TODO move up to ODL parent. -->
286 <!-- This is required to make sure that we delete the files which are
287 being generated under the src/main directory since by default only files
288 under target get cleaned up. Because the clean plugin is automatically invoked
289 you do NOT need to specify it in the build->plugin section. You would only
290 want to override this if you have additional folders which need to be cleaned
292 <artifactId>maven-clean-plugin</artifactId>
296 <directory>${jmxGeneratorPath}</directory>
298 <include>**</include>
302 <directory>${salGeneratorPath}</directory>
304 <include>**</include>
311 <!-- Configures the java doc generation. Generally you should not have
312 to override this unless you need to exclude other packages etc. -->
313 <groupId>org.apache.maven.plugins</groupId>
314 <artifactId>maven-javadoc-plugin</artifactId>
316 <doclet>org.jboss.apiviz.APIviz</doclet>
318 <groupId>org.jboss.apiviz</groupId>
319 <artifactId>apiviz</artifactId>
320 <version>1.3.2.GA</version>
322 <finalName>${project.artifactId}-${project.version}</finalName>
323 <useStandardDocletOptions>true</useStandardDocletOptions>
324 <charset>UTF-8</charset>
325 <encoding>UTF-8</encoding>
326 <docencoding>UTF-8</docencoding>
327 <breakiterator>true</breakiterator>
328 <version>true</version>
329 <author>true</author>
330 <keywords>true</keywords>
331 <excludePackageNames>net.sf.jnetlib.*:cern.*:corejava:*.internal:edu.uci.*</excludePackageNames>
332 <failOnError>false</failOnError>
336 <groupId>org.apache.maven.plugins</groupId>
337 <artifactId>maven-jxr-plugin</artifactId>
338 <version>2.3</version>
340 <aggregate>true</aggregate>
341 <linkJavadoc>true</linkJavadoc>
342 <javadocDir>target/apidocs</javadocDir>
346 <!-- TODO: This should be in ODL parent -->
347 <groupId>org.codehaus.mojo</groupId>
348 <artifactId>build-helper-maven-plugin</artifactId>
353 <goal>add-source</goal>
355 <phase>generate-sources</phase>
358 <source>${yang.src.path}</source>
359 <source>${jmxGeneratorPath}</source>
360 <source>${salGeneratorPath}</source>
368 <groupId>org.eclipse.m2e</groupId>
369 <artifactId>lifecycle-mapping</artifactId>
370 <version>1.0.0</version>
372 <lifecycleMappingMetadata>
375 <pluginExecutionFilter>
376 <groupId>org.codehaus.mojo</groupId>
377 <artifactId>properties-maven-plugin</artifactId>
378 <versionRange>[0.0,)</versionRange>
380 <goal>set-system-properties</goal>
382 </pluginExecutionFilter>
388 <pluginExecutionFilter>
389 <groupId>org.jacoco</groupId>
390 <artifactId>jacoco-maven-plugin</artifactId>
391 <versionRange>[0.0,)</versionRange>
393 <goal>prepare-agent</goal>
394 <goal>pre-test</goal>
395 <goal>post-test</goal>
397 </pluginExecutionFilter>
403 <pluginExecutionFilter>
404 <groupId>org.ops4j.pax.exam</groupId>
405 <artifactId>maven-paxexam-plugin</artifactId>
406 <versionRange>[1.2.4,)</versionRange>
408 <goal>generate-depends-file</goal>
410 </pluginExecutionFilter>
416 </lifecycleMappingMetadata>
423 <groupId>org.codehaus.mojo</groupId>
424 <artifactId>build-helper-maven-plugin</artifactId>
430 <outputDirectory>${project.build.directory}/site</outputDirectory>
431 <excludeDefaults>true</excludeDefaults>
434 <groupId>org.apache.maven.plugins</groupId>
435 <artifactId>maven-javadoc-plugin</artifactId>
437 <doclet>org.jboss.apiviz.APIviz</doclet>
439 <groupId>org.jboss.apiviz</groupId>
440 <artifactId>apiviz</artifactId>
441 <version>1.3.2.GA</version>
443 <finalName>${project.artifactId}-${build.suffix}</finalName>
444 <useStandardDocletOptions>true</useStandardDocletOptions>
445 <charset>UTF-8</charset>
446 <encoding>UTF-8</encoding>
447 <docencoding>UTF-8</docencoding>
448 <breakiterator>true</breakiterator>
449 <version>true</version>
450 <author>true</author>
451 <keywords>true</keywords>
452 <excludePackageNames>*.internal:edu.uci.*</excludePackageNames>
456 <groupId>org.apache.maven.plugins</groupId>
457 <artifactId>maven-jxr-plugin</artifactId>
458 <version>2.3</version>
460 <aggregate>true</aggregate>
461 <linkJavadoc>true</linkJavadoc>
465 <groupId>org.apache.maven.plugins</groupId>
466 <artifactId>maven-project-info-reports-plugin</artifactId>
467 <version>${projectinfo}</version>
469 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
470 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
475 <report>index</report>
476 <report>project-team</report>
477 <report>license</report>
478 <report>mailing-list</report>
479 <report>plugin-management</report>
481 <report>issue-tracking</report>
483 <report>summary</report>
492 Maven Site Configuration
494 The following configuration is necessary for maven-site-plugin to
495 correctly identify the correct deployment path for OpenDaylight Maven
498 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
500 <distributionManagement>
501 <!-- Note: We want the nexus proxy property here because want to enable
502 devs to upload this artifact using mvn deploy to other maven repositories. -->
503 <!-- OpenDayLight Released artifact -->
505 <id>opendaylight-release</id>
506 <url>${nexusproxy}/repositories/opendaylight.release/</url>
508 <!-- OpenDayLight Snapshot artifact -->
510 <id>opendaylight-snapshot</id>
511 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
512 </snapshotRepository>
513 <!-- Site deployment -->
515 <id>opendaylight-site</id>
516 <url>${nexus.site.url}/${project.artifactId}/</url>
518 </distributionManagement>