Bump versions by 0.1.0 for next dev cycle
[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.5.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       <scope>test</scope>
42     </dependency>
43
44     <dependency>
45       <groupId>com.typesafe.akka</groupId>
46       <artifactId>akka-slf4j_${scala.version}</artifactId>
47     </dependency>
48
49     <dependency>
50       <groupId>com.typesafe.akka</groupId>
51       <artifactId>akka-osgi_${scala.version}</artifactId>
52     </dependency>
53
54     <dependency>
55         <groupId>org.opendaylight.controller</groupId>
56         <artifactId>sal-clustering-commons</artifactId>
57     </dependency>
58
59       <dependency>
60           <groupId>org.opendaylight.controller</groupId>
61           <artifactId>sal-akka-raft</artifactId>
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.jacoco</groupId>
133         <artifactId>jacoco-maven-plugin</artifactId>
134         <configuration>
135           <includes>
136             <include>org.opendaylight.controller.*</include>
137
138           </includes>
139           <excludes>
140               <exclude>org.opendaylight.controller.config.yang.config.*</exclude>
141           </excludes>
142           <check>false</check>
143         </configuration>
144         <executions>
145           <execution>
146             <id>pre-test</id>
147             <goals>
148               <goal>prepare-agent</goal>
149             </goals>
150           </execution>
151           <execution>
152             <id>post-test</id>
153             <goals>
154               <goal>report</goal>
155             </goals>
156             <phase>test</phase>
157           </execution>
158         </executions>
159       </plugin>
160         <plugin>
161             <groupId>org.apache.maven.plugins</groupId>
162             <artifactId>maven-shade-plugin</artifactId>
163             <executions>
164                 <execution>
165                     <phase>package</phase>
166                     <goals>
167                         <goal>shade</goal>
168                     </goals>
169                     <configuration>
170                         <shadedArtifactAttached>true</shadedArtifactAttached>
171                         <shadedClassifierName>allinone</shadedClassifierName>
172                         <artifactSet>
173                             <includes>
174                                 <include>*:*</include>
175                             </includes>
176                         </artifactSet>
177                         <transformers>
178                             <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
179                                 <resource>reference.conf</resource>
180                             </transformer>
181                             <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
182                                 <manifestEntries>
183                                     <Main-Class>org.opendaylight.controller.dummy.datastore.Main</Main-Class>
184                                 </manifestEntries>
185                             </transformer>
186                         </transformers>
187                     </configuration>
188                 </execution>
189             </executions>
190         </plugin>
191     </plugins>
192   </build>
193   <scm>
194     <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
195     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
196     <tag>HEAD</tag>
197     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Architecture:Clustering</url>
198   </scm>
199 </project>