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