Revert "Remove declaring jacoco plugin twice in integrationtests pom.xml files -...
[controller.git] / opendaylight / statisticsmanager / integrationtest / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project
3   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
4   xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
5   <modelVersion>4.0.0</modelVersion>
6   <parent>
7     <groupId>org.opendaylight.controller</groupId>
8     <artifactId>commons.integrationtest</artifactId>
9     <version>0.5.0-SNAPSHOT</version>
10     <relativePath>../../commons/integrationtest</relativePath>
11   </parent>
12   <scm>
13     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
14     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
15     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>
16   </scm>
17
18   <artifactId>statisticsmanager.integrationtest</artifactId>
19   <version>0.4.0-SNAPSHOT</version>
20   <dependencies>
21     <dependency>
22       <groupId>org.opendaylight.controller</groupId>
23       <artifactId>protocol_plugins.stub</artifactId>
24       <version>0.4.0-SNAPSHOT</version>
25     </dependency>
26     <dependency>
27       <groupId>org.opendaylight.controller</groupId>
28       <artifactId>sal</artifactId>
29       <version>0.5.0-SNAPSHOT</version>
30     </dependency>
31      <dependency>
32       <groupId>org.opendaylight.controller</groupId>
33       <artifactId>sal.implementation</artifactId>
34       <version>0.4.0-SNAPSHOT</version>
35     </dependency>
36     <dependency>
37       <groupId>org.opendaylight.controller</groupId>
38       <artifactId>containermanager</artifactId>
39       <version>0.5.0-SNAPSHOT</version>
40     </dependency>
41     <dependency>
42       <groupId>org.opendaylight.controller</groupId>
43       <artifactId>containermanager.it.implementation</artifactId>
44       <version>0.5.0-SNAPSHOT</version>
45     </dependency>
46     <dependency>
47       <groupId>org.opendaylight.controller</groupId>
48       <artifactId>forwardingrulesmanager</artifactId>
49       <version>0.4.0-SNAPSHOT</version>
50     </dependency>
51     <dependency>
52       <groupId>org.opendaylight.controller</groupId>
53       <artifactId>clustering.services</artifactId>
54       <version>0.4.0-SNAPSHOT</version>
55     </dependency>
56     <dependency>
57       <groupId>org.opendaylight.controller</groupId>
58       <artifactId>clustering.stub</artifactId>
59       <version>0.4.0-SNAPSHOT</version>
60     </dependency>
61     <dependency>
62       <groupId>org.opendaylight.controller</groupId>
63       <artifactId>statisticsmanager</artifactId>
64       <version>0.4.0-SNAPSHOT</version>
65     </dependency>
66     <dependency>
67       <groupId>org.opendaylight.controller</groupId>
68       <artifactId>statisticsmanager.implementation</artifactId>
69       <version>0.4.0-SNAPSHOT</version>
70     </dependency>
71     <dependency>
72       <groupId>org.opendaylight.controller</groupId>
73       <artifactId>switchmanager.implementation</artifactId>
74       <version>0.4.0-SNAPSHOT</version>
75     </dependency>
76     <dependency>
77       <groupId>org.opendaylight.controller</groupId>
78       <artifactId>switchmanager</artifactId>
79       <version>0.5.0-SNAPSHOT</version>
80     </dependency>
81
82       <dependency>
83       <groupId>org.opendaylight.controller</groupId>
84       <artifactId>configuration</artifactId>
85       <version>0.4.0-SNAPSHOT</version>
86     </dependency>
87     <dependency>
88       <groupId>org.opendaylight.controller</groupId>
89       <artifactId>configuration.implementation</artifactId>
90       <version>0.4.0-SNAPSHOT</version>
91     </dependency>
92       <dependency>
93       <groupId>org.opendaylight.controller</groupId>
94       <artifactId>hosttracker</artifactId>
95       <version>0.4.0-SNAPSHOT</version>
96     </dependency>
97     <dependency>
98       <groupId>org.opendaylight.controller</groupId>
99       <artifactId>topologymanager</artifactId>
100       <version>0.4.0-SNAPSHOT</version>
101     </dependency>
102   </dependencies>
103   <properties>
104     <!-- Sonar jacoco plugin to get integration test coverage info -->
105     <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
106     <sonar.jacoco.reportPath>../implementation/target/jacoco.exec</sonar.jacoco.reportPath>
107     <sonar.jacoco.itReportPath>../implementaiton/target/jacoco-it.exec</sonar.jacoco.itReportPath>
108     <sonar.language>java</sonar.language>
109   </properties>
110   <build>
111     <pluginManagement>
112       <plugins>
113         <plugin>
114           <groupId>org.jacoco</groupId>
115           <artifactId>jacoco-maven-plugin</artifactId>
116           <version>0.5.3.201107060350</version>
117         </plugin>
118       </plugins>
119     </pluginManagement>
120     <plugins>
121       <plugin>
122         <groupId>org.jacoco</groupId>
123         <artifactId>jacoco-maven-plugin</artifactId>
124         <version>0.5.3.201107060350</version>
125         <configuration>
126           <destFile>../implementation/target/jacoco-it.exec</destFile>
127           <includes>org.opendaylight.controller.*</includes>
128         </configuration>
129         <executions>
130           <execution>
131             <id>pre-test</id>
132             <goals>
133               <goal>prepare-agent</goal>
134             </goals>
135           </execution>
136           <execution>
137             <id>post-test</id>
138             <configuration>
139               <skip>true</skip>
140             </configuration>
141           </execution>
142         </executions>
143       </plugin>
144     </plugins>
145   </build>
146 </project>