Merge "Use odlparent configuration for jacoco"
[lispflowmapping.git] / mappingservice / 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/xsd/maven-4.0.0.xsd">
3   <modelVersion>4.0.0</modelVersion>
4
5   <parent>
6     <groupId>org.opendaylight.controller</groupId>
7     <artifactId>config-parent</artifactId>
8     <version>0.4.0-SNAPSHOT</version>
9     <relativePath/>
10   </parent>
11
12   <groupId>org.opendaylight.lispflowmapping</groupId>
13   <artifactId>mappingservice-parent</artifactId>
14   <version>1.3.0-SNAPSHOT</version>
15   <packaging>pom</packaging>
16   <name>Mapping Service Parent POM</name>
17
18   <modules>
19     <module>lisp-proto</module>
20     <module>api</module>
21     <module>config</module>
22     <module>inmemorydb</module>
23     <module>implementation</module>
24     <module>southbound</module>
25     <module>neutron</module>
26     <module>shell</module>
27   </modules>
28
29   <dependencyManagement>
30     <dependencies>
31       <dependency>
32         <groupId>${project.groupId}</groupId>
33         <artifactId>lispflowmapping-artifacts</artifactId>
34         <version>${project.version}</version>
35         <type>pom</type>
36         <scope>import</scope>
37       </dependency>
38       <dependency>
39         <groupId>${project.groupId}</groupId>
40         <artifactId>common.unittest.tools</artifactId>
41         <version>${project.version}</version>
42       </dependency>
43       <dependency>
44         <groupId>junit-addons</groupId>
45         <artifactId>junit-addons</artifactId>
46         <version>1.4</version>
47         <scope>test</scope>
48       </dependency>
49       <!--
50       <dependency>
51         <groupId>org.jmock</groupId>
52         <artifactId>jmock</artifactId>
53         <version>2.6.0</version>
54         <scope>test</scope>
55       </dependency>
56       -->
57       <dependency>
58         <groupId>org.opendaylight.neutron</groupId>
59         <artifactId>neutron-spi</artifactId>
60         <version>0.6.0-SNAPSHOT</version>
61       </dependency>
62       <dependency>
63         <groupId>org.opendaylight.controller</groupId>
64         <artifactId>sal</artifactId>
65         <version>0.10.0-SNAPSHOT</version>
66       </dependency>
67     </dependencies>
68   </dependencyManagement>
69
70   <build>
71     <pluginManagement>
72       <plugins>
73         <plugin>
74           <!-- Temporarily override the odlparent checkstyle configuration.
75                We want to enforce some simple rules and add more as we clean up code -->
76           <artifactId>maven-checkstyle-plugin</artifactId>
77           <configuration>
78             <configLocation>checkstyle/java_rules.xml</configLocation>
79             <excludes>org/opendaylight/yang/gen/**,**/config/yang/**</excludes>
80             <failsOnError>true</failsOnError>
81             <consoleOutput>true</consoleOutput>
82           </configuration>
83           <dependencies>
84             <dependency>
85               <groupId>org.opendaylight.lispflowmapping</groupId>
86               <artifactId>common.build.tools</artifactId>
87               <version>${project.version}</version>
88             </dependency>
89           </dependencies>
90           <executions>
91             <execution>
92               <goals>
93                 <goal>check</goal>
94               </goals>
95               <phase>process-sources</phase>
96             </execution>
97           </executions>
98         </plugin>
99       </plugins>
100     </pluginManagement>
101   </build>
102 </project>