91f91f92a492b0c9f61c8de28fa2a685faa6f4d4
[controller.git] / opendaylight / switchmanager / api / 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
12   <artifactId>switchmanager</artifactId>
13   <version>0.4.0-SNAPSHOT</version>
14   <packaging>bundle</packaging>
15
16   <properties>
17     <!-- Sonar properties using jacoco to retrieve integration test results -->
18     <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
19     <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
20     <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
21     <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
22     <sonar.language>java</sonar.language>
23   </properties>
24   <build>
25     <pluginManagement>
26       <plugins>
27         <plugin>
28           <groupId>org.jacoco</groupId>
29           <artifactId>jacoco-maven-plugin</artifactId>
30           <version>0.5.3.201107060350</version>
31         </plugin>
32       </plugins>
33     </pluginManagement>
34     <plugins>
35       <plugin>
36             <groupId>org.apache.felix</groupId>
37             <artifactId>maven-bundle-plugin</artifactId>
38             <version>2.3.6</version>
39             <extensions>true</extensions>
40             <configuration>
41               <instructions>
42                 <Export-Package>
43                   org.opendaylight.controller.switchmanager
44                 </Export-Package>
45                 <Import-Package>
46                   org.opendaylight.controller.clustering.services,
47               org.opendaylight.controller.configuration,                
48                   org.opendaylight.controller.sal.core,
49               org.opendaylight.controller.sal.utils,
50               org.opendaylight.controller.sal.packet,
51               org.opendaylight.controller.sal.inventory,
52               org.slf4j,
53               org.apache.felix.dm,
54               org.eclipse.osgi.framework.console,
55               org.osgi.framework,
56               javax.xml.bind.annotation,
57               org.apache.commons.lang3.builder
58             </Import-Package>
59               </instructions>
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>clustering.services</artifactId>
90           <version>0.4.0-SNAPSHOT</version>
91         </dependency>
92     <dependency>
93       <groupId>org.opendaylight.controller</groupId>
94       <artifactId>configuration</artifactId>
95       <version>0.4.0-SNAPSHOT</version>
96     </dependency>       
97         <dependency>
98                 <groupId>org.opendaylight.controller</groupId>
99                 <artifactId>sal</artifactId>
100                 <version>0.5.0-SNAPSHOT</version>
101         </dependency>
102   </dependencies>
103 </project>