Merge "Fix "FileNotFound" error for jacoco.exec and the path to the integration tests."
[controller.git] / opendaylight / switchmanager / implementation / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4   <modelVersion>4.0.0</modelVersion>
5   <parent>
6     <groupId>org.opendaylight.controller</groupId>
7     <artifactId>commons.opendaylight</artifactId>
8     <version>1.4.0-SNAPSHOT</version>
9     <relativePath>../../commons/opendaylight</relativePath>
10   </parent>
11   <scm>
12     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
13     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
14     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>
15   </scm>
16
17   <artifactId>switchmanager.implementation</artifactId>
18   <version>0.4.0-SNAPSHOT</version>
19   <packaging>bundle</packaging>
20
21   <properties>
22     <!-- Sonar properties using jacoco to retrieve integration test results -->
23     <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
24     <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
25     <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
26     <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
27     <sonar.language>java</sonar.language>
28   </properties>
29   <build>
30     <pluginManagement>
31       <plugins>
32         <plugin>
33           <groupId>org.jacoco</groupId>
34           <artifactId>jacoco-maven-plugin</artifactId>
35           <version>${jacoco.version}</version>
36         </plugin>
37       </plugins>
38     </pluginManagement>
39     <plugins>
40       <plugin>
41         <groupId>org.apache.felix</groupId>
42         <artifactId>maven-bundle-plugin</artifactId>
43         <version>2.3.6</version>
44         <extensions>true</extensions>
45         <configuration>
46           <instructions>
47             <Export-Package>
48             </Export-Package>
49             <Import-Package>
50               org.opendaylight.controller.switchmanager,
51               org.opendaylight.controller.clustering.services,
52               org.opendaylight.controller.configuration,
53               org.opendaylight.controller.sal.core,
54               org.opendaylight.controller.sal.utils,
55               org.opendaylight.controller.sal.packet,
56               org.opendaylight.controller.sal.reader,
57               org.opendaylight.controller.sal.inventory,
58               org.opendaylight.controller.statisticsmanager,
59               org.slf4j,
60               org.apache.felix.dm,
61               org.eclipse.osgi.framework.console,
62               org.osgi.framework,
63               org.apache.felix.service.command,
64               javax.xml.bind.annotation,
65               org.apache.commons.lang3.builder
66             </Import-Package>
67             <Bundle-Activator>
68               org.opendaylight.controller.switchmanager.internal.Activator
69             </Bundle-Activator>
70           </instructions>
71           <manifestLocation>${project.basedir}/META-INF</manifestLocation>
72         </configuration>
73       </plugin>
74       <plugin>
75         <groupId>org.jacoco</groupId>
76         <artifactId>jacoco-maven-plugin</artifactId>
77         <configuration>
78           <includes>org.opendaylight.controller.*</includes>
79         </configuration>
80         <executions>
81           <execution>
82             <id>pre-test</id>
83             <goals>
84               <goal>prepare-agent</goal>
85             </goals>
86           </execution>
87           <execution>
88             <id>post-test</id>
89             <phase>test</phase>
90             <goals>
91               <goal>report</goal>
92             </goals>
93           </execution>
94         </executions>
95       </plugin>
96     </plugins>
97   </build>
98   <dependencies>
99     <dependency>
100       <groupId>org.opendaylight.controller</groupId>
101       <artifactId>clustering.services</artifactId>
102       <version>0.4.0-SNAPSHOT</version>
103     </dependency>
104     <dependency>
105       <groupId>org.opendaylight.controller</groupId>
106       <artifactId>configuration</artifactId>
107       <version>0.4.0-SNAPSHOT</version>
108     </dependency>
109     <dependency>
110       <groupId>org.opendaylight.controller</groupId>
111       <artifactId>sal</artifactId>
112       <version>0.5.0-SNAPSHOT</version>
113     </dependency>
114     <dependency>
115       <groupId>org.opendaylight.controller</groupId>
116       <artifactId>switchmanager</artifactId>
117       <version>0.5.0-SNAPSHOT</version>
118     </dependency>
119     <dependency>
120       <groupId>org.opendaylight.controller</groupId>
121       <artifactId>statisticsmanager</artifactId>
122       <version>0.4.0-SNAPSHOT</version>
123     </dependency>
124   </dependencies>
125 </project>