Move 2 jacoco/sonar settings to commons pom for reuse.
[controller.git] / opendaylight / topologymanager / 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.1-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>topologymanager.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.1-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     </dependency>
80
81       <dependency>
82       <groupId>org.opendaylight.controller</groupId>
83       <artifactId>configuration</artifactId>
84       <version>0.4.0-SNAPSHOT</version>
85     </dependency>
86     <dependency>
87       <groupId>org.opendaylight.controller</groupId>
88       <artifactId>configuration.implementation</artifactId>
89       <version>0.4.0-SNAPSHOT</version>
90     </dependency>
91       <dependency>
92       <groupId>org.opendaylight.controller</groupId>
93       <artifactId>hosttracker</artifactId>
94       <version>0.4.0-SNAPSHOT</version>
95     </dependency>
96     <dependency>
97       <groupId>org.opendaylight.controller</groupId>
98       <artifactId>topologymanager</artifactId>
99       <version>0.4.0-SNAPSHOT</version>
100     </dependency>
101   </dependencies>
102   <properties>
103     <!-- Sonar jacoco plugin to get integration test coverage info -->
104     <sonar.jacoco.reportPath>../implementation/target/jacoco.exec</sonar.jacoco.reportPath>
105     <sonar.jacoco.itReportPath>../implementaiton/target/jacoco-it.exec</sonar.jacoco.itReportPath>
106   </properties>
107   <build>
108     <pluginManagement>
109       <plugins>
110         <plugin>
111           <groupId>org.jacoco</groupId>
112           <artifactId>jacoco-maven-plugin</artifactId>
113           <version>0.5.3.201107060350</version>
114         </plugin>
115       </plugins>
116     </pluginManagement>
117     <plugins>
118       <plugin>
119         <groupId>org.jacoco</groupId>
120         <artifactId>jacoco-maven-plugin</artifactId>
121         <version>0.5.3.201107060350</version>
122         <configuration>
123           <destFile>../implementation/target/jacoco-it.exec</destFile>
124           <includes>org.opendaylight.controller.*</includes>
125         </configuration>
126         <executions>
127           <execution>
128             <id>pre-test</id>
129             <goals>
130               <goal>prepare-agent</goal>
131             </goals>
132           </execution>
133           <execution>
134             <id>post-test</id>
135             <configuration>
136               <skip>true</skip>
137             </configuration>
138           </execution>
139         </executions>
140       </plugin>
141     </plugins>
142   </build>
143 </project>