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