Merge "xsql should pull junit directly"
[controller.git] / opendaylight / md-sal / sal-dummy-distributed-datastore / 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>sal-parent</artifactId>
7     <version>1.2.0-SNAPSHOT</version>
8   </parent>
9   <artifactId>sal-dummy-distributed-datastore</artifactId>
10   <packaging>bundle</packaging>
11
12   <dependencies>
13     <dependency>
14       <groupId>com.google.guava</groupId>
15       <artifactId>guava</artifactId>
16     </dependency>
17
18     <dependency>
19       <groupId>com.typesafe.akka</groupId>
20       <artifactId>akka-actor_${scala.version}</artifactId>
21     </dependency>
22
23     <dependency>
24       <groupId>com.typesafe.akka</groupId>
25       <artifactId>akka-cluster_${scala.version}</artifactId>
26     </dependency>
27
28     <dependency>
29       <groupId>com.typesafe.akka</groupId>
30       <artifactId>akka-persistence-experimental_${scala.version}</artifactId>
31     </dependency>
32
33     <dependency>
34       <groupId>com.typesafe.akka</groupId>
35       <artifactId>akka-remote_${scala.version}</artifactId>
36     </dependency>
37
38     <dependency>
39       <groupId>com.typesafe.akka</groupId>
40       <artifactId>akka-testkit_${scala.version}</artifactId>
41     </dependency>
42
43     <dependency>
44       <groupId>com.typesafe.akka</groupId>
45       <artifactId>akka-slf4j_${scala.version}</artifactId>
46     </dependency>
47
48     <dependency>
49       <groupId>com.typesafe.akka</groupId>
50       <artifactId>akka-osgi_${scala.version}</artifactId>
51     </dependency>
52
53     <dependency>
54         <groupId>org.opendaylight.controller</groupId>
55         <artifactId>sal-clustering-commons</artifactId>
56     </dependency>
57
58       <dependency>
59           <groupId>org.opendaylight.controller</groupId>
60           <artifactId>sal-akka-raft</artifactId>
61           <version>1.2.0-SNAPSHOT</version>
62       </dependency>
63
64       <dependency>
65           <groupId>org.opendaylight.controller</groupId>
66           <artifactId>sal-distributed-datastore</artifactId>
67       </dependency>
68
69     <!-- Test Dependencies -->
70     <dependency>
71       <groupId>junit</groupId>
72       <artifactId>junit</artifactId>
73       <scope>test</scope>
74     </dependency>
75     <dependency>
76       <groupId>org.mockito</groupId>
77       <artifactId>mockito-all</artifactId>
78       <scope>test</scope>
79     </dependency>
80
81     <dependency>
82       <groupId>org.slf4j</groupId>
83       <artifactId>slf4j-simple</artifactId>
84       <scope>test</scope>
85     </dependency>
86
87     <dependency>
88       <groupId>args4j</groupId>
89       <artifactId>args4j</artifactId>
90       <version>2.0.29</version>
91     </dependency>
92
93     <dependency>
94       <groupId>org.slf4j</groupId>
95       <artifactId>slf4j-simple</artifactId>
96     </dependency>
97
98   </dependencies>
99
100   <build>
101     <plugins>
102
103       <plugin>
104         <groupId>org.apache.felix</groupId>
105         <artifactId>maven-bundle-plugin</artifactId>
106         <extensions>true</extensions>
107         <configuration>
108           <instructions>
109             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
110             <Export-package></Export-package>
111             <Private-Package></Private-Package>
112             <Import-Package>!*snappy;!org.jboss.*;!com.jcraft.*;!*jetty*;!sun.security.*;*</Import-Package>
113             <!--
114             <Embed-Dependency>
115                 sal-clustering-commons;
116                 sal-akka-raft;
117                 *metrics*;
118                 !sal*;
119                 !*config-api*;
120                 !*testkit*;
121                 akka*;
122                 *leveldb*;
123                 *config*;
124                 *hawt*;
125                 *protobuf*;
126                 *netty*;
127                 *uncommons*;
128                 *scala*;
129             </Embed-Dependency>
130             <Embed-Transitive>true</Embed-Transitive>
131             -->
132           </instructions>
133         </configuration>
134       </plugin>
135
136       <plugin>
137         <groupId>org.apache.maven.plugins</groupId>
138         <artifactId>maven-jar-plugin</artifactId>
139         <executions>
140           <execution>
141             <goals>
142               <goal>test-jar</goal>
143             </goals>
144           </execution>
145         </executions>
146       </plugin>
147       <plugin>
148         <groupId>org.jacoco</groupId>
149         <artifactId>jacoco-maven-plugin</artifactId>
150         <configuration>
151           <includes>
152             <include>org.opendaylight.controller.*</include>
153
154           </includes>
155           <excludes>
156               <exclude>org.opendaylight.controller.config.yang.config.*</exclude>
157           </excludes>
158           <check>false</check>
159         </configuration>
160         <executions>
161           <execution>
162             <id>pre-test</id>
163             <goals>
164               <goal>prepare-agent</goal>
165             </goals>
166           </execution>
167           <execution>
168             <id>post-test</id>
169             <goals>
170               <goal>report</goal>
171             </goals>
172             <phase>test</phase>
173           </execution>
174         </executions>
175       </plugin>
176         <plugin>
177             <groupId>org.apache.maven.plugins</groupId>
178             <artifactId>maven-shade-plugin</artifactId>
179             <executions>
180                 <execution>
181                     <phase>package</phase>
182                     <goals>
183                         <goal>shade</goal>
184                     </goals>
185                     <configuration>
186                         <shadedArtifactAttached>true</shadedArtifactAttached>
187                         <shadedClassifierName>allinone</shadedClassifierName>
188                         <artifactSet>
189                             <includes>
190                                 <include>*:*</include>
191                             </includes>
192                         </artifactSet>
193                         <transformers>
194                             <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
195                                 <resource>reference.conf</resource>
196                             </transformer>
197                             <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
198                                 <manifestEntries>
199                                     <Main-Class>org.opendaylight.controller.dummy.datastore.Main</Main-Class>
200                                 </manifestEntries>
201                             </transformer>
202                         </transformers>
203                     </configuration>
204                 </execution>
205             </executions>
206         </plugin>
207     </plugins>
208   </build>
209   <scm>
210     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
211     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
212     <tag>HEAD</tag>
213     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Architecture:Clustering</url>
214   </scm>
215 </project>