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