Stop building test-jar for sal-dummy-distributed-datastore
[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.4.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_${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.jacoco</groupId>
132         <artifactId>jacoco-maven-plugin</artifactId>
133         <configuration>
134           <includes>
135             <include>org.opendaylight.controller.*</include>
136
137           </includes>
138           <excludes>
139               <exclude>org.opendaylight.controller.config.yang.config.*</exclude>
140           </excludes>
141           <check>false</check>
142         </configuration>
143         <executions>
144           <execution>
145             <id>pre-test</id>
146             <goals>
147               <goal>prepare-agent</goal>
148             </goals>
149           </execution>
150           <execution>
151             <id>post-test</id>
152             <goals>
153               <goal>report</goal>
154             </goals>
155             <phase>test</phase>
156           </execution>
157         </executions>
158       </plugin>
159         <plugin>
160             <groupId>org.apache.maven.plugins</groupId>
161             <artifactId>maven-shade-plugin</artifactId>
162             <executions>
163                 <execution>
164                     <phase>package</phase>
165                     <goals>
166                         <goal>shade</goal>
167                     </goals>
168                     <configuration>
169                         <shadedArtifactAttached>true</shadedArtifactAttached>
170                         <shadedClassifierName>allinone</shadedClassifierName>
171                         <artifactSet>
172                             <includes>
173                                 <include>*:*</include>
174                             </includes>
175                         </artifactSet>
176                         <transformers>
177                             <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
178                                 <resource>reference.conf</resource>
179                             </transformer>
180                             <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
181                                 <manifestEntries>
182                                     <Main-Class>org.opendaylight.controller.dummy.datastore.Main</Main-Class>
183                                 </manifestEntries>
184                             </transformer>
185                         </transformers>
186                     </configuration>
187                 </execution>
188             </executions>
189         </plugin>
190     </plugins>
191   </build>
192   <scm>
193     <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
194     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
195     <tag>HEAD</tag>
196     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Architecture:Clustering</url>
197   </scm>
198 </project>