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