Move HashMapDb to its own bundle
[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>yangmodel</module>
20     <module>api</module>
21     <module>config</module>
22     <module>clusterdao</module>
23     <module>inmemorydb</module>
24     <module>implementation</module>
25     <module>southbound</module>
26     <module>neutron</module>
27     <module>netconf</module>
28     <module>shell</module>
29     <!-- <module>integrationtest</module> -->
30   </modules>
31
32   <dependencyManagement>
33     <dependencies>
34       <dependency>
35         <groupId>${project.groupId}</groupId>
36         <artifactId>lispflowmapping-artifacts</artifactId>
37         <version>${project.version}</version>
38         <type>pom</type>
39         <scope>import</scope>
40       </dependency>
41       <dependency>
42         <groupId>org.opendaylight.neutron</groupId>
43         <artifactId>neutron-spi</artifactId>
44         <version>0.6.0-SNAPSHOT</version>
45       </dependency>
46       <dependency>
47         <groupId>org.opendaylight.controller</groupId>
48         <artifactId>sal</artifactId>
49         <version>0.10.0-SNAPSHOT</version>
50       </dependency>
51     </dependencies>
52   </dependencyManagement>
53
54   <!-- common testing dependencies -->
55   <dependencies>
56     <dependency>
57       <groupId>${project.groupId}</groupId>
58       <artifactId>common.unittest.tools</artifactId>
59       <version>${project.version}</version>
60     </dependency>
61     <dependency>
62       <groupId>junit</groupId>
63       <artifactId>junit</artifactId>
64     </dependency>
65     <dependency>
66       <groupId>junit-addons</groupId>
67       <artifactId>junit-addons</artifactId>
68       <version>1.4</version>
69       <scope>test</scope>
70     </dependency>
71     <dependency>
72       <groupId>org.hamcrest</groupId>
73       <artifactId>hamcrest-core</artifactId>
74       <scope>test</scope>
75     </dependency>
76     <dependency>
77       <groupId>org.jmock</groupId>
78       <artifactId>jmock-junit4</artifactId>
79       <version>2.6.0</version>
80       <scope>test</scope>
81     </dependency>
82     <dependency>
83       <groupId>org.jmock</groupId>
84       <artifactId>jmock-legacy</artifactId>
85       <version>2.6.0</version>
86       <scope>test</scope>
87     </dependency>
88   </dependencies>
89
90   <build>
91     <pluginManagement>
92       <plugins>
93         <plugin>
94           <!-- Temporarily override the odlparent checkstyle configuration.
95                We want to enforce some simple rules and add more as we clean up code -->
96           <artifactId>maven-checkstyle-plugin</artifactId>
97           <configuration>
98             <configLocation>checkstyle/java_rules.xml</configLocation>
99             <excludes>org/opendaylight/yang/gen/**,**/config/yang/**</excludes>
100             <failsOnError>true</failsOnError>
101             <consoleOutput>true</consoleOutput>
102           </configuration>
103           <dependencies>
104             <dependency>
105               <groupId>org.opendaylight.lispflowmapping</groupId>
106               <artifactId>common.build.tools</artifactId>
107               <version>${project.version}</version>
108             </dependency>
109           </dependencies>
110           <executions>
111             <execution>
112               <goals>
113                 <goal>check</goal>
114               </goals>
115               <phase>process-sources</phase>
116             </execution>
117           </executions>
118         </plugin>
119       </plugins>
120     </pluginManagement>
121
122     <plugins>
123       <plugin>
124        <groupId>org.jacoco</groupId>
125        <artifactId>jacoco-maven-plugin</artifactId>
126        <configuration>
127          <includes>
128            <include>org.opendaylight.lispflowmapping.*</include>
129          </includes>
130        </configuration>
131        <executions>
132          <execution>
133            <id>pre-test</id>
134            <goals>
135              <goal>prepare-agent</goal>
136            </goals>
137          </execution>
138          <execution>
139            <id>post-test</id>
140            <goals>
141              <goal>report</goal>
142            </goals>
143            <phase>test</phase>
144          </execution>
145        </executions>
146      </plugin>
147     </plugins>
148   </build>
149 </project>