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