Move 2 jacoco/sonar settings to commons pom for reuse.
[controller.git] / opendaylight / statisticsmanager / implementation / 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.opendaylight</artifactId>
7     <version>1.4.1-SNAPSHOT</version>
8     <relativePath>../../commons/opendaylight</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>statisticsmanager.implementation</artifactId>
18   <version>0.4.1-SNAPSHOT</version>
19   <packaging>bundle</packaging>
20   <properties>
21     <!-- Sonar properties using jacoco to retrieve integration test results -->
22     <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
23     <sonar.jacoco.reportpath>target/jacoco.exec</sonar.jacoco.reportpath>
24     <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
25   </properties>
26   <build>
27     <pluginManagement>
28       <plugins>
29         <plugin>
30           <groupId>org.jacoco</groupId>
31           <artifactId>jacoco-maven-plugin</artifactId>
32           <version>${jacoco.version}</version>
33         </plugin>
34       </plugins>
35     </pluginManagement>
36     <plugins>
37       <plugin>
38         <groupId>org.apache.felix</groupId>
39         <artifactId>maven-bundle-plugin</artifactId>
40         <version>${bundle.plugin.version}</version>
41         <extensions>true</extensions>
42         <configuration>
43           <instructions>
44             <Import-Package>
45               org.opendaylight.controller.clustering.services,
46               org.opendaylight.controller.containermanager,
47               org.opendaylight.controller.sal.core,
48               org.opendaylight.controller.sal.flowprogrammer,
49               org.opendaylight.controller.sal.reader,
50               org.opendaylight.controller.sal.utils,
51               org.slf4j,
52               org.opendaylight.controller.sal.inventory,
53               org.opendaylight.controller.sal.match,
54               org.opendaylight.controller.switchmanager,
55               org.opendaylight.controller.statisticsmanager,
56               org.opendaylight.controller.forwardingrulesmanager,
57               org.apache.felix.dm
58             </Import-Package>
59             <Bundle-Activator>
60               org.opendaylight.controller.statisticsmanager.internal.Activator
61             </Bundle-Activator>
62             <Export-Package>
63             </Export-Package>
64           </instructions>
65           <manifestLocation>${project.basedir}/META-INF</manifestLocation>
66         </configuration>
67       </plugin>
68       <plugin>
69         <groupId>org.jacoco</groupId>
70         <artifactId>jacoco-maven-plugin</artifactId>
71         <configuration>
72           <includes>org.opendaylight.controller.*</includes>
73         </configuration>
74         <executions>
75           <execution>
76             <id>pre-test</id>
77             <goals>
78               <goal>prepare-agent</goal>
79             </goals>
80           </execution>
81           <execution>
82             <id>post-test</id>
83             <phase>test</phase>
84             <goals>
85               <goal>report</goal>
86             </goals>
87           </execution>
88         </executions>
89       </plugin>
90     </plugins>
91   </build>
92   <dependencies>
93     <dependency>
94       <groupId>org.opendaylight.controller</groupId>
95       <artifactId>statisticsmanager</artifactId>
96       <version>0.4.1-SNAPSHOT</version>
97     </dependency>
98     <dependency>
99       <groupId>org.opendaylight.controller</groupId>
100       <artifactId>sal</artifactId>
101       <version>0.5.1-SNAPSHOT</version>
102     </dependency>
103     <dependency>
104       <groupId>org.opendaylight.controller</groupId>
105       <artifactId>containermanager</artifactId>
106       <version>0.5.1-SNAPSHOT</version>
107     </dependency>
108     <dependency>
109       <groupId>org.opendaylight.controller</groupId>
110       <artifactId>forwardingrulesmanager</artifactId>
111       <version>0.4.1-SNAPSHOT</version>
112     </dependency>
113     <dependency>
114       <groupId>org.opendaylight.controller</groupId>
115       <artifactId>clustering.services</artifactId>
116       <version>0.4.1-SNAPSHOT</version>
117     </dependency>
118     <dependency>
119       <groupId>junit</groupId>
120       <artifactId>junit</artifactId>
121     </dependency>
122   </dependencies>
123 </project>