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