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