Declare junit version and use junit dependencyManagement section.
[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.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             <Include-Resource>
48             </Include-Resource>
49             <Export-Package>
50               org.opendaylight.controller.forwardingrulesmanager.implementation.data
51             </Export-Package>
52             <Import-Package>
53               org.opendaylight.controller.clustering.services,
54               org.opendaylight.controller.configuration,
55               org.opendaylight.controller.hosttracker,
56               org.opendaylight.controller.hosttracker.hostAware,
57               org.opendaylight.controller.switchmanager,
58               org.opendaylight.controller.sal.action,
59               org.opendaylight.controller.sal.core,
60               org.opendaylight.controller.sal.flowprogrammer,
61               org.opendaylight.controller.sal.match,
62               org.opendaylight.controller.sal.utils,
63               org.opendaylight.controller.sal.packet,
64               org.opendaylight.controller.sal.connection,
65               org.opendaylight.controller.forwardingrulesmanager,
66               org.opendaylight.controller.connectionmanager,
67               javax.xml.bind.annotation,
68               javax.xml.bind,
69               org.apache.felix.dm,
70               org.apache.commons.lang3.builder,
71               org.osgi.service.component,
72               org.slf4j,
73               org.eclipse.osgi.framework.console,
74               org.osgi.framework
75             </Import-Package>
76             <Bundle-Activator>
77               org.opendaylight.controller.forwardingrulesmanager.internal.Activator
78             </Bundle-Activator>
79             <Require-Bundle>
80               org.opendaylight.controller.hosttracker
81             </Require-Bundle>
82             <Service-Component>
83             </Service-Component>
84           </instructions>
85           <manifestLocation>${project.basedir}/META-INF</manifestLocation>
86         </configuration>
87       </plugin>
88       <plugin>
89         <groupId>org.jacoco</groupId>
90         <artifactId>jacoco-maven-plugin</artifactId>
91         <configuration>
92           <includes>org.opendaylight.controller.*</includes>
93         </configuration>
94         <executions>
95           <execution>
96             <id>pre-test</id>
97             <goals>
98               <goal>prepare-agent</goal>
99             </goals>
100           </execution>
101           <execution>
102             <id>post-test</id>
103             <phase>test</phase>
104             <goals>
105               <goal>report</goal>
106             </goals>
107           </execution>
108         </executions>
109       </plugin>
110     </plugins>
111   </build>
112   <dependencies>
113     <dependency>
114       <groupId>org.opendaylight.controller</groupId>
115       <artifactId>hosttracker</artifactId>
116       <version>0.4.1-SNAPSHOT</version>
117     </dependency>
118     <dependency>
119       <groupId>org.opendaylight.controller</groupId>
120       <artifactId>configuration</artifactId>
121       <version>0.4.1-SNAPSHOT</version>
122     </dependency>
123     <dependency>
124       <groupId>org.opendaylight.controller</groupId>
125       <artifactId>clustering.services</artifactId>
126       <version>0.4.1-SNAPSHOT</version>
127     </dependency>
128     <dependency>
129       <groupId>org.opendaylight.controller</groupId>
130       <artifactId>switchmanager</artifactId>
131       <version>0.5.1-SNAPSHOT</version>
132     </dependency>
133     <dependency>
134       <groupId>org.opendaylight.controller</groupId>
135       <artifactId>sal</artifactId>
136       <version>0.5.1-SNAPSHOT</version>
137     </dependency>
138     <dependency>
139       <groupId>org.opendaylight.controller</groupId>
140       <artifactId>sal.connection</artifactId>
141       <version>0.1.1-SNAPSHOT</version>
142     </dependency>
143     <dependency>
144       <groupId>org.opendaylight.controller</groupId>
145       <artifactId>forwardingrulesmanager</artifactId>
146       <version>0.4.1-SNAPSHOT</version>
147     </dependency>
148     <dependency>
149       <groupId>junit</groupId>
150       <artifactId>junit</artifactId>
151     </dependency>
152     <dependency>
153       <groupId>org.opendaylight.controller</groupId>
154       <artifactId>connectionmanager</artifactId>
155       <version>0.1.1-SNAPSHOT</version>
156     </dependency>
157   </dependencies>
158 </project>