BUG-980: stop emiting copyright
[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
11   <artifactId>clustering.services-implementation</artifactId>
12   <version>0.4.3-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         <version>${bundle.plugin.version}</version>
67         <extensions>true</extensions>
68         <configuration>
69           <instructions>
70             <Import-Package>org.slf4j,
71               !org.apache.logging.log4j.*,
72               !bsh*,
73               !net.jcip.*,
74               !javax.swing,
75               !org.hornetq.*,
76               !org.jboss.*,
77               javax.transaction,
78               *,
79               org.opendaylight.controller.clustering.services,
80               org.opendaylight.controller.sal.core</Import-Package>
81             <Bundle-Activator>org.opendaylight.controller.clustering.services_implementation.internal.Activator</Bundle-Activator>
82             <!-- Add in the DynamicImport-Package ONLY the packages that -->
83             <!-- contains types that MUST be unmarshalled by the -->
84             <!-- infinispan. They need to be wired at runtime even during -->
85             <!-- the bundle is already RESOLVED, but at the same time if -->
86             <!-- those are missing the bundle will still come up, this is -->
87             <!-- why those dependencies ends in the DynamicImport-Package -->
88             <!-- rather in the Import-Package -->
89             <DynamicImport-Package>*</DynamicImport-Package>
90             <Embed-Dependency>infinispan-core,infinispan-commons,jgroups,jboss-marshalling-river,jboss-marshalling,jboss-logging,staxmapper,narayana-jta;type=!pom;inline=false</Embed-Dependency>
91             <Embed-Transitive>true</Embed-Transitive>
92           </instructions>
93           <manifestLocation>${project.basedir}/META-INF</manifestLocation>
94         </configuration>
95       </plugin>
96       <plugin>
97         <groupId>org.apache.maven.plugins</groupId>
98         <artifactId>maven-enforcer-plugin</artifactId>
99         <version>${enforcer.version}</version>
100         <executions>
101           <execution>
102             <id>enforce-banned-dependencies</id>
103             <goals>
104               <goal>enforce</goal>
105             </goals>
106             <configuration>
107               <rules>
108                 <bannedDependencies>
109                   <excludes>
110                     <exclude>org.infinispan:infinispan-core:*</exclude>
111                   </excludes>
112                   <includes>
113                     <include>org.infinispan:infinispan-core:[6.0.2.Final]</include>
114                   </includes>
115                 </bannedDependencies>
116               </rules>
117               <fail>true</fail>
118             </configuration>
119           </execution>
120         </executions>
121       </plugin>
122       <plugin>
123         <groupId>org.jacoco</groupId>
124         <artifactId>jacoco-maven-plugin</artifactId>
125         <configuration>
126           <includes>
127             <include>org.opendaylight.controller.*</include>
128           </includes>
129         </configuration>
130         <executions>
131           <execution>
132             <id>pre-test</id>
133             <goals>
134               <goal>prepare-agent</goal>
135             </goals>
136           </execution>
137           <execution>
138             <id>post-test</id>
139             <goals>
140               <goal>report</goal>
141             </goals>
142             <phase>test</phase>
143           </execution>
144         </executions>
145       </plugin>
146     </plugins>
147   </build>
148   <scm>
149     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
150     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
151     <tag>HEAD</tag>
152     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>
153   </scm>
154 </project>