Adding auto-sorting plugin to all Controller via parent/pom.xml
[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         <version>${bundle.plugin.version}</version>
66         <extensions>true</extensions>
67         <configuration>
68           <instructions>
69             <Export-Package></Export-Package>
70             <Import-Package>org.opendaylight.controller.sal.core,
71               org.opendaylight.controller.sal.utils,
72               org.opendaylight.controller.sal.topology,
73               org.opendaylight.controller.sal.packet,
74               org.opendaylight.controller.hosttracker,
75               org.opendaylight.controller.topologymanager,
76               org.opendaylight.controller.sal.packet.address,
77               org.opendaylight.controller.switchmanager,
78               org.opendaylight.controller.clustering.services,
79               org.opendaylight.controller.hosttracker.hostAware,
80               javax.xml.bind.annotation,
81               javax.xml.bind,
82               org.apache.felix.dm,
83               org.apache.commons.lang3.builder,
84               org.osgi.service.component,
85               org.slf4j,
86               org.eclipse.osgi.framework.console,
87               org.osgi.framework</Import-Package>
88             <Bundle-Activator>org.opendaylight.controller.hosttracker.internal.Activator</Bundle-Activator>
89             <Service-Component></Service-Component>
90           </instructions>
91           <manifestLocation>${project.basedir}/META-INF</manifestLocation>
92         </configuration>
93       </plugin>
94       <plugin>
95         <groupId>org.jacoco</groupId>
96         <artifactId>jacoco-maven-plugin</artifactId>
97         <configuration>
98           <includes>
99             <include>org.opendaylight.controller.*</include>
100           </includes>
101         </configuration>
102         <executions>
103           <execution>
104             <id>pre-test</id>
105             <goals>
106               <goal>prepare-agent</goal>
107             </goals>
108           </execution>
109           <execution>
110             <id>post-test</id>
111             <goals>
112               <goal>report</goal>
113             </goals>
114             <phase>test</phase>
115           </execution>
116         </executions>
117       </plugin>
118     </plugins>
119   </build>
120   <scm>
121     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
122     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
123     <tag>HEAD</tag>
124     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>
125   </scm>
126 </project>