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