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