Merge "Import only mockito-core instead of mockito-all"
[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.5.0-SNAPSHOT</version>
9     <relativePath/>
10   </parent>
11
12   <groupId>org.opendaylight.lispflowmapping</groupId>
13   <artifactId>mappingservice-parent</artifactId>
14   <version>1.4.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>inmemorydb</module>
22     <module>mapcache</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>org.opendaylight.mdsal</groupId>
33         <artifactId>mdsal-artifacts</artifactId>
34         <version>2.1.0-SNAPSHOT</version>
35         <type>pom</type>
36         <scope>import</scope>
37       </dependency>
38       <dependency>
39         <groupId>org.opendaylight.mdsal.model</groupId>
40         <artifactId>mdsal-model-artifacts</artifactId>
41         <version>0.9.0-SNAPSHOT</version>
42         <type>pom</type>
43         <scope>import</scope>
44       </dependency>
45       <dependency>
46         <groupId>${project.groupId}</groupId>
47         <artifactId>lispflowmapping-artifacts</artifactId>
48         <version>${project.version}</version>
49         <type>pom</type>
50         <scope>import</scope>
51       </dependency>
52       <dependency>
53         <groupId>${project.groupId}</groupId>
54         <artifactId>common.unittest.tools</artifactId>
55         <version>${project.version}</version>
56       </dependency>
57       <dependency>
58         <groupId>junit-addons</groupId>
59         <artifactId>junit-addons</artifactId>
60         <version>1.4</version>
61         <scope>test</scope>
62       </dependency>
63       <!--
64       <dependency>
65         <groupId>org.jmock</groupId>
66         <artifactId>jmock</artifactId>
67         <version>2.6.0</version>
68         <scope>test</scope>
69       </dependency>
70       -->
71       <dependency>
72         <groupId>org.opendaylight.neutron</groupId>
73         <artifactId>neutron-spi</artifactId>
74         <version>0.7.0-SNAPSHOT</version>
75       </dependency>
76     </dependencies>
77   </dependencyManagement>
78
79   <dependencies>
80     <dependency>
81       <groupId>org.mockito</groupId>
82       <artifactId>mockito-core</artifactId>
83       <scope>test</scope>
84     </dependency>
85   </dependencies>
86
87   <build>
88     <pluginManagement>
89       <plugins>
90         <plugin>
91           <!-- Temporarily override the odlparent checkstyle configuration.
92                We want to enforce some simple rules and add more as we clean up code -->
93           <artifactId>maven-checkstyle-plugin</artifactId>
94           <configuration>
95             <configLocation>checkstyle/java_rules.xml</configLocation>
96             <includeTestSourceDirectory>true</includeTestSourceDirectory>
97             <excludes>org/opendaylight/yang/gen/**,**/config/yang/**</excludes>
98             <failsOnError>true</failsOnError>
99             <consoleOutput>true</consoleOutput>
100           </configuration>
101           <dependencies>
102             <dependency>
103               <groupId>org.opendaylight.lispflowmapping</groupId>
104               <artifactId>common.build.tools</artifactId>
105               <version>${project.version}</version>
106             </dependency>
107           </dependencies>
108           <executions>
109             <execution>
110               <goals>
111                 <goal>check</goal>
112               </goals>
113               <phase>process-sources</phase>
114             </execution>
115           </executions>
116         </plugin>
117       </plugins>
118     </pluginManagement>
119   </build>
120
121   <!--
122       Maven Site Configuration
123
124       The following configuration is necessary for maven-site-plugin to
125       correctly identify the correct deployment path for OpenDaylight Maven
126       sites.
127   -->
128   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
129
130   <distributionManagement>
131     <site>
132       <id>opendaylight-site</id>
133       <url>${nexus.site.url}/${project.artifactId}/</url>
134     </site>
135   </distributionManagement>
136
137 </project>