Merge "BUG-472: fix integration test breakage"
[controller.git] / opendaylight / switchmanager / api / 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>switchmanager</artifactId>
12   <version>0.7.1-SNAPSHOT</version>
13   <packaging>bundle</packaging>
14
15   <properties>
16     <!-- Sonar properties using jacoco to retrieve integration test results -->
17     <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
18     <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
19     <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
20   </properties>
21   <dependencies>
22     <dependency>
23       <groupId>org.opendaylight.controller</groupId>
24       <artifactId>configuration</artifactId>
25     </dependency>
26     <dependency>
27       <groupId>org.opendaylight.controller</groupId>
28       <artifactId>sal</artifactId>
29     </dependency>
30     <dependency>
31       <groupId>junit</groupId>
32       <artifactId>junit</artifactId>
33       <scope>test</scope>
34     </dependency>
35   </dependencies>
36   <build>
37     <pluginManagement>
38       <plugins>
39         <plugin>
40           <groupId>org.jacoco</groupId>
41           <artifactId>jacoco-maven-plugin</artifactId>
42           <version>${jacoco.version}</version>
43         </plugin>
44       </plugins>
45     </pluginManagement>
46     <plugins>
47       <plugin>
48         <groupId>org.apache.felix</groupId>
49         <artifactId>maven-bundle-plugin</artifactId>
50         <version>${bundle.plugin.version}</version>
51         <extensions>true</extensions>
52         <configuration>
53           <instructions>
54             <Export-Package>org.opendaylight.controller.switchmanager</Export-Package>
55             <Import-Package>org.opendaylight.controller.configuration,
56               org.opendaylight.controller.sal.core,
57               org.opendaylight.controller.sal.utils,
58               org.opendaylight.controller.sal.packet,
59               org.opendaylight.controller.sal.inventory,
60               org.slf4j,
61               javax.xml.bind.annotation</Import-Package>
62           </instructions>
63           <manifestLocation>${project.basedir}/META-INF</manifestLocation>
64         </configuration>
65       </plugin>
66       <plugin>
67         <groupId>org.jacoco</groupId>
68         <artifactId>jacoco-maven-plugin</artifactId>
69         <configuration>
70           <includes>
71             <include>org.opendaylight.controller.*</include>
72           </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             <goals>
84               <goal>report</goal>
85             </goals>
86             <phase>test</phase>
87           </execution>
88         </executions>
89       </plugin>
90     </plugins>
91   </build>
92   <scm>
93     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
94     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
95     <tag>HEAD</tag>
96     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>
97   </scm>
98 </project>