d6a39364f2280ce2bd1307deee5c26607a3345a2
[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         </configuration>
71       </plugin>
72       <plugin>
73         <groupId>org.jacoco</groupId>
74         <artifactId>jacoco-maven-plugin</artifactId>
75         <configuration>
76           <includes>org.opendaylight.controller.*</includes>
77         </configuration>
78         <executions>
79           <execution>
80             <id>pre-test</id>
81             <goals>
82               <goal>prepare-agent</goal>
83             </goals>
84           </execution>
85           <execution>
86             <id>post-test</id>
87             <phase>test</phase>
88             <goals>
89               <goal>report</goal>
90             </goals>
91           </execution>
92         </executions>
93       </plugin>      
94     </plugins>
95   </build>
96   <dependencies>
97     <dependency>
98       <groupId>org.infinispan</groupId>
99       <artifactId>infinispan-core</artifactId>
100       <version>5.2.3.Final</version>
101     </dependency>
102     <dependency>
103       <groupId>org.opendaylight.controller</groupId>
104       <artifactId>clustering.services</artifactId>
105       <version>0.4.0-SNAPSHOT</version>
106     </dependency>
107     <dependency>
108       <groupId>org.opendaylight.controller</groupId>
109       <artifactId>sal</artifactId>
110       <version>0.4.0-SNAPSHOT</version>
111     </dependency>
112   </dependencies>
113 </project>