Resubmitted with source code synchronized. Added integration test for hosttracker...
[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   <groupId>org.opendaylight.controller</groupId>
13   <artifactId>switchmanager.implementation</artifactId>
14   <version>0.4.0-SNAPSHOT</version>
15   <packaging>bundle</packaging>
16
17   <properties>
18     <!-- Sonar properties using jacoco to retrieve integration test results -->
19     <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
20     <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
21     <sonar.jacoco.Reportpath>target/jacobo.exec</sonar.jacoco.Reportpath>
22     <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
23     <sonar.language>java</sonar.language>
24   </properties>
25   <build>
26     <pluginManagement>
27       <plugins>
28         <plugin>
29           <groupId>org.jacoco</groupId>
30           <artifactId>jacoco-maven-plugin</artifactId>
31           <version>0.5.3.201107060350</version>
32         </plugin>
33       </plugins>
34     </pluginManagement>
35     <plugins>
36       <plugin>
37             <groupId>org.apache.felix</groupId>
38             <artifactId>maven-bundle-plugin</artifactId>
39             <version>2.3.6</version>
40             <extensions>true</extensions>
41             <configuration>
42               <instructions>
43                 <Export-Package>
44                 </Export-Package>
45                 <Import-Package>
46                   org.opendaylight.controller.switchmanager,
47                   org.opendaylight.controller.clustering.services,
48               org.opendaylight.controller.configuration,                
49                   org.opendaylight.controller.sal.core,
50               org.opendaylight.controller.sal.utils,
51               org.opendaylight.controller.sal.packet,
52               org.opendaylight.controller.sal.inventory,
53               org.slf4j,
54               org.apache.felix.dm,
55               org.eclipse.osgi.framework.console,
56               org.osgi.framework,
57               javax.xml.bind.annotation,
58               org.apache.commons.lang3.builder
59             </Import-Package>
60             <Bundle-Activator>
61                   org.opendaylight.controller.switchmanager.internal.Activator
62             </Bundle-Activator>
63               </instructions>
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.4.0-SNAPSHOT</version>
105         </dependency>
106         <dependency>
107                 <groupId>org.opendaylight.controller</groupId>
108                 <artifactId>switchmanager</artifactId>
109                 <version>0.4.0-SNAPSHOT</version>
110         </dependency>
111   </dependencies>
112 </project>