Fix FileNotFound jacoco.exec in sal poms and remove duplicate jacoco
[controller.git] / opendaylight / md-sal / sal-binding-it / 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   <parent>
5     <artifactId>sal-parent</artifactId>
6     <groupId>org.opendaylight.controller</groupId>
7     <version>1.0-SNAPSHOT</version>
8   </parent>
9   <artifactId>sal-binding-it</artifactId>
10   <scm>
11     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
12     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
13     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
14   </scm>
15
16   <properties>
17     <exam.version>3.0.0</exam.version>
18     <url.version>1.5.0</url.version>
19     <!-- Sonar jacoco plugin to get integration test coverage info -->
20     <sonar.jacoco.reportPath>../sal-binding-broker/target/jacoco.exec</sonar.jacoco.reportPath>
21     <sonar.jacoco.itReportPath>../sal-binding-broker/target/jacoco-it.exec</sonar.jacoco.itReportPath>
22   </properties>
23
24   <build>
25     <plugins>
26       <plugin>
27         <groupId>org.ops4j.pax.exam</groupId>
28         <artifactId>maven-paxexam-plugin</artifactId>
29         <version>1.2.4</version>
30         <executions>
31           <execution>
32             <id>generate-config</id>
33             <goals>
34               <goal>generate-depends-file</goal>
35             </goals>
36           </execution>
37         </executions>
38       </plugin>
39       <plugin>
40            <groupId>org.jacoco</groupId>
41            <artifactId>jacoco-maven-plugin</artifactId>
42            <configuration>
43              <includes>org.opendaylight.controller.*</includes>
44            </configuration>
45            <executions>
46              <execution>
47                <id>pre-test</id>
48                <goals>
49                  <goal>prepare-agent</goal>
50                </goals>
51              </execution>
52              <execution>
53                <id>post-test</id>
54                <phase>test</phase>
55                <goals>
56                  <goal>report</goal>
57                </goals>
58              </execution>
59            </executions>
60      </plugin>
61     </plugins>
62     <pluginManagement>
63       <plugins>
64         <!--This plugin's configuration is used to store Eclipse m2e settings
65           only. It has no influence on the Maven build itself. -->
66         <plugin>
67           <groupId>org.eclipse.m2e</groupId>
68           <artifactId>lifecycle-mapping</artifactId>
69           <version>1.0.0</version>
70           <configuration>
71             <lifecycleMappingMetadata>
72               <pluginExecutions>
73                 <pluginExecution>
74                   <pluginExecutionFilter>
75                     <groupId>
76                       org.ops4j.pax.exam
77                     </groupId>
78                     <artifactId>
79                       maven-paxexam-plugin
80                     </artifactId>
81                     <versionRange>
82                       [1.2.4,)
83                     </versionRange>
84                     <goals>
85                       <goal>
86                         generate-depends-file
87                       </goal>
88                     </goals>
89                   </pluginExecutionFilter>
90                   <action>
91                     <ignore></ignore>
92                   </action>
93                 </pluginExecution>
94               </pluginExecutions>
95             </lifecycleMappingMetadata>
96           </configuration>
97         </plugin>
98         <plugin>
99           <groupId>org.jacoco</groupId>
100           <artifactId>jacoco-maven-plugin</artifactId>
101           <version>${jacoco.version}</version>
102           <configuration>
103             <destFile>../sal-binding-broker/target/jacoco-it.exec</destFile>
104             <includes>org.opendaylight.controller.*</includes>
105           </configuration>
106           <executions>
107             <execution>
108               <id>pre-test</id>
109               <goals>
110                 <goal>prepare-agent</goal>
111               </goals>
112             </execution>
113             <execution>
114               <id>post-test</id>
115               <configuration>
116                 <skip>true</skip>
117               </configuration>
118             </execution>
119           </executions>
120         </plugin>
121       </plugins>
122     </pluginManagement>
123   </build>
124
125   <dependencies>
126     <dependency>
127       <groupId>org.opendaylight.yangtools.thirdparty</groupId>
128       <artifactId>xtend-lib-osgi</artifactId>
129       <version>2.4.3</version>
130       <scope>test</scope>
131     </dependency>
132     <dependency>
133       <groupId>org.opendaylight.controller</groupId>
134       <artifactId>sal-binding-broker-impl</artifactId>
135       <version>1.0-SNAPSHOT</version>
136       <scope>provided</scope>
137     </dependency>
138     <dependency>
139       <groupId>org.ops4j.pax.exam</groupId>
140       <artifactId>pax-exam-container-native</artifactId>
141       <version>${exam.version}</version>
142       <scope>test</scope>
143     </dependency>
144     <dependency>
145       <groupId>org.ops4j.pax.exam</groupId>
146       <artifactId>pax-exam-junit4</artifactId>
147       <version>${exam.version}</version>
148       <scope>test</scope>
149     </dependency>
150     <dependency>
151       <groupId>org.ops4j.pax.exam</groupId>
152       <artifactId>pax-exam</artifactId>
153       <version>${exam.version}</version>
154       <!--  Compile scope here is intentional, it is used
155             in TestHelper class which could be downloaded
156             via nexus and reused in other integration tests.
157       -->
158       <scope>compile</scope>
159     </dependency>
160     <dependency>
161       <groupId>org.ops4j.pax.exam</groupId>
162       <artifactId>pax-exam-link-mvn</artifactId>
163       <version>${exam.version}</version>
164       <scope>test</scope>
165     </dependency>
166     <dependency>
167       <groupId>equinoxSDK381</groupId>
168       <artifactId>org.eclipse.osgi</artifactId>
169       <version>3.8.1.v20120830-144521</version>
170       <scope>test</scope>
171     </dependency>
172     <dependency>
173       <groupId>org.slf4j</groupId>
174       <artifactId>log4j-over-slf4j</artifactId>
175       <version>1.7.2</version>
176     </dependency>
177     <dependency>
178       <groupId>ch.qos.logback</groupId>
179       <artifactId>logback-core</artifactId>
180       <version>1.0.9</version>
181     </dependency>
182     <dependency>
183       <groupId>ch.qos.logback</groupId>
184       <artifactId>logback-classic</artifactId>
185       <version>1.0.9</version>
186     </dependency>
187     <dependency>
188       <groupId>org.mockito</groupId>
189       <artifactId>mockito-all</artifactId>
190       <scope>test</scope>
191     </dependency>
192     <dependency>
193       <groupId>org.opendaylight.controller.model</groupId>
194       <artifactId>model-flow-service</artifactId>
195       <version>1.0-SNAPSHOT</version>
196       <scope>provided</scope>
197     </dependency>
198         <dependency>
199       <groupId>org.opendaylight.controller.model</groupId>
200       <artifactId>model-flow-management</artifactId>
201       <version>1.0-SNAPSHOT</version>
202       <scope>provided</scope>
203     </dependency>
204   </dependencies>
205 </project>