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