Merge "Fix - LispAddressUtil.compareInetAddress() method."
[lispflowmapping.git] / commons / parent / pom.xml
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>
4
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
7
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. -->
11
12   <parent>
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>
19     <relativePath/>
20   </parent>
21
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>
27
28   <properties>
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     <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
42     <nsf.version>0.7.0-SNAPSHOT</nsf.version>
43     <restconf.version>1.4.0-SNAPSHOT</restconf.version>
44     <sal.version>0.11.0-SNAPSHOT</sal.version>
45     <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
46     <statisticsmanager.version>0.5.0</statisticsmanager.version>
47     <yang.src.path>src/main/yang</yang.src.path>
48     <yangtools.version>1.0.0-SNAPSHOT</yangtools.version>
49   </properties>
50
51   <dependencyManagement>
52     <dependencies>
53       <!-- NOTE: The "Type" jar is considered default. You only need to specify
54                  the type when it is something other than jar. -->
55       <dependency>
56        <groupId>org.opendaylight.yangtools</groupId>
57        <artifactId>yangtools-artifacts</artifactId>
58        <version>1.0.0-SNAPSHOT</version>
59        <type>pom</type>
60       <scope>import</scope>
61       </dependency>
62       <dependency>
63         <groupId>org.opendaylight.mdsal</groupId>
64         <artifactId>mdsal-artifacts</artifactId>
65         <version>2.1.0-SNAPSHOT</version>
66         <type>pom</type>
67        <scope>import</scope>
68       </dependency>
69       <dependency>
70         <groupId>org.opendaylight.mdsal.model</groupId>
71         <artifactId>mdsal-model-artifacts</artifactId>
72         <version>0.9.0-SNAPSHOT</version>
73         <type>pom</type>
74         <scope>import</scope>
75       </dependency>
76       <dependency>
77         <groupId>junit-addons</groupId>
78         <artifactId>junit-addons</artifactId>
79         <version>1.4</version>
80       </dependency>
81       <dependency>
82         <groupId>org.jmock</groupId>
83         <artifactId>jmock</artifactId>
84         <version>2.6.0</version>
85       </dependency>
86       <dependency>
87         <groupId>org.jmock</groupId>
88         <artifactId>jmock-legacy</artifactId>
89         <version>2.6.0</version>
90       </dependency>
91       <dependency>
92         <groupId>org.opendaylight.controller</groupId>
93         <artifactId>config-api</artifactId>
94         <version>0.5.0-SNAPSHOT</version>
95       </dependency>
96       <dependency>
97         <groupId>org.opendaylight.controller</groupId>
98         <artifactId>config-manager</artifactId>
99         <version>${config.version}</version>
100       </dependency>
101       <dependency>
102         <groupId>org.opendaylight.controller</groupId>
103         <artifactId>config-util</artifactId>
104         <version>0.5.0-SNAPSHOT</version>
105       </dependency>
106
107       <dependency>
108         <groupId>org.opendaylight.controller</groupId>
109         <artifactId>karaf.branding</artifactId>
110         <version>${branding.version}</version>
111         <scope>compile</scope>
112       </dependency>
113       <dependency>
114         <groupId>org.opendaylight.controller</groupId>
115         <artifactId>netty-event-executor-config</artifactId>
116         <version>${config.version}</version>
117       </dependency>
118       <dependency>
119         <groupId>org.opendaylight.controller</groupId>
120         <artifactId>opendaylight-karaf-empty</artifactId>
121         <version>${karaf.empty.version}</version>
122         <type>zip</type>
123       </dependency>
124
125       <dependency>
126         <groupId>org.opendaylight.controller</groupId>
127         <artifactId>opendaylight-karaf-resources</artifactId>
128         <version>${karaf.resources.version}</version>
129       </dependency>
130       <dependency>
131         <groupId>org.opendaylight.controller</groupId>
132         <artifactId>sal-binding-api</artifactId>
133         <version>${mdsal.version}</version>
134       </dependency>
135       <dependency>
136         <groupId>org.opendaylight.controller</groupId>
137         <artifactId>sal-binding-broker-impl</artifactId>
138         <version>${mdsal.version}</version>
139       </dependency>
140       <dependency>
141         <groupId>org.opendaylight.controller</groupId>
142         <artifactId>sal-binding-config</artifactId>
143         <version>${mdsal.version}</version>
144       </dependency>
145       <dependency>
146         <groupId>org.opendaylight.controller</groupId>
147         <artifactId>sal-broker-impl</artifactId>
148         <version>${mdsal.version}</version>
149       </dependency>
150       <dependency>
151         <groupId>org.opendaylight.controller</groupId>
152         <artifactId>sal-common-util</artifactId>
153         <version>${mdsal.version}</version>
154       </dependency>
155       <dependency>
156         <groupId>org.opendaylight.controller</groupId>
157         <artifactId>threadpool-config-api</artifactId>
158         <version>${config.version}</version>
159       </dependency>
160       <dependency>
161         <groupId>org.opendaylight.controller</groupId>
162         <artifactId>threadpool-config-impl</artifactId>
163         <version>0.5.0-SNAPSHOT</version>
164       </dependency>
165       <dependency>
166         <groupId>org.opendaylight.lispflowmapping</groupId>
167         <artifactId>common.build.tools</artifactId>
168         <version>${lispflowmapping.version}</version>
169       </dependency>
170       <dependency>
171         <groupId>org.opendaylight.lispflowmapping</groupId>
172         <artifactId>lispflowmapping-code-commons</artifactId>
173         <version>${lispflowmapping.version}</version>
174       </dependency>
175       <dependency>
176         <groupId>org.opendaylight.lispflowmapping</groupId>
177         <artifactId>lispflowmapping-commons</artifactId>
178         <version>${lispflowmapping.version}</version>
179       </dependency>
180       <dependency>
181         <groupId>org.opendaylight.lispflowmapping</groupId>
182         <artifactId>mappingservice.api</artifactId>
183         <version>${lispflowmapping.version}</version>
184       </dependency>
185       <dependency>
186         <groupId>org.opendaylight.lispflowmapping</groupId>
187         <artifactId>mappingservice.implementation</artifactId>
188         <version>${lispflowmapping.version}</version>
189       </dependency>
190       <dependency>
191         <groupId>org.opendaylight.lispflowmapping</groupId>
192         <artifactId>mappingservice.inmemorydb</artifactId>
193         <version>${lispflowmapping.version}</version>
194       </dependency>
195       <dependency>
196         <groupId>org.opendaylight.lispflowmapping</groupId>
197         <artifactId>mappingservice.neutron</artifactId>
198         <version>${lispflowmapping.version}</version>
199       </dependency>
200       <dependency>
201         <groupId>org.opendaylight.lispflowmapping</groupId>
202         <artifactId>mappingservice.northbound</artifactId>
203         <version>${lispflowmapping.version}</version>
204       </dependency>
205       <dependency>
206         <groupId>org.opendaylight.lispflowmapping</groupId>
207         <artifactId>mappingservice.shell</artifactId>
208         <version>${lispflowmapping.version}</version>
209       </dependency>
210       <dependency>
211         <groupId>org.opendaylight.lispflowmapping</groupId>
212         <artifactId>mappingservice.southbound</artifactId>
213         <version>${lispflowmapping.version}</version>
214       </dependency>
215       <dependency>
216         <groupId>org.opendaylight.lispflowmapping</groupId>
217         <artifactId>mappingservice.lisp-proto</artifactId>
218         <version>${lispflowmapping.version}</version>
219       </dependency>
220       <dependency>
221         <groupId>org.opendaylight.lispflowmapping</groupId>
222         <artifactId>common.unittest.tools</artifactId>
223         <version>${lispflowmapping.version}</version>
224         <scope>test</scope>
225       </dependency>
226       <dependency>
227         <groupId>org.opendaylight.yangtools</groupId>
228         <artifactId>mockito-configuration</artifactId>
229         <version>${yangtools.version}</version>
230         <scope>test</scope>
231       </dependency>
232       <dependency>
233         <groupId>org.opendaylight.lispflowmapping</groupId>
234         <artifactId>ui-lispflowmapping</artifactId>
235         <version>${lispflowmapping.version}</version>
236       </dependency>
237     </dependencies>
238   </dependencyManagement>
239   <build>
240     <pluginManagement>
241       <plugins>
242         <plugin>
243           <!-- This configures the sort pom plugin to sort properties, dependencies
244                etc during a build. It helps to ensure consistent poms that are easy to read.
245                While the configuration should exist at a root level it is still up to the
246                individual projects to invoke it by defining the plugin in the build->plugins
247                section. -->
248           <groupId>com.google.code.sortpom</groupId>
249           <artifactId>maven-sortpom-plugin</artifactId>
250           <version>2.2.1</version>
251           <configuration>
252             <createBackupFile>false</createBackupFile>
253             <encoding>${project.build.sourceEncoding}</encoding>
254             <keepBlankLines>true</keepBlankLines>
255             <lineSeparator>\n</lineSeparator>
256             <nrOfIndentSpace>2</nrOfIndentSpace>
257             <predefinedSortOrder>custom_1</predefinedSortOrder>
258             <sortDependencies>scope,groupId,artifactId</sortDependencies>
259             <sortPlugins>groupId,artifactId</sortPlugins>
260             <sortProperties>true</sortProperties>
261           </configuration>
262           <executions>
263             <execution>
264               <goals>
265                 <goal>sort</goal>
266               </goals>
267               <phase>verify</phase>
268             </execution>
269           </executions>
270         </plugin>
271         <plugin>
272           <groupId>org.apache.maven.plugins</groupId>
273           <artifactId>maven-assembly-plugin</artifactId>
274           <version>2.4</version>
275         </plugin>
276         <plugin>
277           <!-- TODO move up to ODL parent. -->
278           <!-- This is required to make sure that we delete the files which are
279                being generated under the src/main directory since by default only files
280                under target get cleaned up. Because the clean plugin is automatically invoked
281                you do NOT need to specify it in the build->plugin section. You would only
282                want to override this if you have additional folders which need to be cleaned
283                up. -->
284           <artifactId>maven-clean-plugin</artifactId>
285           <configuration>
286             <filesets>
287               <fileset>
288                 <directory>${jmxGeneratorPath}</directory>
289                 <includes>
290                   <include>**</include>
291                 </includes>
292               </fileset>
293               <fileset>
294                 <directory>${salGeneratorPath}</directory>
295                 <includes>
296                   <include>**</include>
297                 </includes>
298               </fileset>
299             </filesets>
300           </configuration>
301         </plugin>
302         <plugin>
303           <!-- Configures the java doc generation. Generally you should not have
304                to override this unless you need to exclude other packages etc. -->
305           <groupId>org.apache.maven.plugins</groupId>
306           <artifactId>maven-javadoc-plugin</artifactId>
307           <configuration>
308             <doclet>org.jboss.apiviz.APIviz</doclet>
309             <docletArtifact>
310               <groupId>org.jboss.apiviz</groupId>
311               <artifactId>apiviz</artifactId>
312               <version>1.3.2.GA</version>
313             </docletArtifact>
314             <finalName>${project.artifactId}-${project.version}</finalName>
315             <useStandardDocletOptions>true</useStandardDocletOptions>
316             <charset>UTF-8</charset>
317             <encoding>UTF-8</encoding>
318             <docencoding>UTF-8</docencoding>
319             <breakiterator>true</breakiterator>
320             <version>true</version>
321             <author>true</author>
322             <keywords>true</keywords>
323             <excludePackageNames>net.sf.jnetlib.*:cern.*:corejava:*.internal:edu.uci.*</excludePackageNames>
324             <failOnError>false</failOnError>
325           </configuration>
326         </plugin>
327         <plugin>
328           <groupId>org.apache.maven.plugins</groupId>
329           <artifactId>maven-jxr-plugin</artifactId>
330           <version>2.3</version>
331           <configuration>
332             <aggregate>true</aggregate>
333             <linkJavadoc>true</linkJavadoc>
334             <javadocDir>target/apidocs</javadocDir>
335           </configuration>
336         </plugin>
337         <plugin>
338           <!-- TODO: This should be in ODL parent -->
339           <groupId>org.codehaus.mojo</groupId>
340           <artifactId>build-helper-maven-plugin</artifactId>
341           <executions>
342             <execution>
343               <id>add-source</id>
344               <goals>
345                 <goal>add-source</goal>
346               </goals>
347               <phase>generate-sources</phase>
348               <configuration>
349                 <sources>
350                   <source>${yang.src.path}</source>
351                   <source>${jmxGeneratorPath}</source>
352                   <source>${salGeneratorPath}</source>
353                 </sources>
354               </configuration>
355             </execution>
356           </executions>
357         </plugin>
358
359         <plugin>
360           <groupId>org.eclipse.m2e</groupId>
361           <artifactId>lifecycle-mapping</artifactId>
362           <version>1.0.0</version>
363           <configuration>
364             <lifecycleMappingMetadata>
365               <pluginExecutions>
366                 <pluginExecution>
367                   <pluginExecutionFilter>
368                     <groupId>org.codehaus.mojo</groupId>
369                     <artifactId>properties-maven-plugin</artifactId>
370                     <versionRange>[0.0,)</versionRange>
371                     <goals>
372                       <goal>set-system-properties</goal>
373                     </goals>
374                   </pluginExecutionFilter>
375                   <action>
376                     <ignore></ignore>
377                   </action>
378                 </pluginExecution>
379                 <pluginExecution>
380                   <pluginExecutionFilter>
381                     <groupId>org.jacoco</groupId>
382                     <artifactId>jacoco-maven-plugin</artifactId>
383                     <versionRange>[0.0,)</versionRange>
384                     <goals>
385                       <goal>prepare-agent</goal>
386                       <goal>pre-test</goal>
387                       <goal>post-test</goal>
388                     </goals>
389                   </pluginExecutionFilter>
390                   <action>
391                     <ignore></ignore>
392                   </action>
393                 </pluginExecution>
394                 <pluginExecution>
395                   <pluginExecutionFilter>
396                     <groupId>org.ops4j.pax.exam</groupId>
397                     <artifactId>maven-paxexam-plugin</artifactId>
398                     <versionRange>[1.2.4,)</versionRange>
399                     <goals>
400                       <goal>generate-depends-file</goal>
401                     </goals>
402                   </pluginExecutionFilter>
403                   <action>
404                     <ignore></ignore>
405                   </action>
406                 </pluginExecution>
407                 <pluginExecution>
408                   <pluginExecutionFilter>
409                     <groupId>org.apache.maven.plugins</groupId>
410                     <artifactId>maven-checkstyle-plugin</artifactId>
411                     <versionRange>[2.0,)</versionRange>
412                     <goals>
413                       <goal>check</goal>
414                     </goals>
415                   </pluginExecutionFilter>
416                   <action>
417                     <ignore></ignore>
418                   </action>
419                 </pluginExecution>
420                 <pluginExecution>
421                   <pluginExecutionFilter>
422                     <groupId>org.opendaylight.yangtools</groupId>
423                     <artifactId>yang-maven-plugin</artifactId>
424                     <versionRange>[0.5,)</versionRange>
425                     <goals>
426                       <goal>generate-sources</goal>
427                     </goals>
428                   </pluginExecutionFilter>
429                   <action>
430                     <ignore></ignore>
431                   </action>
432                 </pluginExecution>
433               </pluginExecutions>
434             </lifecycleMappingMetadata>
435           </configuration>
436         </plugin>
437       </plugins>
438     </pluginManagement>
439     <plugins>
440       <plugin>
441         <groupId>org.codehaus.mojo</groupId>
442         <artifactId>build-helper-maven-plugin</artifactId>
443       </plugin>
444     </plugins>
445   </build>
446
447   <reporting>
448     <outputDirectory>${project.build.directory}/site</outputDirectory>
449     <excludeDefaults>true</excludeDefaults>
450     <plugins>
451       <plugin>
452         <groupId>org.apache.maven.plugins</groupId>
453         <artifactId>maven-javadoc-plugin</artifactId>
454         <configuration>
455           <doclet>org.jboss.apiviz.APIviz</doclet>
456           <docletArtifact>
457             <groupId>org.jboss.apiviz</groupId>
458             <artifactId>apiviz</artifactId>
459             <version>1.3.2.GA</version>
460           </docletArtifact>
461           <finalName>${project.artifactId}-${build.suffix}</finalName>
462           <useStandardDocletOptions>true</useStandardDocletOptions>
463           <charset>UTF-8</charset>
464           <encoding>UTF-8</encoding>
465           <docencoding>UTF-8</docencoding>
466           <breakiterator>true</breakiterator>
467           <version>true</version>
468           <author>true</author>
469           <keywords>true</keywords>
470           <excludePackageNames>*.internal:edu.uci.*</excludePackageNames>
471         </configuration>
472       </plugin>
473       <plugin>
474         <groupId>org.apache.maven.plugins</groupId>
475         <artifactId>maven-jxr-plugin</artifactId>
476         <version>2.3</version>
477         <configuration>
478           <aggregate>true</aggregate>
479           <linkJavadoc>true</linkJavadoc>
480         </configuration>
481       </plugin>
482       <plugin>
483         <groupId>org.apache.maven.plugins</groupId>
484         <artifactId>maven-project-info-reports-plugin</artifactId>
485         <version>${projectinfo}</version>
486         <configuration>
487           <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
488           <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
489         </configuration>
490         <reportSets>
491           <reportSet>
492             <reports>
493               <report>index</report>
494               <report>project-team</report>
495               <report>license</report>
496               <report>mailing-list</report>
497               <report>plugin-management</report>
498               <report>cim</report>
499               <report>issue-tracking</report>
500               <report>scm</report>
501               <report>summary</report>
502             </reports>
503           </reportSet>
504         </reportSets>
505       </plugin>
506     </plugins>
507   </reporting>
508
509   <distributionManagement>
510     <!-- Note: We want the nexus proxy property here because want to enable
511          devs to upload this artifact using mvn deploy to other maven repositories. -->
512     <!-- OpenDayLight Released artifact -->
513     <repository>
514       <id>opendaylight-release</id>
515       <url>${nexusproxy}/repositories/opendaylight.release/</url>
516     </repository>
517     <!-- OpenDayLight Snapshot artifact -->
518     <snapshotRepository>
519       <id>opendaylight-snapshot</id>
520       <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
521     </snapshotRepository>
522     <!-- Site deployment -->
523   </distributionManagement>
524
525 </project>