Fixed publishDataChangeEvent in 2phase commit
[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"
3   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4   <modelVersion>4.0.0</modelVersion>
5   <parent>
6     <groupId>org.opendaylight.controller</groupId>
7     <artifactId>commons.opendaylight</artifactId>
8     <version>1.4.1-SNAPSHOT</version>
9     <relativePath>../../commons/opendaylight</relativePath>
10   </parent>
11   <scm>
12     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
13     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
14     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>
15     <tag>HEAD</tag>
16   </scm>
17
18   <artifactId>clustering.services-implementation</artifactId>
19   <version>0.4.1-SNAPSHOT</version>
20   <packaging>bundle</packaging>
21   <properties>
22     <!-- Sonar properties using jacoco to retrieve integration test results -->
23     <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
24     <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
25     <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
26   </properties>
27   <build>
28     <pluginManagement>
29       <plugins>
30         <plugin>
31           <groupId>org.jacoco</groupId>
32           <artifactId>jacoco-maven-plugin</artifactId>
33           <version>${jacoco.version}</version>
34         </plugin>
35       </plugins>
36     </pluginManagement>
37     <plugins>
38       <plugin>
39         <groupId>org.apache.felix</groupId>
40         <artifactId>maven-bundle-plugin</artifactId>
41         <version>${bundle.plugin.version}</version>
42         <extensions>true</extensions>
43         <configuration>
44           <instructions>
45             <Import-Package>
46               org.slf4j,
47               !org.apache.logging.log4j.*,
48               !bsh*,
49               !net.jcip.*,
50               !javax.swing,
51               !org.hornetq.*,
52               !org.jboss.*,
53               javax.transaction,
54               *,
55               org.opendaylight.controller.clustering.services,
56               org.opendaylight.controller.sal.core
57             </Import-Package>
58             <Bundle-Activator>
59               org.opendaylight.controller.clustering.services_implementation.internal.Activator
60             </Bundle-Activator>
61             <!-- Add in the DynamicImport-Package ONLY the packages that -->
62             <!-- contains types that MUST be unmarshalled by the -->
63             <!-- infinispan. They need to be wired at runtime even during -->
64             <!-- the bundle is already RESOLVED, but at the same time if -->
65             <!-- those are missing the bundle will still come up, this is -->
66             <!-- why those dependencies ends in the DynamicImport-Package -->
67             <!-- rather in the Import-Package -->
68             <DynamicImport-Package>
69               *
70             </DynamicImport-Package>
71             <Embed-Dependency>
72               infinispan-core,jgroups,jboss-marshalling-river,jboss-marshalling,jboss-logging,staxmapper,narayana-jta;type=!pom;inline=false
73             </Embed-Dependency>
74             <Embed-Transitive>
75               true
76             </Embed-Transitive>
77           </instructions>
78           <manifestLocation>${project.basedir}/META-INF</manifestLocation>
79         </configuration>
80       </plugin>
81       <plugin>
82         <groupId>org.jacoco</groupId>
83         <artifactId>jacoco-maven-plugin</artifactId>
84         <configuration>
85           <includes>org.opendaylight.controller.*</includes>
86         </configuration>
87         <executions>
88           <execution>
89             <id>pre-test</id>
90             <goals>
91               <goal>prepare-agent</goal>
92             </goals>
93           </execution>
94           <execution>
95             <id>post-test</id>
96             <phase>test</phase>
97             <goals>
98               <goal>report</goal>
99             </goals>
100           </execution>
101         </executions>
102       </plugin>
103       <plugin>
104         <groupId>org.apache.maven.plugins</groupId>
105         <artifactId>maven-enforcer-plugin</artifactId>
106         <version>${enforcer.version}</version>
107         <executions>
108           <execution>
109             <id>enforce-banned-dependencies</id>
110             <goals>
111               <goal>enforce</goal>
112             </goals>
113             <configuration>
114               <rules>
115                 <bannedDependencies>
116                   <excludes>
117                     <exclude>org.infinispan:infinispan-core:*</exclude>
118                   </excludes>
119                   <includes>
120                     <include>org.infinispan:infinispan-core:[5.3.0.Final]</include>
121                   </includes>
122                 </bannedDependencies>
123               </rules>
124               <fail>true</fail>
125             </configuration>
126           </execution>
127         </executions>
128       </plugin>
129     </plugins>
130   </build>
131   <dependencies>
132     <dependency>
133       <groupId>org.infinispan</groupId>
134       <artifactId>infinispan-core</artifactId>
135       <version>5.3.0.Final</version>
136     </dependency>
137     <dependency>
138       <groupId>org.opendaylight.controller</groupId>
139       <artifactId>clustering.services</artifactId>
140     </dependency>
141     <dependency>
142       <groupId>org.opendaylight.controller</groupId>
143       <artifactId>sal</artifactId>
144     </dependency>
145     <dependency>
146       <groupId>org.jboss.jbossts.jta</groupId>
147       <artifactId>narayana-jta</artifactId>
148       <version>4.17.7.Final</version>
149     </dependency>
150     <dependency>
151       <groupId>equinoxSDK381</groupId>
152       <artifactId>org.apache.felix.gogo.runtime</artifactId>
153     </dependency>
154     <dependency>
155       <groupId>junit</groupId>
156       <artifactId>junit</artifactId>
157     </dependency>
158     <dependency>
159       <groupId>org.opendaylight.controller</groupId>
160       <artifactId>commons.logback_settings</artifactId>
161     </dependency>
162   </dependencies>
163 </project>