28bb6f274c791e94ca4c43f5202d43159f13d170
[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
12   <artifactId>switchmanager.implementation</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             </Export-Package>
44             <Import-Package>
45               org.opendaylight.controller.switchmanager,
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             <Bundle-Activator>
60               org.opendaylight.controller.switchmanager.internal.Activator
61             </Bundle-Activator>
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>org.opendaylight.controller.*</includes>
71         </configuration>
72         <executions>
73           <execution>
74             <id>pre-test</id>
75             <goals>
76               <goal>prepare-agent</goal>
77             </goals>
78           </execution>
79           <execution>
80             <id>post-test</id>
81             <phase>test</phase>
82             <goals>
83               <goal>report</goal>
84             </goals>
85           </execution>
86         </executions>
87       </plugin>
88     </plugins>
89   </build>
90   <dependencies>
91     <dependency>
92       <groupId>org.opendaylight.controller</groupId>
93       <artifactId>clustering.services</artifactId>
94       <version>0.4.0-SNAPSHOT</version>
95     </dependency>
96     <dependency>
97       <groupId>org.opendaylight.controller</groupId>
98       <artifactId>configuration</artifactId>
99       <version>0.4.0-SNAPSHOT</version>
100     </dependency>
101     <dependency>
102       <groupId>org.opendaylight.controller</groupId>
103       <artifactId>sal</artifactId>
104       <version>0.5.0-SNAPSHOT</version>
105     </dependency>
106     <dependency>
107       <groupId>org.opendaylight.controller</groupId>
108       <artifactId>switchmanager</artifactId>
109       <version>0.5.0-SNAPSHOT</version>
110     </dependency>
111   </dependencies>
112 </project>