Merge "Refactor ShardTest"
[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   </dependencies>
94
95   <build>
96     <plugins>
97
98       <plugin>
99         <groupId>org.apache.felix</groupId>
100         <artifactId>maven-bundle-plugin</artifactId>
101         <extensions>true</extensions>
102         <configuration>
103           <instructions>
104             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
105             <Export-package></Export-package>
106             <Private-Package></Private-Package>
107             <Import-Package>!*snappy;!org.jboss.*;!com.jcraft.*;!*jetty*;!sun.security.*;*</Import-Package>
108             <!--
109             <Embed-Dependency>
110                 sal-clustering-commons;
111                 sal-akka-raft;
112                 *metrics*;
113                 !sal*;
114                 !*config-api*;
115                 !*testkit*;
116                 akka*;
117                 *leveldb*;
118                 *config*;
119                 *hawt*;
120                 *protobuf*;
121                 *netty*;
122                 *uncommons*;
123                 *scala*;
124             </Embed-Dependency>
125             <Embed-Transitive>true</Embed-Transitive>
126             -->
127           </instructions>
128         </configuration>
129       </plugin>
130
131       <plugin>
132         <groupId>org.apache.maven.plugins</groupId>
133         <artifactId>maven-jar-plugin</artifactId>
134         <executions>
135           <execution>
136             <goals>
137               <goal>test-jar</goal>
138             </goals>
139           </execution>
140         </executions>
141       </plugin>
142       <plugin>
143         <groupId>org.jacoco</groupId>
144         <artifactId>jacoco-maven-plugin</artifactId>
145         <configuration>
146           <includes>
147             <include>org.opendaylight.controller.*</include>
148
149           </includes>
150           <excludes>
151               <exclude>org.opendaylight.controller.config.yang.config.*</exclude>
152           </excludes>
153           <check>false</check>
154         </configuration>
155         <executions>
156           <execution>
157             <id>pre-test</id>
158             <goals>
159               <goal>prepare-agent</goal>
160             </goals>
161           </execution>
162           <execution>
163             <id>post-test</id>
164             <goals>
165               <goal>report</goal>
166             </goals>
167             <phase>test</phase>
168           </execution>
169         </executions>
170       </plugin>
171         <plugin>
172             <groupId>org.apache.maven.plugins</groupId>
173             <artifactId>maven-shade-plugin</artifactId>
174             <executions>
175                 <execution>
176                     <phase>package</phase>
177                     <goals>
178                         <goal>shade</goal>
179                     </goals>
180                     <configuration>
181                         <shadedArtifactAttached>true</shadedArtifactAttached>
182                         <shadedClassifierName>allinone</shadedClassifierName>
183                         <artifactSet>
184                             <includes>
185                                 <include>*:*</include>
186                             </includes>
187                         </artifactSet>
188                         <transformers>
189                             <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
190                                 <resource>reference.conf</resource>
191                             </transformer>
192                             <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
193                                 <manifestEntries>
194                                     <Main-Class>org.opendaylight.controller.dummy.datastore.Main</Main-Class>
195                                 </manifestEntries>
196                             </transformer>
197                         </transformers>
198                     </configuration>
199                 </execution>
200             </executions>
201         </plugin>
202     </plugins>
203   </build>
204   <scm>
205     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
206     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
207     <tag>HEAD</tag>
208     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Architecture:Clustering</url>
209   </scm>
210 </project>