1d52c4b0777589bff90468248fefa4e4234ddef7
[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             !bsh*,
43             !net.jcip.*,
44             !javax.swing,
45             !org.hornetq.*,
46             !org.jboss.*,
47             javax.transaction,
48             *,
49             org.opendaylight.controller.clustering.services,
50             org.opendaylight.controller.sal.core
51           </Import-Package>
52           <Bundle-Activator>
53             org.opendaylight.controller.clustering.services_implementation.internal.Activator
54           </Bundle-Activator>
55           <!-- Add in the DynamicImport-Package ONLY the packages that -->
56           <!-- contains types that MUST be unmarshalled by the -->
57           <!-- infinispan. They need to be wired at runtime even during -->
58           <!-- the bundle is already RESOLVED, but at the same time if -->
59           <!-- those are missing the bundle will still come up, this is -->
60           <!-- why those dependencies ends in the DynamicImport-Package -->
61           <!-- rather in the Import-Package -->
62           <DynamicImport-Package>
63             *
64           </DynamicImport-Package>
65           <Embed-Dependency>
66             infinispan-core,jgroups,jboss-marshalling-river,jboss-marshalling,jboss-logging,staxmapper,narayana-jta;type=!pom;inline=false
67           </Embed-Dependency>
68           <Embed-Transitive>
69             true
70           </Embed-Transitive>
71         </instructions>
72         <manifestLocation>${project.basedir}/META-INF</manifestLocation>
73       </configuration>
74     </plugin>
75     <plugin>
76       <groupId>org.jacoco</groupId>
77       <artifactId>jacoco-maven-plugin</artifactId>
78       <configuration>
79         <includes>org.opendaylight.controller.*</includes>
80       </configuration>
81       <executions>
82         <execution>
83           <id>pre-test</id>
84           <goals>
85             <goal>prepare-agent</goal>
86           </goals>
87         </execution>
88         <execution>
89           <id>post-test</id>
90           <phase>test</phase>
91           <goals>
92             <goal>report</goal>
93           </goals>
94         </execution>
95       </executions>
96     </plugin>
97   </plugins>
98   </build>
99   <dependencies>
100     <dependency>
101       <groupId>org.infinispan</groupId>
102       <artifactId>infinispan-core</artifactId>
103       <version>5.2.3.Final</version>
104     </dependency>
105     <dependency>
106       <groupId>org.opendaylight.controller</groupId>
107       <artifactId>clustering.services</artifactId>
108       <version>0.4.0-SNAPSHOT</version>
109     </dependency>
110     <dependency>
111       <groupId>org.opendaylight.controller</groupId>
112       <artifactId>sal</artifactId>
113       <version>0.4.0-SNAPSHOT</version>
114     </dependency>
115     <dependency>
116       <groupId>org.jboss.jbossts.jta</groupId>
117       <artifactId>narayana-jta</artifactId>
118       <version>4.17.7.Final</version>
119     </dependency>
120   </dependencies>
121 </project>