55d3a3286d5a712ec68c374e9cdef6f8b56a3a01
[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             </configuration>
64       </plugin>
65       <plugin>
66         <groupId>org.jacoco</groupId>
67         <artifactId>jacoco-maven-plugin</artifactId>
68         <configuration>
69           <includes>org.opendaylight.controller.*</includes>
70         </configuration>
71         <executions>
72           <execution>
73             <id>pre-test</id>
74             <goals>
75               <goal>prepare-agent</goal>
76             </goals>
77           </execution>
78           <execution>
79             <id>post-test</id>
80             <phase>test</phase>
81             <goals>
82               <goal>report</goal>
83             </goals>
84           </execution>
85         </executions>
86       </plugin>
87     </plugins>
88   </build>
89   <dependencies>
90         <dependency>
91           <groupId>org.opendaylight.controller</groupId>
92           <artifactId>clustering.services</artifactId>
93           <version>0.4.0-SNAPSHOT</version>
94         </dependency>
95     <dependency>
96       <groupId>org.opendaylight.controller</groupId>
97       <artifactId>configuration</artifactId>
98       <version>0.4.0-SNAPSHOT</version>
99     </dependency>       
100         <dependency>
101                 <groupId>org.opendaylight.controller</groupId>
102                 <artifactId>sal</artifactId>
103                 <version>0.5.0-SNAPSHOT</version>
104         </dependency>
105         <dependency>
106                 <groupId>org.opendaylight.controller</groupId>
107                 <artifactId>switchmanager</artifactId>
108                 <version>0.4.0-SNAPSHOT</version>
109         </dependency>
110   </dependencies>
111 </project>