ebaf83fd39a5b5363dce448a84befe6b33fec6d1
[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.configuration,
51               org.opendaylight.controller.sal.core,
52               org.opendaylight.controller.sal.utils,
53               org.opendaylight.controller.sal.packet,
54               org.opendaylight.controller.sal.inventory,
55               org.slf4j,
56               javax.xml.bind.annotation
57             </Import-Package>
58           </instructions>
59           <manifestLocation>${project.basedir}/META-INF</manifestLocation>
60         </configuration>
61       </plugin>
62       <plugin>
63         <groupId>org.jacoco</groupId>
64         <artifactId>jacoco-maven-plugin</artifactId>
65         <configuration>
66           <includes>org.opendaylight.controller.*</includes>
67         </configuration>
68         <executions>
69           <execution>
70             <id>pre-test</id>
71             <goals>
72               <goal>prepare-agent</goal>
73             </goals>
74           </execution>
75           <execution>
76             <id>post-test</id>
77             <phase>test</phase>
78             <goals>
79               <goal>report</goal>
80             </goals>
81           </execution>
82         </executions>
83       </plugin>
84     </plugins>
85   </build>
86   <dependencies>
87     <dependency>
88       <groupId>org.opendaylight.controller</groupId>
89       <artifactId>configuration</artifactId>
90     </dependency>
91     <dependency>
92       <groupId>org.opendaylight.controller</groupId>
93       <artifactId>sal</artifactId>
94     </dependency>
95     <dependency>
96       <groupId>junit</groupId>
97       <artifactId>junit</artifactId>
98       <scope>test</scope>
99     </dependency>
100   </dependencies>
101 </project>