Bump versions by x.(y+1).z
[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>13.0.11</version>
19     <relativePath/>
20   </parent>
21
22   <groupId>org.opendaylight.lispflowmapping</groupId>
23   <artifactId>lispflowmapping-commons</artifactId>
24   <version>1.20.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     <build.suffix>1.0.0</build.suffix>
32     <forwardingrulesmanager.version>0.5.0</forwardingrulesmanager.version>
33     <lispflowmapping.version>1.20.0-SNAPSHOT</lispflowmapping.version>
34     <nsf.version>0.23.0-SNAPSHOT</nsf.version>
35     <sal.version>0.27.0-SNAPSHOT</sal.version>
36     <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
37     <statisticsmanager.version>0.5.0</statisticsmanager.version>
38     <yang.src.path>src/main/yang</yang.src.path>
39   </properties>
40
41   <dependencyManagement>
42     <dependencies>
43       <!-- NOTE: The "Type" jar is considered default. You only need to specify
44                  the type when it is something other than jar. -->
45       <dependency>
46         <groupId>org.opendaylight.mdsal</groupId>
47         <artifactId>mdsal-artifacts</artifactId>
48         <version>13.0.1</version>
49         <type>pom</type>
50         <scope>import</scope>
51       </dependency>
52       <dependency>
53         <groupId>org.opendaylight.controller</groupId>
54         <artifactId>controller-artifacts</artifactId>
55         <version>9.0.2</version>
56         <type>pom</type>
57         <scope>import</scope>
58       </dependency>
59       <dependency>
60         <groupId>org.opendaylight.lispflowmapping</groupId>
61         <artifactId>common.build.tools</artifactId>
62         <version>${lispflowmapping.version}</version>
63       </dependency>
64       <dependency>
65         <groupId>org.opendaylight.lispflowmapping</groupId>
66         <artifactId>lispflowmapping-code-commons</artifactId>
67         <version>${lispflowmapping.version}</version>
68       </dependency>
69       <dependency>
70         <groupId>org.opendaylight.lispflowmapping</groupId>
71         <artifactId>lispflowmapping-commons</artifactId>
72         <version>${lispflowmapping.version}</version>
73       </dependency>
74       <dependency>
75         <groupId>org.opendaylight.lispflowmapping</groupId>
76         <artifactId>mappingservice.api</artifactId>
77         <version>${lispflowmapping.version}</version>
78       </dependency>
79       <dependency>
80         <groupId>org.opendaylight.lispflowmapping</groupId>
81         <artifactId>mappingservice.implementation</artifactId>
82         <version>${lispflowmapping.version}</version>
83       </dependency>
84       <dependency>
85         <groupId>org.opendaylight.lispflowmapping</groupId>
86         <artifactId>mappingservice.inmemorydb</artifactId>
87         <version>${lispflowmapping.version}</version>
88       </dependency>
89       <dependency>
90         <groupId>org.opendaylight.lispflowmapping</groupId>
91         <artifactId>mappingservice.northbound</artifactId>
92         <version>${lispflowmapping.version}</version>
93       </dependency>
94       <dependency>
95         <groupId>org.opendaylight.lispflowmapping</groupId>
96         <artifactId>mappingservice.shell</artifactId>
97         <version>${lispflowmapping.version}</version>
98       </dependency>
99       <dependency>
100         <groupId>org.opendaylight.lispflowmapping</groupId>
101         <artifactId>mappingservice.southbound</artifactId>
102         <version>${lispflowmapping.version}</version>
103       </dependency>
104       <dependency>
105         <groupId>org.opendaylight.lispflowmapping</groupId>
106         <artifactId>mappingservice.lisp-proto</artifactId>
107         <version>${lispflowmapping.version}</version>
108       </dependency>
109       <dependency>
110         <groupId>org.opendaylight.lispflowmapping</groupId>
111         <artifactId>mappingservice.config</artifactId>
112         <version>${lispflowmapping.version}</version>
113       </dependency>
114       <dependency>
115         <groupId>org.opendaylight.lispflowmapping</groupId>
116         <artifactId>ui-lispflowmapping</artifactId>
117         <version>${lispflowmapping.version}</version>
118       </dependency>
119     </dependencies>
120   </dependencyManagement>
121   <build>
122     <pluginManagement>
123       <plugins>
124         <plugin>
125           <!-- This configures the sort pom plugin to sort properties, dependencies
126                etc during a build. It helps to ensure consistent poms that are easy to read.
127                While the configuration should exist at a root level it is still up to the
128                individual projects to invoke it by defining the plugin in the build->plugins
129                section. -->
130           <groupId>com.google.code.sortpom</groupId>
131           <artifactId>maven-sortpom-plugin</artifactId>
132           <version>2.2.1</version>
133           <configuration>
134             <createBackupFile>false</createBackupFile>
135             <encoding>${project.build.sourceEncoding}</encoding>
136             <keepBlankLines>true</keepBlankLines>
137             <lineSeparator>\n</lineSeparator>
138             <nrOfIndentSpace>2</nrOfIndentSpace>
139             <predefinedSortOrder>custom_1</predefinedSortOrder>
140             <sortDependencies>scope,groupId,artifactId</sortDependencies>
141             <sortPlugins>groupId,artifactId</sortPlugins>
142             <sortProperties>true</sortProperties>
143           </configuration>
144           <executions>
145             <execution>
146               <goals>
147                 <goal>sort</goal>
148               </goals>
149               <phase>verify</phase>
150             </execution>
151           </executions>
152         </plugin>
153         <plugin>
154           <groupId>org.apache.maven.plugins</groupId>
155           <artifactId>maven-assembly-plugin</artifactId>
156           <version>2.4</version>
157         </plugin>
158         <plugin>
159           <!-- TODO move up to ODL parent. -->
160           <!-- This is required to make sure that we delete the files which are
161                being generated under the src/main directory since by default only files
162                under target get cleaned up. Because the clean plugin is automatically invoked
163                you do NOT need to specify it in the build->plugin section. You would only
164                want to override this if you have additional folders which need to be cleaned
165                up. -->
166           <artifactId>maven-clean-plugin</artifactId>
167           <configuration>
168             <filesets>
169               <fileset>
170                 <directory>${salGeneratorPath}</directory>
171                 <includes>
172                   <include>**</include>
173                 </includes>
174               </fileset>
175             </filesets>
176           </configuration>
177         </plugin>
178         <plugin>
179           <groupId>org.apache.maven.plugins</groupId>
180           <artifactId>maven-jxr-plugin</artifactId>
181           <version>2.3</version>
182           <configuration>
183             <aggregate>true</aggregate>
184             <linkJavadoc>true</linkJavadoc>
185             <javadocDir>target/apidocs</javadocDir>
186           </configuration>
187         </plugin>
188         <plugin>
189           <!-- TODO: This should be in ODL parent -->
190           <groupId>org.codehaus.mojo</groupId>
191           <artifactId>build-helper-maven-plugin</artifactId>
192           <executions>
193             <execution>
194               <id>add-source</id>
195               <goals>
196                 <goal>add-source</goal>
197               </goals>
198               <phase>generate-sources</phase>
199               <configuration>
200                 <sources>
201                   <source>${yang.src.path}</source>
202                   <source>${salGeneratorPath}</source>
203                 </sources>
204               </configuration>
205             </execution>
206           </executions>
207         </plugin>
208
209         <plugin>
210           <groupId>org.eclipse.m2e</groupId>
211           <artifactId>lifecycle-mapping</artifactId>
212           <version>1.0.0</version>
213           <configuration>
214             <lifecycleMappingMetadata>
215               <pluginExecutions>
216                 <pluginExecution>
217                   <pluginExecutionFilter>
218                     <groupId>org.codehaus.mojo</groupId>
219                     <artifactId>properties-maven-plugin</artifactId>
220                     <versionRange>[0.0,)</versionRange>
221                     <goals>
222                       <goal>set-system-properties</goal>
223                     </goals>
224                   </pluginExecutionFilter>
225                   <action>
226                     <ignore/>
227                   </action>
228                 </pluginExecution>
229                 <pluginExecution>
230                   <pluginExecutionFilter>
231                     <groupId>org.jacoco</groupId>
232                     <artifactId>jacoco-maven-plugin</artifactId>
233                     <versionRange>[0.0,)</versionRange>
234                     <goals>
235                       <goal>prepare-agent</goal>
236                       <goal>pre-test</goal>
237                       <goal>post-test</goal>
238                     </goals>
239                   </pluginExecutionFilter>
240                   <action>
241                     <ignore/>
242                   </action>
243                 </pluginExecution>
244                 <pluginExecution>
245                   <pluginExecutionFilter>
246                     <groupId>org.ops4j.pax.exam</groupId>
247                     <artifactId>maven-paxexam-plugin</artifactId>
248                     <versionRange>[1.2.4,)</versionRange>
249                     <goals>
250                       <goal>generate-depends-file</goal>
251                     </goals>
252                   </pluginExecutionFilter>
253                   <action>
254                     <ignore/>
255                   </action>
256                 </pluginExecution>
257               </pluginExecutions>
258             </lifecycleMappingMetadata>
259           </configuration>
260         </plugin>
261       </plugins>
262     </pluginManagement>
263     <plugins>
264       <plugin>
265         <groupId>org.codehaus.mojo</groupId>
266         <artifactId>build-helper-maven-plugin</artifactId>
267       </plugin>
268     </plugins>
269   </build>
270 </project>