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