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