a4e96dd6a03d0339b46c97a0b2759d17b2b71e07
[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"
3   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4   <modelVersion>4.0.0</modelVersion>
5   <parent>
6     <groupId>org.opendaylight.controller</groupId>
7     <artifactId>commons.opendaylight</artifactId>
8     <version>1.4.1-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     <tag>HEAD</tag>
16   </scm>
17
18   <artifactId>switchmanager</artifactId>
19   <version>0.7.0-SNAPSHOT</version>
20   <packaging>bundle</packaging>
21
22   <properties>
23     <!-- Sonar properties using jacoco to retrieve integration test results -->
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   </properties>
28   <build>
29     <pluginManagement>
30       <plugins>
31         <plugin>
32           <groupId>org.jacoco</groupId>
33           <artifactId>jacoco-maven-plugin</artifactId>
34           <version>${jacoco.version}</version>
35         </plugin>
36       </plugins>
37     </pluginManagement>
38     <plugins>
39       <plugin>
40         <groupId>org.apache.felix</groupId>
41         <artifactId>maven-bundle-plugin</artifactId>
42         <version>${bundle.plugin.version}</version>
43         <extensions>true</extensions>
44         <configuration>
45           <instructions>
46             <Export-Package>
47               org.opendaylight.controller.switchmanager
48             </Export-Package>
49             <Import-Package>
50               org.opendaylight.controller.clustering.services,
51               org.opendaylight.controller.configuration,
52               org.opendaylight.controller.sal.core,
53               org.opendaylight.controller.sal.utils,
54               org.opendaylight.controller.sal.packet,
55               org.opendaylight.controller.sal.inventory,
56               org.slf4j,
57               org.apache.felix.dm,
58               org.eclipse.osgi.framework.console,
59               org.osgi.framework,
60               javax.xml.bind.annotation,
61               org.apache.commons.lang3.builder
62             </Import-Package>
63           </instructions>
64           <manifestLocation>${project.basedir}/META-INF</manifestLocation>
65         </configuration>
66       </plugin>
67       <plugin>
68         <groupId>org.jacoco</groupId>
69         <artifactId>jacoco-maven-plugin</artifactId>
70         <configuration>
71           <includes>org.opendaylight.controller.*</includes>
72         </configuration>
73         <executions>
74           <execution>
75             <id>pre-test</id>
76             <goals>
77               <goal>prepare-agent</goal>
78             </goals>
79           </execution>
80           <execution>
81             <id>post-test</id>
82             <phase>test</phase>
83             <goals>
84               <goal>report</goal>
85             </goals>
86           </execution>
87         </executions>
88       </plugin>
89     </plugins>
90   </build>
91   <dependencies>
92     <dependency>
93       <groupId>org.opendaylight.controller</groupId>
94       <artifactId>clustering.services</artifactId>
95       <version>0.5.0-SNAPSHOT</version>
96     </dependency>
97     <dependency>
98       <groupId>org.opendaylight.controller</groupId>
99       <artifactId>configuration</artifactId>
100       <version>0.4.1-SNAPSHOT</version>
101     </dependency>
102     <dependency>
103       <groupId>org.opendaylight.controller</groupId>
104       <artifactId>sal</artifactId>
105       <version>0.7.0-SNAPSHOT</version>
106     </dependency>
107     <dependency>
108       <groupId>junit</groupId>
109       <artifactId>junit</artifactId>
110       <scope>test</scope>
111     </dependency>
112   </dependencies>
113 </project>