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