Clean-up pom.xml layout
[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>config-parent</artifactId>
7         <version>0.6.0-SNAPSHOT</version>
8         <relativePath>../../config/config-parent</relativePath>
9     </parent>
10
11     <groupId>org.opendaylight.controller</groupId>
12     <version>1.5.0-SNAPSHOT</version>
13   <artifactId>sal-dummy-distributed-datastore</artifactId>
14   <packaging>bundle</packaging>
15
16   <dependencies>
17     <dependency>
18       <groupId>com.google.guava</groupId>
19       <artifactId>guava</artifactId>
20     </dependency>
21
22     <dependency>
23       <groupId>com.typesafe.akka</groupId>
24       <artifactId>akka-actor_${scala.version}</artifactId>
25     </dependency>
26
27     <dependency>
28       <groupId>com.typesafe.akka</groupId>
29       <artifactId>akka-cluster_${scala.version}</artifactId>
30     </dependency>
31
32     <dependency>
33       <groupId>com.typesafe.akka</groupId>
34       <artifactId>akka-persistence_${scala.version}</artifactId>
35     </dependency>
36
37     <dependency>
38       <groupId>com.typesafe.akka</groupId>
39       <artifactId>akka-remote_${scala.version}</artifactId>
40     </dependency>
41
42     <dependency>
43       <groupId>com.typesafe.akka</groupId>
44       <artifactId>akka-testkit_${scala.version}</artifactId>
45       <scope>test</scope>
46     </dependency>
47
48     <dependency>
49       <groupId>com.typesafe.akka</groupId>
50       <artifactId>akka-slf4j_${scala.version}</artifactId>
51     </dependency>
52
53     <dependency>
54       <groupId>com.typesafe.akka</groupId>
55       <artifactId>akka-osgi_${scala.version}</artifactId>
56     </dependency>
57
58     <dependency>
59         <groupId>org.opendaylight.controller</groupId>
60         <artifactId>sal-clustering-commons</artifactId>
61     </dependency>
62
63       <dependency>
64           <groupId>org.opendaylight.controller</groupId>
65           <artifactId>sal-akka-raft</artifactId>
66       </dependency>
67
68       <dependency>
69           <groupId>org.opendaylight.controller</groupId>
70           <artifactId>sal-distributed-datastore</artifactId>
71       </dependency>
72
73     <!-- Test Dependencies -->
74     <dependency>
75       <groupId>junit</groupId>
76       <artifactId>junit</artifactId>
77       <scope>test</scope>
78     </dependency>
79     <dependency>
80       <groupId>org.mockito</groupId>
81       <artifactId>mockito-all</artifactId>
82       <scope>test</scope>
83     </dependency>
84
85     <dependency>
86       <groupId>org.slf4j</groupId>
87       <artifactId>slf4j-simple</artifactId>
88       <scope>test</scope>
89     </dependency>
90
91     <dependency>
92       <groupId>args4j</groupId>
93       <artifactId>args4j</artifactId>
94       <version>2.0.29</version>
95     </dependency>
96
97   </dependencies>
98
99   <build>
100     <plugins>
101
102       <plugin>
103         <groupId>org.apache.felix</groupId>
104         <artifactId>maven-bundle-plugin</artifactId>
105         <extensions>true</extensions>
106         <configuration>
107           <instructions>
108             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
109             <Export-package></Export-package>
110             <Private-Package></Private-Package>
111             <Import-Package>!*snappy;!org.jboss.*;!com.jcraft.*;!*jetty*;!sun.security.*;*</Import-Package>
112             <!--
113             <Embed-Dependency>
114                 sal-clustering-commons;
115                 sal-akka-raft;
116                 *metrics*;
117                 !sal*;
118                 !*config-api*;
119                 !*testkit*;
120                 akka*;
121                 *leveldb*;
122                 *config*;
123                 *hawt*;
124                 *protobuf*;
125                 *netty*;
126                 *uncommons*;
127                 *scala*;
128             </Embed-Dependency>
129             <Embed-Transitive>true</Embed-Transitive>
130             -->
131           </instructions>
132         </configuration>
133       </plugin>
134
135       <plugin>
136         <groupId>org.jacoco</groupId>
137         <artifactId>jacoco-maven-plugin</artifactId>
138         <configuration>
139           <includes>
140             <include>org.opendaylight.controller.*</include>
141
142           </includes>
143           <excludes>
144               <exclude>org.opendaylight.controller.config.yang.config.*</exclude>
145           </excludes>
146           <check>false</check>
147         </configuration>
148         <executions>
149           <execution>
150             <id>pre-test</id>
151             <goals>
152               <goal>prepare-agent</goal>
153             </goals>
154           </execution>
155           <execution>
156             <id>post-test</id>
157             <goals>
158               <goal>report</goal>
159             </goals>
160             <phase>test</phase>
161           </execution>
162         </executions>
163       </plugin>
164         <plugin>
165             <groupId>org.apache.maven.plugins</groupId>
166             <artifactId>maven-shade-plugin</artifactId>
167             <executions>
168                 <execution>
169                     <phase>package</phase>
170                     <goals>
171                         <goal>shade</goal>
172                     </goals>
173                     <configuration>
174                         <shadedArtifactAttached>true</shadedArtifactAttached>
175                         <shadedClassifierName>allinone</shadedClassifierName>
176                         <artifactSet>
177                             <includes>
178                                 <include>*:*</include>
179                             </includes>
180                         </artifactSet>
181                         <transformers>
182                             <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
183                                 <resource>reference.conf</resource>
184                             </transformer>
185                             <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
186                                 <manifestEntries>
187                                     <Main-Class>org.opendaylight.controller.dummy.datastore.Main</Main-Class>
188                                 </manifestEntries>
189                             </transformer>
190                         </transformers>
191                     </configuration>
192                 </execution>
193             </executions>
194         </plugin>
195     </plugins>
196   </build>
197   <scm>
198     <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
199     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
200     <tag>HEAD</tag>
201     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Architecture:Clustering</url>
202   </scm>
203 </project>