[maven-release-plugin] prepare release releasepom-0.1.0
[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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3   <modelVersion>4.0.0</modelVersion>
4   <parent>
5     <groupId>org.opendaylight.controller</groupId>
6     <artifactId>commons.opendaylight</artifactId>
7     <version>1.4.0</version>
8     <relativePath>../../commons/opendaylight</relativePath>
9   </parent>
10   <scm>
11     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
12     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
13     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>
14     <tag>releasepom-0.1.0</tag>
15   </scm>
16
17   <artifactId>switchmanager</artifactId>
18   <version>0.5.0</version>
19   <packaging>bundle</packaging>
20
21   <properties>
22     <!-- Sonar properties using jacoco to retrieve integration test results -->
23     <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
24     <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
25     <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
26     <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
27     <sonar.language>java</sonar.language>
28   </properties>
29   <build>
30     <pluginManagement>
31       <plugins>
32         <plugin>
33           <groupId>org.jacoco</groupId>
34           <artifactId>jacoco-maven-plugin</artifactId>
35           <version>${jacoco.version}</version>
36         </plugin>
37       </plugins>
38     </pluginManagement>
39     <plugins>
40       <plugin>
41         <groupId>org.apache.felix</groupId>
42         <artifactId>maven-bundle-plugin</artifactId>
43         <version>${bundle.plugin.version}</version>
44         <extensions>true</extensions>
45         <configuration>
46           <instructions>
47             <Export-Package>
48               org.opendaylight.controller.switchmanager
49             </Export-Package>
50             <Import-Package>
51               org.opendaylight.controller.clustering.services,
52               org.opendaylight.controller.configuration,
53               org.opendaylight.controller.sal.core,
54               org.opendaylight.controller.sal.utils,
55               org.opendaylight.controller.sal.packet,
56               org.opendaylight.controller.sal.inventory,
57               org.slf4j,
58               org.apache.felix.dm,
59               org.eclipse.osgi.framework.console,
60               org.osgi.framework,
61               javax.xml.bind.annotation,
62               org.apache.commons.lang3.builder
63             </Import-Package>
64           </instructions>
65           <manifestLocation>${project.basedir}/META-INF</manifestLocation>
66         </configuration>
67       </plugin>
68       <plugin>
69         <groupId>org.jacoco</groupId>
70         <artifactId>jacoco-maven-plugin</artifactId>
71         <configuration>
72           <includes>org.opendaylight.controller.*</includes>
73         </configuration>
74         <executions>
75           <execution>
76             <id>pre-test</id>
77             <goals>
78               <goal>prepare-agent</goal>
79             </goals>
80           </execution>
81           <execution>
82             <id>post-test</id>
83             <phase>test</phase>
84             <goals>
85               <goal>report</goal>
86             </goals>
87           </execution>
88         </executions>
89       </plugin>
90     </plugins>
91   </build>
92   <dependencies>
93     <dependency>
94       <groupId>org.opendaylight.controller</groupId>
95       <artifactId>clustering.services</artifactId>
96       <version>0.4.0</version>
97     </dependency>
98     <dependency>
99       <groupId>org.opendaylight.controller</groupId>
100       <artifactId>configuration</artifactId>
101       <version>0.4.0</version>
102     </dependency>
103     <dependency>
104       <groupId>org.opendaylight.controller</groupId>
105       <artifactId>sal</artifactId>
106       <version>0.5.0</version>
107     </dependency>
108   </dependencies>
109 </project>