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

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.