Adding integration tests for clustering service.
[controller.git] / opendaylight / clustering / services_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.0-SNAPSHOT</version>
8     <relativePath>../../commons/opendaylight</relativePath>
9   </parent>
10
11   <groupId>org.opendaylight.controller</groupId>
12   <artifactId>clustering.services-implementation</artifactId>
13   <version>0.4.0-SNAPSHOT</version>
14   <packaging>bundle</packaging>
15   <properties>
16     <!-- Sonar properties using jacoco to retrieve integration test results -->
17     <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
18     <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
19     <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
20     <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
21     <sonar.language>java</sonar.language>
22   </properties>
23   <build>
24     <pluginManagement>
25       <plugins>
26         <plugin>
27           <groupId>org.jacoco</groupId>
28           <artifactId>jacoco-maven-plugin</artifactId>
29           <version>0.5.3.201107060350</version>
30         </plugin>
31       </plugins>
32     </pluginManagement>
33     <plugins>
34       <plugin>
35         <groupId>org.apache.felix</groupId>
36         <artifactId>maven-bundle-plugin</artifactId>
37         <version>2.3.6</version>
38         <extensions>true</extensions>
39         <configuration>
40           <instructions>
41             <Import-Package>
42               org.slf4j,
43               !org.jboss.*,
44               !bsh*,
45               !net.jcip.*,
46               javax.transaction,
47               *,
48               org.opendaylight.controller.clustering.services,
49               org.opendaylight.controller.sal.core
50             </Import-Package>
51             <Bundle-Activator>
52               org.opendaylight.controller.clustering.services_implementation.internal.Activator
53             </Bundle-Activator>
54             <!-- Add in the DynamicImport-Package ONLY the packages that -->
55             <!-- contains types that MUST be unmarshalled by the -->
56             <!-- infinispan. They need to be wired at runtime even during -->
57             <!-- the bundle is already RESOLVED, but at the same time if -->
58             <!-- those are missing the bundle will still come up, this is -->
59             <!-- why those dependencies ends in the DynamicImport-Package -->
60             <!-- rather in the Import-Package  -->
61             <DynamicImport-Package>
62               *
63             </DynamicImport-Package>
64             <Embed-Dependency>
65               infinispan-core,jgroups,jboss-marshalling-river,jboss-marshalling,jboss-logging,staxmapper;type=!pom;inline=false
66             </Embed-Dependency>
67             <Embed-Transitive>
68               true
69             </Embed-Transitive>
70           </instructions>
71         </configuration>
72       </plugin>
73       <plugin>
74         <groupId>org.jacoco</groupId>
75         <artifactId>jacoco-maven-plugin</artifactId>
76         <configuration>
77           <includes>org.opendaylight.controller.*</includes>
78         </configuration>
79         <executions>
80           <execution>
81             <id>pre-test</id>
82             <goals>
83               <goal>prepare-agent</goal>
84             </goals>
85           </execution>
86           <execution>
87             <id>post-test</id>
88             <phase>test</phase>
89             <goals>
90               <goal>report</goal>
91             </goals>
92           </execution>
93         </executions>
94       </plugin>      
95     </plugins>
96   </build>
97   <dependencies>
98     <dependency>
99       <groupId>org.infinispan</groupId>
100       <artifactId>infinispan-core</artifactId>
101       <version>5.2.3.Final</version>
102     </dependency>
103     <dependency>
104       <groupId>org.opendaylight.controller</groupId>
105       <artifactId>clustering.services</artifactId>
106       <version>0.4.0-SNAPSHOT</version>
107     </dependency>
108     <dependency>
109       <groupId>org.opendaylight.controller</groupId>
110       <artifactId>sal</artifactId>
111       <version>0.4.0-SNAPSHOT</version>
112     </dependency>
113   </dependencies>
114 </project>