Reworked pom files
[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.5.1-SNAPSHOT</version>
20   <packaging>bundle</packaging>
21
22   <properties>
23     <!-- Sonar properties using jacoco to retrieve integration test results -->
24     <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
25     <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
26     <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
27     <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
28     <sonar.language>java</sonar.language>
29   </properties>
30   <build>
31     <pluginManagement>
32       <plugins>
33         <plugin>
34           <groupId>org.jacoco</groupId>
35           <artifactId>jacoco-maven-plugin</artifactId>
36           <version>${jacoco.version}</version>
37         </plugin>
38       </plugins>
39     </pluginManagement>
40     <plugins>
41       <plugin>
42         <groupId>org.apache.felix</groupId>
43         <artifactId>maven-bundle-plugin</artifactId>
44         <version>${bundle.plugin.version}</version>
45         <extensions>true</extensions>
46         <configuration>
47           <instructions>
48             <Export-Package>
49               org.opendaylight.controller.switchmanager
50             </Export-Package>
51             <Import-Package>
52               org.opendaylight.controller.clustering.services,
53               org.opendaylight.controller.configuration,
54               org.opendaylight.controller.sal.core,
55               org.opendaylight.controller.sal.utils,
56               org.opendaylight.controller.sal.packet,
57               org.opendaylight.controller.sal.inventory,
58               org.slf4j,
59               org.apache.felix.dm,
60               org.eclipse.osgi.framework.console,
61               org.osgi.framework,
62               javax.xml.bind.annotation,
63               org.apache.commons.lang3.builder
64             </Import-Package>
65           </instructions>
66           <manifestLocation>${project.basedir}/META-INF</manifestLocation>
67         </configuration>
68       </plugin>
69       <plugin>
70         <groupId>org.jacoco</groupId>
71         <artifactId>jacoco-maven-plugin</artifactId>
72         <configuration>
73           <includes>org.opendaylight.controller.*</includes>
74         </configuration>
75         <executions>
76           <execution>
77             <id>pre-test</id>
78             <goals>
79               <goal>prepare-agent</goal>
80             </goals>
81           </execution>
82           <execution>
83             <id>post-test</id>
84             <phase>test</phase>
85             <goals>
86               <goal>report</goal>
87             </goals>
88           </execution>
89         </executions>
90       </plugin>
91     </plugins>
92   </build>
93   <dependencies>
94     <dependency>
95       <groupId>org.opendaylight.controller</groupId>
96       <artifactId>clustering.services</artifactId>
97       <version>0.4.1-SNAPSHOT</version>
98     </dependency>
99     <dependency>
100       <groupId>org.opendaylight.controller</groupId>
101       <artifactId>configuration</artifactId>
102       <version>0.4.1-SNAPSHOT</version>
103     </dependency>
104     <dependency>
105       <groupId>org.opendaylight.controller</groupId>
106       <artifactId>sal</artifactId>
107       <version>0.5.1-SNAPSHOT</version>
108     </dependency>
109     <dependency>
110       <groupId>junit</groupId>
111       <artifactId>junit</artifactId>
112       <scope>test</scope>
113     </dependency>
114   </dependencies>
115 </project>