6edb50b82efe93b5cbf2a9c3ae1804e1da4bd90c
[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   <artifactId>clustering.services-implementation</artifactId>
12   <version>0.4.0-SNAPSHOT</version>
13   <packaging>bundle</packaging>
14   <properties>
15     <!-- Sonar properties using jacoco to retrieve integration test results -->
16     <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
17     <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
18     <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
19     <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
20     <sonar.language>java</sonar.language>
21   </properties>
22   <build>
23     <pluginManagement>
24       <plugins>
25         <plugin>
26           <groupId>org.jacoco</groupId>
27           <artifactId>jacoco-maven-plugin</artifactId>
28           <version>0.5.3.201107060350</version>
29         </plugin>
30       </plugins>
31     </pluginManagement>
32     <plugins>
33       <plugin>
34         <groupId>org.apache.felix</groupId>
35         <artifactId>maven-bundle-plugin</artifactId>
36         <version>2.3.6</version>
37         <extensions>true</extensions>
38         <configuration>
39           <instructions>
40             <Import-Package>
41               org.slf4j,
42               !org.jboss.*,
43               !bsh*,
44               !net.jcip.*,
45               javax.transaction,
46               *,
47               org.opendaylight.controller.clustering.services,
48               org.opendaylight.controller.sal.core
49             </Import-Package>
50             <Bundle-Activator>
51               org.opendaylight.controller.clustering.services_implementation.internal.Activator
52             </Bundle-Activator>
53             <!-- Add in the DynamicImport-Package ONLY the packages that -->
54             <!-- contains types that MUST be unmarshalled by the -->
55             <!-- infinispan. They need to be wired at runtime even during -->
56             <!-- the bundle is already RESOLVED, but at the same time if -->
57             <!-- those are missing the bundle will still come up, this is -->
58             <!-- why those dependencies ends in the DynamicImport-Package -->
59             <!-- rather in the Import-Package  -->
60             <DynamicImport-Package>
61               *
62             </DynamicImport-Package>
63             <Embed-Dependency>
64               infinispan-core,jgroups,jboss-marshalling-river,jboss-marshalling,jboss-logging,staxmapper;type=!pom;inline=false
65             </Embed-Dependency>
66             <Embed-Transitive>
67               true
68             </Embed-Transitive>
69           </instructions>
70         <manifestLocation>${project.basedir}/META-INF</manifestLocation>
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>