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