Unify maven-bundle-plugin version at 2.4.0
[controller.git] / opendaylight / hosttracker_new / implementation / 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.2-SNAPSHOT</version>
8     <relativePath>../../commons/opendaylight</relativePath>
9   </parent>
10   <artifactId>hosttracker_new.implementation</artifactId>
11   <version>0.4.2-SNAPSHOT</version>
12   <packaging>bundle</packaging>
13
14   <properties>
15     <!-- Sonar properties using jacoco to retrieve integration test results -->
16     <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
17     <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
18     <sonar.jacoco.reportpath>target/jacoco.exec</sonar.jacoco.reportpath>
19   </properties>
20   <dependencies>
21     <dependency>
22       <groupId>junit</groupId>
23       <artifactId>junit</artifactId>
24     </dependency>
25     <dependency>
26       <groupId>org.opendaylight.controller</groupId>
27       <artifactId>clustering.services</artifactId>
28     </dependency>
29     <dependency>
30       <groupId>org.opendaylight.controller</groupId>
31       <artifactId>commons.logback_settings</artifactId>
32     </dependency>
33     <dependency>
34       <groupId>org.opendaylight.controller</groupId>
35       <artifactId>hosttracker_new</artifactId>
36     </dependency>
37     <dependency>
38       <groupId>org.opendaylight.controller</groupId>
39       <artifactId>sal</artifactId>
40     </dependency>
41     <dependency>
42       <groupId>org.opendaylight.controller</groupId>
43       <artifactId>switchmanager</artifactId>
44     </dependency>
45     <dependency>
46       <groupId>org.opendaylight.controller</groupId>
47       <artifactId>topologymanager</artifactId>
48     </dependency>
49   </dependencies>
50
51   <build>
52     <pluginManagement>
53       <plugins>
54         <plugin>
55           <groupId>org.jacoco</groupId>
56           <artifactId>jacoco-maven-plugin</artifactId>
57           <version>${jacoco.version}</version>
58         </plugin>
59       </plugins>
60     </pluginManagement>
61     <plugins>
62       <plugin>
63         <groupId>org.apache.felix</groupId>
64         <artifactId>maven-bundle-plugin</artifactId>
65         <extensions>true</extensions>
66         <configuration>
67           <instructions>
68             <Export-Package></Export-Package>
69             <Import-Package>org.opendaylight.controller.sal.core,
70               org.opendaylight.controller.sal.utils,
71               org.opendaylight.controller.sal.topology,
72               org.opendaylight.controller.sal.packet,
73               org.opendaylight.controller.hosttracker,
74               org.opendaylight.controller.topologymanager,
75               org.opendaylight.controller.sal.packet.address,
76               org.opendaylight.controller.switchmanager,
77               org.opendaylight.controller.clustering.services,
78               org.opendaylight.controller.hosttracker.hostAware,
79               javax.xml.bind.annotation,
80               javax.xml.bind,
81               org.apache.felix.dm,
82               org.apache.commons.lang3.builder,
83               org.osgi.service.component,
84               org.slf4j,
85               org.eclipse.osgi.framework.console,
86               org.osgi.framework</Import-Package>
87             <Bundle-Activator>org.opendaylight.controller.hosttracker.internal.Activator</Bundle-Activator>
88             <Service-Component></Service-Component>
89           </instructions>
90           <manifestLocation>${project.basedir}/META-INF</manifestLocation>
91         </configuration>
92       </plugin>
93       <plugin>
94         <groupId>org.jacoco</groupId>
95         <artifactId>jacoco-maven-plugin</artifactId>
96         <configuration>
97           <includes>
98             <include>org.opendaylight.controller.*</include>
99           </includes>
100         </configuration>
101         <executions>
102           <execution>
103             <id>pre-test</id>
104             <goals>
105               <goal>prepare-agent</goal>
106             </goals>
107           </execution>
108           <execution>
109             <id>post-test</id>
110             <goals>
111               <goal>report</goal>
112             </goals>
113             <phase>test</phase>
114           </execution>
115         </executions>
116       </plugin>
117     </plugins>
118   </build>
119   <scm>
120     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
121     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
122     <tag>HEAD</tag>
123     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>
124   </scm>
125 </project>