Move 2 jacoco/sonar settings to commons pom for reuse.
[controller.git] / opendaylight / forwardingrulesmanager / 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.1-SNAPSHOT</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>HEAD</tag>
15   </scm>
16
17   <artifactId>forwardingrulesmanager.implementation</artifactId>
18   <version>0.4.1-SNAPSHOT</version>
19   <packaging>bundle</packaging>
20
21   <properties>
22     <!-- Sonar properties using jacoco to retrieve integration test results -->
23     <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
24     <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
25     <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
26   </properties>
27   <build>
28     <pluginManagement>
29       <plugins>
30         <plugin>
31           <groupId>org.jacoco</groupId>
32           <artifactId>jacoco-maven-plugin</artifactId>
33           <version>${jacoco.version}</version>
34         </plugin>
35       </plugins>
36     </pluginManagement>
37     <plugins>
38       <plugin>
39         <groupId>org.apache.felix</groupId>
40         <artifactId>maven-bundle-plugin</artifactId>
41         <version>${bundle.plugin.version}</version>
42         <extensions>true</extensions>
43         <configuration>
44           <instructions>
45             <Include-Resource>
46             </Include-Resource>
47             <Export-Package>
48               org.opendaylight.controller.forwardingrulesmanager.implementation.data
49             </Export-Package>
50             <Import-Package>
51               org.opendaylight.controller.clustering.services,
52               org.opendaylight.controller.configuration,
53               org.opendaylight.controller.containermanager,
54               org.opendaylight.controller.hosttracker,
55               org.opendaylight.controller.hosttracker.hostAware,
56               org.opendaylight.controller.switchmanager,
57               org.opendaylight.controller.sal.action,
58               org.opendaylight.controller.sal.core,
59               org.opendaylight.controller.sal.flowprogrammer,
60               org.opendaylight.controller.sal.match,
61               org.opendaylight.controller.sal.utils,
62               org.opendaylight.controller.sal.packet,
63               org.opendaylight.controller.sal.connection,
64               org.opendaylight.controller.forwardingrulesmanager,
65               org.opendaylight.controller.connectionmanager,
66               javax.xml.bind.annotation,
67               javax.xml.bind,
68               org.apache.felix.dm,
69               org.osgi.service.component,
70               org.slf4j,
71               org.eclipse.osgi.framework.console,
72               org.osgi.framework
73             </Import-Package>
74             <Bundle-Activator>
75               org.opendaylight.controller.forwardingrulesmanager.internal.Activator
76             </Bundle-Activator>
77             <Require-Bundle>
78               org.opendaylight.controller.hosttracker
79             </Require-Bundle>
80             <Service-Component>
81             </Service-Component>
82           </instructions>
83           <manifestLocation>${project.basedir}/META-INF</manifestLocation>
84         </configuration>
85       </plugin>
86       <plugin>
87         <groupId>org.jacoco</groupId>
88         <artifactId>jacoco-maven-plugin</artifactId>
89         <configuration>
90           <includes>org.opendaylight.controller.*</includes>
91         </configuration>
92         <executions>
93           <execution>
94             <id>pre-test</id>
95             <goals>
96               <goal>prepare-agent</goal>
97             </goals>
98           </execution>
99           <execution>
100             <id>post-test</id>
101             <phase>test</phase>
102             <goals>
103               <goal>report</goal>
104             </goals>
105           </execution>
106         </executions>
107       </plugin>
108     </plugins>
109   </build>
110   <dependencies>
111     <dependency>
112       <groupId>org.opendaylight.controller</groupId>
113       <artifactId>hosttracker</artifactId>
114       <version>0.4.1-SNAPSHOT</version>
115     </dependency>
116     <dependency>
117       <groupId>org.opendaylight.controller</groupId>
118       <artifactId>configuration</artifactId>
119       <version>0.4.1-SNAPSHOT</version>
120     </dependency>
121     <dependency>
122       <groupId>org.opendaylight.controller</groupId>
123       <artifactId>clustering.services</artifactId>
124       <version>0.4.1-SNAPSHOT</version>
125     </dependency>
126     <dependency>
127       <groupId>org.opendaylight.controller</groupId>
128       <artifactId>switchmanager</artifactId>
129     </dependency>
130     <dependency>
131       <groupId>org.opendaylight.controller</groupId>
132       <artifactId>sal</artifactId>
133       <version>0.5.1-SNAPSHOT</version>
134     </dependency>
135     <dependency>
136       <groupId>org.opendaylight.controller</groupId>
137       <artifactId>sal.connection</artifactId>
138       <version>0.1.1-SNAPSHOT</version>
139     </dependency>
140     <dependency>
141       <groupId>org.opendaylight.controller</groupId>
142       <artifactId>forwardingrulesmanager</artifactId>
143       <version>0.4.1-SNAPSHOT</version>
144     </dependency>
145     <dependency>
146       <groupId>junit</groupId>
147       <artifactId>junit</artifactId>
148     </dependency>
149     <dependency>
150       <groupId>org.opendaylight.controller</groupId>
151       <artifactId>connectionmanager</artifactId>
152       <version>0.1.1-SNAPSHOT</version>
153     </dependency>
154     <dependency>
155       <groupId>org.opendaylight.controller</groupId>
156       <artifactId>containermanager</artifactId>
157       <version>0.5.1-SNAPSHOT</version>
158     </dependency>
159   </dependencies>
160 </project>