Fix sonar integration test reporting
[ovsdb.git] / library / impl / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: --><!--
3 Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
4
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <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">
10
11   <parent>
12     <groupId>org.opendaylight.controller</groupId>
13     <artifactId>config-parent</artifactId>
14     <version>0.4.0-SNAPSHOT</version>
15     <relativePath/>
16   </parent>
17
18   <modelVersion>4.0.0</modelVersion>
19   <groupId>org.opendaylight.ovsdb</groupId>
20   <artifactId>library</artifactId>
21   <version>1.2.1-SNAPSHOT</version>
22   <packaging>bundle</packaging>
23   <properties>
24     <sonar.jacoco.itReportPath>../it/target/jacoco-it.exec</sonar.jacoco.itReportPath>
25   </properties>
26   <dependencies>
27     <dependency>
28       <groupId>com.fasterxml.jackson.core</groupId>
29       <artifactId>jackson-annotations</artifactId>
30     </dependency>
31     <dependency>
32       <groupId>com.fasterxml.jackson.core</groupId>
33       <artifactId>jackson-core</artifactId>
34     </dependency>
35     <dependency>
36       <groupId>com.fasterxml.jackson.core</groupId>
37       <artifactId>jackson-databind</artifactId>
38     </dependency>
39     <dependency>
40       <groupId>org.osgi</groupId>
41       <artifactId>org.osgi.core</artifactId>
42     </dependency>
43     <dependency>
44       <groupId>com.google.guava</groupId>
45       <artifactId>guava</artifactId>
46     </dependency>
47     <dependency>
48       <groupId>io.netty</groupId>
49       <artifactId>netty-all</artifactId>
50       <version>4.0.26.Final</version>
51     </dependency>
52     <dependency>
53       <groupId>org.slf4j</groupId>
54       <artifactId>slf4j-api</artifactId>
55     </dependency>
56     <dependency>
57       <groupId>org.opendaylight.controller</groupId>
58       <artifactId>config-api</artifactId>
59     </dependency>
60     <dependency>
61       <groupId>org.opendaylight.controller</groupId>
62       <artifactId>sal-binding-api</artifactId>
63     </dependency>
64
65     <!-- Testing Dependencies -->
66     <dependency>
67       <groupId>junit</groupId>
68       <artifactId>junit</artifactId>
69       <scope>test</scope>
70     </dependency>
71     <dependency>
72       <groupId>org.slf4j</groupId>
73       <artifactId>slf4j-simple</artifactId>
74       <scope>test</scope>
75     </dependency>
76     <dependency>
77       <groupId>org.mockito</groupId>
78       <artifactId>mockito-all</artifactId>
79       <scope>test</scope>
80     </dependency>
81     <dependency>
82       <groupId>org.codehaus.sonar-plugins.java</groupId>
83       <artifactId>sonar-jacoco-listeners</artifactId>
84       <version>${sonar-jacoco-listeners.version}</version>
85       <scope>test</scope>
86     </dependency>
87   </dependencies>
88
89   <build>
90     <testResources>
91       <testResource>
92         <filtering>true</filtering>
93         <directory>src/test/resources</directory>
94       </testResource>
95     </testResources>
96     <plugins>
97       <plugin>
98         <groupId>org.apache.maven.plugins</groupId>
99         <artifactId>maven-checkstyle-plugin</artifactId>
100       </plugin>
101       <plugin>
102         <groupId>org.apache.maven.plugins</groupId>
103         <artifactId>maven-surefire-plugin</artifactId>
104         <configuration>
105           <properties>
106             <property>
107               <name>listener</name>
108               <value>org.sonar.java.jacoco.JUnitListener</value>
109             </property>
110           </properties>
111         </configuration>
112       </plugin>
113       <plugin>
114         <groupId>org.jacoco</groupId>
115         <artifactId>jacoco-maven-plugin</artifactId>
116       </plugin>
117     </plugins>
118   </build>
119
120 </project>