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