Fix FileNotFound jacoco.exec in sal poms and remove duplicate jacoco
[controller.git] / opendaylight / md-sal / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2     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     <groupId>org.opendaylight.controller</groupId>
5     <artifactId>sal-parent</artifactId>
6     <version>1.0-SNAPSHOT</version>
7     <packaging>pom</packaging>
8     <scm>
9         <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
10         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
11         <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
12     </scm>
13
14     <modules>
15         <!--  Common APIs & Implementation -->
16         <module>sal-common</module>
17         <module>sal-common-api</module>
18         <module>sal-common-impl</module>
19         <module>sal-common-util</module>
20
21         <!-- Binding Independent -->
22         <module>sal-dom-api</module>
23         <module>sal-dom-broker</module>
24         <module>sal-dom-spi</module>
25
26         <!-- Binding Aware -->
27         <module>sal-binding-api</module>
28         <module>sal-binding-broker</module>
29         <module>sal-binding-it</module>
30
31         <!-- Samples -->
32         <module>samples</module>
33
34         <!-- Base Models -->
35         <module>model</module>
36
37         <!-- Compability Packages -->
38         <module>sal-compability</module>
39
40         <!-- Connectors -->
41         <module>sal-connector-api</module>
42         <module>sal-rest-connector</module>
43         <module>flow-management-compatibility</module>
44     </modules>
45
46     <properties>
47         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
48         <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
49         <!-- Java Versions -->
50         <maven.compiler.source>1.7</maven.compiler.source>
51         <maven.compiler.target>1.7</maven.compiler.target>
52
53         <!-- Plugin Versions -->
54         <bundle.plugin.version>2.4.0</bundle.plugin.version>
55         <releaseplugin.version>2.3.2</releaseplugin.version>
56
57         <!-- Dependency Versions -->
58         <slf4j.version>1.7.2</slf4j.version>
59         <yang.version>0.5.9-SNAPSHOT</yang.version>
60         <yang.binding.version>0.6.0-SNAPSHOT</yang.binding.version>
61         <yang.codegen.version>0.6.0-SNAPSHOT</yang.codegen.version>
62         <guava.version>14.0.1</guava.version>
63         <osgi.core.version>5.0.0</osgi.core.version>
64         <junit.version>4.8.1</junit.version>
65         <xtend.version>2.4.3</xtend.version>
66         <maven.clean.plugin.version>2.5</maven.clean.plugin.version>
67         <jacoco.version>0.5.3.201107060350</jacoco.version>
68         <!-- Sonar properties using jacoco to retrieve integration test results -->
69         <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
70         <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
71         <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
72         <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
73         <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
74         <sonar.branch>${user.name}-private-view</sonar.branch>
75         <sonar.language>java</sonar.language>
76     </properties>
77
78     <pluginRepositories>
79         <pluginRepository>
80             <id>central</id>
81             <name>maven repo1</name>
82             <url>http://repo1.maven.org/maven2</url>
83             <snapshots>
84                 <enabled>false</enabled>
85             </snapshots>
86             <releases>
87                 <enabled>true</enabled>
88             </releases>
89         </pluginRepository>
90         <pluginRepository>
91             <id>opendaylight-snapshot</id>
92             <name>opendaylight-snapshot</name>
93             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
94         </pluginRepository>
95         <pluginRepository>
96             <id>opendaylight.release</id>
97             <name>opendaylight.release</name>
98             <url>${nexusproxy}/repositories/opendaylight.release/</url>
99         </pluginRepository>
100     </pluginRepositories>
101
102
103     <repositories>
104         <repository>
105             <id>opendaylight-release</id>
106             <name>opendaylight-release</name>
107             <url>${nexusproxy}/repositories/opendaylight.release/</url>
108         </repository>
109         <!-- OpenDayLight Snapshot artifact -->
110         <repository>
111             <id>opendaylight-snapshot</id>
112             <name>opendaylight-snapshot</name>
113             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
114         </repository>
115         <repository>
116             <id>thirdparty</id>
117             <name>thirdparty</name>
118             <url>${nexusproxy}/repositories/thirdparty/</url>
119         </repository>
120         <repository>
121             <id>central</id>
122             <name>central</name>
123             <url>http://repo1.maven.org/maven2</url>
124             <snapshots>
125                 <enabled>false</enabled>
126             </snapshots>
127             <releases>
128                 <enabled>true</enabled>
129             </releases>
130         </repository>
131     </repositories>
132
133     <distributionManagement>
134         <!-- OpenDayLight Released artifact -->
135         <repository>
136             <id>opendaylight-release</id>
137             <url>${nexusproxy}/repositories/opendaylight.release/</url>
138         </repository>
139         <!-- OpenDayLight Snapshot artifact -->
140         <snapshotRepository>
141             <id>opendaylight-snapshot</id>
142             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
143         </snapshotRepository>
144         <!-- Site deployment -->
145         <site>
146             <id>website</id>
147             <url>${sitedeploy}</url>
148         </site>
149     </distributionManagement>
150
151
152     <dependencyManagement>
153         <dependencies>
154
155
156
157
158             <!-- YANG Tools Dependencies -->
159             <dependency>
160                 <groupId>org.opendaylight.yangtools</groupId>
161                 <artifactId>yang-binding</artifactId>
162                 <version>${yang.binding.version}</version>
163             </dependency>
164             <dependency>
165                 <groupId>org.opendaylight.yangtools</groupId>
166                 <artifactId>yang-common</artifactId>
167                 <version>${yang.version}</version>
168             </dependency>
169             <dependency>
170                 <groupId>org.opendaylight.yangtools</groupId>
171                 <artifactId>yang-data-api</artifactId>
172                 <version>${yang.version}</version>
173             </dependency>
174             <dependency>
175                 <groupId>org.opendaylight.yangtools</groupId>
176                 <artifactId>yang-model-api</artifactId>
177                 <version>${yang.version}</version>
178             </dependency>
179             <dependency>
180                 <groupId>org.opendaylight.yangtools</groupId>
181                 <artifactId>yang-data-util</artifactId>
182                 <version>${yang.version}</version>
183             </dependency>
184             <!-- SAL Dependencies -->
185             <dependency>
186                 <groupId>${project.groupId}</groupId>
187                 <artifactId>sal-connector-api</artifactId>
188                 <version>${project.version}</version>
189             </dependency>
190
191             <!-- Supporting Libraries -->
192             <dependency>
193                 <groupId>org.slf4j</groupId>
194                 <artifactId>slf4j-api</artifactId>
195                 <version>${slf4j.version}</version>
196             </dependency>
197             <dependency>
198                 <groupId>com.google.guava</groupId>
199                 <artifactId>guava</artifactId>
200                 <version>${guava.version}</version>
201             </dependency>
202             <dependency>
203                 <groupId>org.eclipse.xtend</groupId>
204                 <artifactId>org.eclipse.xtend.lib</artifactId>
205                 <version>${xtend.version}</version>
206             </dependency>
207
208             <!-- Testing Dependencies -->
209             <dependency>
210                 <groupId>junit</groupId>
211                 <artifactId>junit</artifactId>
212                 <version>${junit.version}</version>
213                 <scope>test</scope>
214             </dependency>
215             <dependency>
216                 <groupId>org.mockito</groupId>
217                 <artifactId>mockito-all</artifactId>
218                 <version>1.9.5</version>
219                 <scope>test</scope>
220             </dependency>
221         </dependencies>
222     </dependencyManagement>
223     <build>
224         <pluginManagement>
225             <plugins>
226                 <plugin>
227                     <groupId>org.apache.maven.plugins</groupId>
228                     <artifactId>maven-release-plugin</artifactId>
229                     <version>${releaseplugin.version}</version>
230                 </plugin>
231                 <plugin>
232                     <groupId>org.apache.felix</groupId>
233                     <artifactId>maven-bundle-plugin</artifactId>
234                     <version>${bundle.plugin.version}</version>
235                     <extensions>true</extensions>
236                     <!--executions>
237                         <execution>
238                             <id>bundle-manifest</id>
239                             <phase>process-classes</phase>
240                             <goals>
241                                 <goal>manifest</goal>
242                             </goals>
243                         </execution>
244                     </executions-->
245                     <configuration>
246                         <instructions>
247                             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
248                         </instructions>
249                         <manifestLocation>${project.basedir}/META-INF</manifestLocation>
250                     </configuration>
251                 </plugin>
252                 <plugin>
253                     <groupId>org.eclipse.xtend</groupId>
254                     <artifactId>xtend-maven-plugin</artifactId>
255                     <version>${xtend.version}</version>
256                     <executions>
257                         <execution>
258                             <goals>
259                                 <goal>compile</goal>
260                             </goals>
261                             <configuration>
262                                 <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
263                             </configuration>
264                         </execution>
265                     </executions>
266                 </plugin>
267                 <plugin>
268                     <artifactId>maven-clean-plugin</artifactId>
269                     <version>${maven.clean.plugin.version}</version>
270                     <configuration>
271                         <filesets>
272                             <fileset>
273                                 <directory>${basedir}/src/main/xtend-gen</directory>
274                                 <includes>
275                                     <include>**</include>
276                                 </includes>
277                             </fileset>
278                         </filesets>
279                     </configuration>
280                 </plugin>
281                 <plugin>
282                     <groupId>org.jacoco</groupId>
283                     <artifactId>jacoco-maven-plugin</artifactId>
284                     <version>${jacoco.version}</version>
285                 </plugin>
286             </plugins>
287         </pluginManagement>
288         <plugins>
289             <plugin>
290                 <groupId>org.apache.felix</groupId>
291                 <artifactId>maven-bundle-plugin</artifactId>
292             </plugin>
293             <plugin>
294                 <groupId>org.apache.maven.plugins</groupId>
295                 <artifactId>maven-jar-plugin</artifactId>
296                 <version>2.4</version>
297             </plugin>
298             <plugin>
299                 <groupId>org.apache.maven.plugins</groupId>
300                 <artifactId>maven-javadoc-plugin</artifactId>
301                 <version>2.8.1</version>
302                 <configuration>
303                     <stylesheet>maven</stylesheet>
304                     <failOnError>false</failOnError>
305                 </configuration>
306                 <executions>
307                     <execution>
308                         <goals>
309                             <goal>aggregate</goal>
310                         </goals>
311                         <phase>site</phase>
312                     </execution>
313                 </executions>
314             </plugin>
315         </plugins>
316     </build>
317     <reporting>
318         <plugins>
319             <plugin>
320                 <groupId>org.codehaus.mojo</groupId>
321                 <artifactId>findbugs-maven-plugin</artifactId>
322                 <version>2.4.0</version>
323                 <configuration>
324                     <effort>Max</effort>
325                     <threshold>Low</threshold>
326                     <goal>site</goal>
327                 </configuration>
328             </plugin>
329             <plugin>
330                 <groupId>org.codehaus.mojo</groupId>
331                 <artifactId>jdepend-maven-plugin</artifactId>
332                 <version>2.0-beta-2</version>
333             </plugin>
334         </plugins>
335     </reporting>
336 </project>