Move 2 jacoco/sonar settings to commons pom for reuse.
[controller.git] / opendaylight / hosttracker / integrationtest / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3   <modelVersion>4.0.0</modelVersion>
4   <parent>
5     <groupId>org.opendaylight.controller</groupId>
6     <artifactId>commons.integrationtest</artifactId>
7     <version>0.5.1-SNAPSHOT</version>
8     <relativePath>../../commons/integrationtest</relativePath>
9   </parent>
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:Main</url>
14     <tag>HEAD</tag>
15   </scm>
16
17   <artifactId>hosttracker.integrationtest</artifactId>
18   <version>0.4.1-SNAPSHOT</version>
19
20   <dependencies>
21     <dependency>
22       <groupId>org.opendaylight.controller</groupId>
23       <artifactId>hosttracker</artifactId>
24       <version>0.4.1-SNAPSHOT</version>
25     </dependency>
26     <dependency>
27       <groupId>org.opendaylight.controller</groupId>
28       <artifactId>hosttracker.implementation</artifactId>
29       <version>0.4.1-SNAPSHOT</version>
30     </dependency>
31     <dependency>
32       <groupId>org.opendaylight.controller</groupId>
33       <artifactId>sal</artifactId>
34       <version>0.5.1-SNAPSHOT</version>
35     </dependency>
36     <dependency>
37       <groupId>org.opendaylight.controller</groupId>
38       <artifactId>sal.implementation</artifactId>
39       <version>0.4.1-SNAPSHOT</version>
40     </dependency>
41     <dependency>
42       <groupId>org.opendaylight.controller</groupId>
43       <artifactId>containermanager</artifactId>
44       <version>0.5.1-SNAPSHOT</version>
45     </dependency>
46
47     <dependency>
48       <groupId>org.opendaylight.controller</groupId>
49       <artifactId>containermanager.it.implementation</artifactId>
50       <version>0.5.1-SNAPSHOT</version>
51     </dependency>
52
53     <dependency>
54       <groupId>org.opendaylight.controller</groupId>
55       <artifactId>arphandler</artifactId>
56       <version>0.4.1-SNAPSHOT</version>
57     </dependency>
58     <dependency>
59       <groupId>org.opendaylight.controller</groupId>
60       <artifactId>clustering.services</artifactId>
61       <version>0.4.1-SNAPSHOT</version>
62     </dependency>
63
64     <dependency>
65       <groupId>org.opendaylight.controller</groupId>
66       <artifactId>clustering.stub</artifactId>
67       <version>0.4.1-SNAPSHOT</version>
68     </dependency>
69
70     <dependency>
71       <groupId>org.opendaylight.controller</groupId>
72       <artifactId>switchmanager</artifactId>
73     </dependency>
74     <dependency>
75       <groupId>org.opendaylight.controller</groupId>
76       <artifactId>switchmanager.implementation</artifactId>
77       <version>0.4.1-SNAPSHOT</version>
78     </dependency>
79     <dependency>
80       <groupId>org.opendaylight.controller</groupId>
81       <artifactId>configuration</artifactId>
82       <version>0.4.1-SNAPSHOT</version>
83     </dependency>
84
85     <dependency>
86       <groupId>org.opendaylight.controller</groupId>
87       <artifactId>configuration.implementation</artifactId>
88       <version>0.4.1-SNAPSHOT</version>
89     </dependency>
90
91     <dependency>
92       <groupId>org.opendaylight.controller</groupId>
93       <artifactId>topologymanager</artifactId>
94       <version>0.4.1-SNAPSHOT</version>
95     </dependency>
96     <dependency>
97       <groupId>junit</groupId>
98       <artifactId>junit</artifactId>
99     </dependency>
100     <!-- Add Pax Exam -->
101     <dependency>
102       <groupId>org.ops4j.pax.exam</groupId>
103       <artifactId>pax-exam-container-native</artifactId>
104       <scope>test</scope>
105     </dependency>
106     <dependency>
107       <groupId>org.ops4j.pax.exam</groupId>
108       <artifactId>pax-exam-junit4</artifactId>
109       <scope>test</scope>
110     </dependency>
111     <dependency>
112       <groupId>org.ops4j.pax.exam</groupId>
113       <artifactId>pax-exam-link-mvn</artifactId>
114       <scope>test</scope>
115     </dependency>
116     <dependency>
117       <groupId>org.ops4j.pax.url</groupId>
118       <artifactId>pax-url-aether</artifactId>
119       <scope>test</scope>
120     </dependency>
121     <dependency>
122       <groupId>org.slf4j</groupId>
123       <artifactId>log4j-over-slf4j</artifactId>
124     </dependency>
125     <dependency>
126        <groupId>ch.qos.logback</groupId>
127        <artifactId>logback-core</artifactId>
128      </dependency>
129      <dependency>
130        <groupId>ch.qos.logback</groupId>
131        <artifactId>logback-classic</artifactId>
132      </dependency>
133   </dependencies>
134   <properties>
135     <!-- Sonar jacoco plugin to get integration test coverage info -->
136     <sonar.jacoco.reportPath>../implementation/target/jacoco.exec</sonar.jacoco.reportPath>
137     <sonar.jacoco.itReportPath>../implementaiton/target/jacoco-it.exec</sonar.jacoco.itReportPath>
138   </properties>
139
140   <build>
141     <pluginManagement>
142       <plugins>
143         <plugin>
144           <groupId>org.jacoco</groupId>
145           <artifactId>jacoco-maven-plugin</artifactId>
146           <version>0.5.3.201107060350</version>
147         </plugin>
148       </plugins>
149     </pluginManagement>
150     <plugins>
151       <plugin>
152         <groupId>org.jacoco</groupId>
153         <artifactId>jacoco-maven-plugin</artifactId>
154         <version>${jacoco.version}</version>
155         <configuration>
156           <destFile>../implementation/target/jacoco-it.exec</destFile>
157           <includes>org.opendaylight.controller.*</includes>
158         </configuration>
159         <executions>
160           <execution>
161             <id>pre-test</id>
162             <goals>
163               <goal>prepare-agent</goal>
164             </goals>
165           </execution>
166           <execution>
167             <id>post-test</id>
168             <configuration>
169               <skip>true</skip>
170             </configuration>
171           </execution>
172         </executions>
173       </plugin>
174     </plugins>
175   </build>
176 </project>