Bump to odlparent 3.1.3
[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>3.1.3</version>
19     <relativePath/>
20   </parent>
21
22   <groupId>org.opendaylight.lispflowmapping</groupId>
23   <artifactId>lispflowmapping-commons</artifactId>
24   <version>1.8.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>
29
30   <properties>
31     <branding.version>2.0.2</branding.version>
32     <build.suffix>1.0.0</build.suffix>
33     <config.version>0.9.0-SNAPSHOT</config.version>
34     <forwardingrulesmanager.version>0.5.0</forwardingrulesmanager.version>
35     <lispflowmapping.version>1.8.0-SNAPSHOT</lispflowmapping.version>
36     <mdsal.version>1.8.0-SNAPSHOT</mdsal.version>
37     <neutron.version>0.11.0-SNAPSHOT</neutron.version>
38     <nsf.version>0.11.0-SNAPSHOT</nsf.version>
39     <restconf.version>1.8.0-SNAPSHOT</restconf.version>
40     <sal.version>0.15.0-SNAPSHOT</sal.version>
41     <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
42     <statisticsmanager.version>0.5.0</statisticsmanager.version>
43     <yang.src.path>src/main/yang</yang.src.path>
44   </properties>
45
46   <dependencyManagement>
47     <dependencies>
48       <!-- NOTE: The "Type" jar is considered default. You only need to specify
49                  the type when it is something other than jar. -->
50       <dependency>
51         <groupId>org.opendaylight.mdsal</groupId>
52         <artifactId>mdsal-artifacts</artifactId>
53         <version>2.5.0-SNAPSHOT</version>
54         <type>pom</type>
55        <scope>import</scope>
56       </dependency>
57       <dependency>
58         <groupId>org.opendaylight.mdsal.model</groupId>
59         <artifactId>mdsal-model-artifacts</artifactId>
60         <version>0.13.0-SNAPSHOT</version>
61         <type>pom</type>
62         <scope>import</scope>
63       </dependency>
64       <dependency>
65         <groupId>junit-addons</groupId>
66         <artifactId>junit-addons</artifactId>
67         <version>1.4</version>
68       </dependency>
69       <dependency>
70         <groupId>org.jmock</groupId>
71         <artifactId>jmock</artifactId>
72         <version>2.6.0</version>
73       </dependency>
74       <dependency>
75         <groupId>org.jmock</groupId>
76         <artifactId>jmock-legacy</artifactId>
77         <version>2.6.0</version>
78       </dependency>
79       <dependency>
80         <groupId>org.opendaylight.controller</groupId>
81         <artifactId>netty-event-executor-config</artifactId>
82         <version>${config.version}</version>
83       </dependency>
84       <dependency>
85         <groupId>org.opendaylight.controller</groupId>
86         <artifactId>sal-binding-api</artifactId>
87         <version>${mdsal.version}</version>
88       </dependency>
89       <dependency>
90         <groupId>org.opendaylight.controller</groupId>
91         <artifactId>sal-binding-broker-impl</artifactId>
92         <version>${mdsal.version}</version>
93       </dependency>
94       <dependency>
95         <groupId>org.opendaylight.controller</groupId>
96         <artifactId>sal-broker-impl</artifactId>
97         <version>${mdsal.version}</version>
98       </dependency>
99       <dependency>
100         <groupId>org.opendaylight.controller</groupId>
101         <artifactId>sal-common-util</artifactId>
102         <version>${mdsal.version}</version>
103       </dependency>
104       <dependency>
105         <groupId>org.opendaylight.controller</groupId>
106         <artifactId>threadpool-config-api</artifactId>
107         <version>${config.version}</version>
108       </dependency>
109       <dependency>
110         <groupId>org.opendaylight.controller</groupId>
111         <artifactId>threadpool-config-impl</artifactId>
112         <version>0.9.0-SNAPSHOT</version>
113       </dependency>
114       <dependency>
115         <groupId>org.opendaylight.lispflowmapping</groupId>
116         <artifactId>common.build.tools</artifactId>
117         <version>${lispflowmapping.version}</version>
118       </dependency>
119       <dependency>
120         <groupId>org.opendaylight.lispflowmapping</groupId>
121         <artifactId>lispflowmapping-code-commons</artifactId>
122         <version>${lispflowmapping.version}</version>
123       </dependency>
124       <dependency>
125         <groupId>org.opendaylight.lispflowmapping</groupId>
126         <artifactId>lispflowmapping-commons</artifactId>
127         <version>${lispflowmapping.version}</version>
128       </dependency>
129       <dependency>
130         <groupId>org.opendaylight.lispflowmapping</groupId>
131         <artifactId>mappingservice.api</artifactId>
132         <version>${lispflowmapping.version}</version>
133       </dependency>
134       <dependency>
135         <groupId>org.opendaylight.lispflowmapping</groupId>
136         <artifactId>mappingservice.implementation</artifactId>
137         <version>${lispflowmapping.version}</version>
138       </dependency>
139       <dependency>
140         <groupId>org.opendaylight.lispflowmapping</groupId>
141         <artifactId>mappingservice.inmemorydb</artifactId>
142         <version>${lispflowmapping.version}</version>
143       </dependency>
144       <!--
145       <dependency>
146         <groupId>org.opendaylight.lispflowmapping</groupId>
147         <artifactId>mappingservice.neutron</artifactId>
148         <version>${lispflowmapping.version}</version>
149       </dependency>
150       -->
151       <dependency>
152         <groupId>org.opendaylight.lispflowmapping</groupId>
153         <artifactId>mappingservice.northbound</artifactId>
154         <version>${lispflowmapping.version}</version>
155       </dependency>
156       <dependency>
157         <groupId>org.opendaylight.lispflowmapping</groupId>
158         <artifactId>mappingservice.shell</artifactId>
159         <version>${lispflowmapping.version}</version>
160       </dependency>
161       <dependency>
162         <groupId>org.opendaylight.lispflowmapping</groupId>
163         <artifactId>mappingservice.southbound</artifactId>
164         <version>${lispflowmapping.version}</version>
165       </dependency>
166       <dependency>
167         <groupId>org.opendaylight.lispflowmapping</groupId>
168         <artifactId>mappingservice.lisp-proto</artifactId>
169         <version>${lispflowmapping.version}</version>
170       </dependency>
171       <dependency>
172         <groupId>org.opendaylight.lispflowmapping</groupId>
173         <artifactId>mappingservice.config</artifactId>
174         <version>${lispflowmapping.version}</version>
175       </dependency>
176       <dependency>
177         <groupId>org.opendaylight.lispflowmapping</groupId>
178         <artifactId>common.unittest.tools</artifactId>
179         <version>${lispflowmapping.version}</version>
180         <scope>test</scope>
181       </dependency>
182       <dependency>
183         <groupId>org.opendaylight.lispflowmapping</groupId>
184         <artifactId>ui-lispflowmapping</artifactId>
185         <version>${lispflowmapping.version}</version>
186       </dependency>
187     </dependencies>
188   </dependencyManagement>
189   <build>
190     <pluginManagement>
191       <plugins>
192         <plugin>
193           <!-- This configures the sort pom plugin to sort properties, dependencies
194                etc during a build. It helps to ensure consistent poms that are easy to read.
195                While the configuration should exist at a root level it is still up to the
196                individual projects to invoke it by defining the plugin in the build->plugins
197                section. -->
198           <groupId>com.google.code.sortpom</groupId>
199           <artifactId>maven-sortpom-plugin</artifactId>
200           <version>2.2.1</version>
201           <configuration>
202             <createBackupFile>false</createBackupFile>
203             <encoding>${project.build.sourceEncoding}</encoding>
204             <keepBlankLines>true</keepBlankLines>
205             <lineSeparator>\n</lineSeparator>
206             <nrOfIndentSpace>2</nrOfIndentSpace>
207             <predefinedSortOrder>custom_1</predefinedSortOrder>
208             <sortDependencies>scope,groupId,artifactId</sortDependencies>
209             <sortPlugins>groupId,artifactId</sortPlugins>
210             <sortProperties>true</sortProperties>
211           </configuration>
212           <executions>
213             <execution>
214               <goals>
215                 <goal>sort</goal>
216               </goals>
217               <phase>verify</phase>
218             </execution>
219           </executions>
220         </plugin>
221         <plugin>
222           <groupId>org.apache.maven.plugins</groupId>
223           <artifactId>maven-assembly-plugin</artifactId>
224           <version>2.4</version>
225         </plugin>
226         <plugin>
227           <!-- TODO move up to ODL parent. -->
228           <!-- This is required to make sure that we delete the files which are
229                being generated under the src/main directory since by default only files
230                under target get cleaned up. Because the clean plugin is automatically invoked
231                you do NOT need to specify it in the build->plugin section. You would only
232                want to override this if you have additional folders which need to be cleaned
233                up. -->
234           <artifactId>maven-clean-plugin</artifactId>
235           <configuration>
236             <filesets>
237               <fileset>
238                 <directory>${salGeneratorPath}</directory>
239                 <includes>
240                   <include>**</include>
241                 </includes>
242               </fileset>
243             </filesets>
244           </configuration>
245         </plugin>
246         <plugin>
247           <!-- Configures the java doc generation. Generally you should not have
248                to override this unless you need to exclude other packages etc. -->
249           <groupId>org.apache.maven.plugins</groupId>
250           <artifactId>maven-javadoc-plugin</artifactId>
251           <configuration>
252             <doclet>org.jboss.apiviz.APIviz</doclet>
253             <docletArtifact>
254               <groupId>org.jboss.apiviz</groupId>
255               <artifactId>apiviz</artifactId>
256               <version>1.3.2.GA</version>
257             </docletArtifact>
258             <finalName>${project.artifactId}-${project.version}</finalName>
259             <useStandardDocletOptions>true</useStandardDocletOptions>
260             <charset>UTF-8</charset>
261             <encoding>UTF-8</encoding>
262             <docencoding>UTF-8</docencoding>
263             <breakiterator>true</breakiterator>
264             <version>true</version>
265             <author>true</author>
266             <keywords>true</keywords>
267             <excludePackageNames>net.sf.jnetlib.*:cern.*:corejava:*.internal:edu.uci.*</excludePackageNames>
268             <failOnError>false</failOnError>
269           </configuration>
270         </plugin>
271         <plugin>
272           <groupId>org.apache.maven.plugins</groupId>
273           <artifactId>maven-jxr-plugin</artifactId>
274           <version>2.3</version>
275           <configuration>
276             <aggregate>true</aggregate>
277             <linkJavadoc>true</linkJavadoc>
278             <javadocDir>target/apidocs</javadocDir>
279           </configuration>
280         </plugin>
281         <plugin>
282           <!-- TODO: This should be in ODL parent -->
283           <groupId>org.codehaus.mojo</groupId>
284           <artifactId>build-helper-maven-plugin</artifactId>
285           <executions>
286             <execution>
287               <id>add-source</id>
288               <goals>
289                 <goal>add-source</goal>
290               </goals>
291               <phase>generate-sources</phase>
292               <configuration>
293                 <sources>
294                   <source>${yang.src.path}</source>
295                   <source>${salGeneratorPath}</source>
296                 </sources>
297               </configuration>
298             </execution>
299           </executions>
300         </plugin>
301
302         <plugin>
303           <groupId>org.eclipse.m2e</groupId>
304           <artifactId>lifecycle-mapping</artifactId>
305           <version>1.0.0</version>
306           <configuration>
307             <lifecycleMappingMetadata>
308               <pluginExecutions>
309                 <pluginExecution>
310                   <pluginExecutionFilter>
311                     <groupId>org.codehaus.mojo</groupId>
312                     <artifactId>properties-maven-plugin</artifactId>
313                     <versionRange>[0.0,)</versionRange>
314                     <goals>
315                       <goal>set-system-properties</goal>
316                     </goals>
317                   </pluginExecutionFilter>
318                   <action>
319                     <ignore/>
320                   </action>
321                 </pluginExecution>
322                 <pluginExecution>
323                   <pluginExecutionFilter>
324                     <groupId>org.jacoco</groupId>
325                     <artifactId>jacoco-maven-plugin</artifactId>
326                     <versionRange>[0.0,)</versionRange>
327                     <goals>
328                       <goal>prepare-agent</goal>
329                       <goal>pre-test</goal>
330                       <goal>post-test</goal>
331                     </goals>
332                   </pluginExecutionFilter>
333                   <action>
334                     <ignore/>
335                   </action>
336                 </pluginExecution>
337                 <pluginExecution>
338                   <pluginExecutionFilter>
339                     <groupId>org.ops4j.pax.exam</groupId>
340                     <artifactId>maven-paxexam-plugin</artifactId>
341                     <versionRange>[1.2.4,)</versionRange>
342                     <goals>
343                       <goal>generate-depends-file</goal>
344                     </goals>
345                   </pluginExecutionFilter>
346                   <action>
347                     <ignore/>
348                   </action>
349                 </pluginExecution>
350               </pluginExecutions>
351             </lifecycleMappingMetadata>
352           </configuration>
353         </plugin>
354       </plugins>
355     </pluginManagement>
356     <plugins>
357       <plugin>
358         <groupId>org.codehaus.mojo</groupId>
359         <artifactId>build-helper-maven-plugin</artifactId>
360       </plugin>
361     </plugins>
362   </build>
363
364   <reporting>
365     <outputDirectory>${project.build.directory}/site</outputDirectory>
366     <excludeDefaults>true</excludeDefaults>
367     <plugins>
368       <plugin>
369         <groupId>org.apache.maven.plugins</groupId>
370         <artifactId>maven-javadoc-plugin</artifactId>
371         <configuration>
372           <doclet>org.jboss.apiviz.APIviz</doclet>
373           <docletArtifact>
374             <groupId>org.jboss.apiviz</groupId>
375             <artifactId>apiviz</artifactId>
376             <version>1.3.2.GA</version>
377           </docletArtifact>
378           <finalName>${project.artifactId}-${build.suffix}</finalName>
379           <useStandardDocletOptions>true</useStandardDocletOptions>
380           <charset>UTF-8</charset>
381           <encoding>UTF-8</encoding>
382           <docencoding>UTF-8</docencoding>
383           <breakiterator>true</breakiterator>
384           <version>true</version>
385           <author>true</author>
386           <keywords>true</keywords>
387           <excludePackageNames>*.internal:edu.uci.*</excludePackageNames>
388         </configuration>
389       </plugin>
390       <plugin>
391         <groupId>org.apache.maven.plugins</groupId>
392         <artifactId>maven-jxr-plugin</artifactId>
393         <version>2.3</version>
394         <configuration>
395           <aggregate>true</aggregate>
396           <linkJavadoc>true</linkJavadoc>
397         </configuration>
398       </plugin>
399       <plugin>
400         <groupId>org.apache.maven.plugins</groupId>
401         <artifactId>maven-project-info-reports-plugin</artifactId>
402         <version>${projectinfo}</version>
403         <configuration>
404           <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
405           <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
406         </configuration>
407         <reportSets>
408           <reportSet>
409             <reports>
410               <report>index</report>
411               <report>project-team</report>
412               <report>license</report>
413               <report>mailing-list</report>
414               <report>plugin-management</report>
415               <report>cim</report>
416               <report>issue-tracking</report>
417               <report>scm</report>
418               <report>summary</report>
419             </reports>
420           </reportSet>
421         </reportSets>
422       </plugin>
423     </plugins>
424   </reporting>
425 </project>