A bunch of miscellaneous services to get Distributed Data Store ready for deployment
[controller.git] / opendaylight / md-sal / sal-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.1-SNAPSHOT</version>
8   </parent>
9   <artifactId>sal-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     <!-- SAL Dependencies -->
44
45     <dependency>
46       <groupId>org.opendaylight.controller</groupId>
47       <artifactId>config-api</artifactId>
48     </dependency>
49
50     <dependency>
51       <groupId>org.opendaylight.controller</groupId>
52       <artifactId>sal-binding-api</artifactId>
53     </dependency>
54
55     <dependency>
56       <groupId>org.opendaylight.controller</groupId>
57       <artifactId>sal-binding-config</artifactId>
58     </dependency>
59
60       <dependency>
61           <groupId>org.opendaylight.yangtools</groupId>
62           <artifactId>yang-data-api</artifactId>
63       </dependency>
64
65       <dependency>
66       <groupId>org.opendaylight.yangtools</groupId>
67       <artifactId>yang-data-impl</artifactId>
68       </dependency>
69
70     <dependency>
71       <groupId>org.opendaylight.controller</groupId>
72       <artifactId>sal-inmemory-datastore</artifactId>
73       <version>1.1-SNAPSHOT</version>
74     </dependency>
75
76     <dependency>
77       <groupId>org.opendaylight.controller</groupId>
78       <artifactId>sal-common-api</artifactId>
79     </dependency>
80
81     <dependency>
82       <groupId>org.opendaylight.controller</groupId>
83       <artifactId>sal-common-util</artifactId>
84     </dependency>
85
86     <dependency>
87       <groupId>org.opendaylight.controller</groupId>
88       <artifactId>sal-core-spi</artifactId>
89     </dependency>
90
91     <dependency>
92       <groupId>org.opendaylight.yangtools</groupId>
93       <artifactId>concepts</artifactId>
94     </dependency>
95
96     <dependency>
97       <groupId>org.opendaylight.yangtools</groupId>
98       <artifactId>yang-binding</artifactId>
99     </dependency>
100
101     <dependency>
102       <groupId>org.opendaylight.yangtools</groupId>
103       <artifactId>yang-common</artifactId>
104     </dependency>
105
106     <dependency>
107       <groupId>org.opendaylight.yangtools</groupId>
108       <artifactId>yang-data-api</artifactId>
109     </dependency>
110
111     <dependency>
112       <groupId>org.osgi</groupId>
113       <artifactId>org.osgi.core</artifactId>
114     </dependency>
115
116     <dependency>
117       <groupId>org.scala-lang</groupId>
118       <artifactId>scala-library</artifactId>
119     </dependency>
120
121     <!-- Test Dependencies -->
122     <dependency>
123       <groupId>junit</groupId>
124       <artifactId>junit</artifactId>
125       <scope>test</scope>
126     </dependency>
127     <dependency>
128       <groupId>org.mockito</groupId>
129       <artifactId>mockito-all</artifactId>
130       <scope>test</scope>
131     </dependency>
132
133     <dependency>
134       <groupId>org.slf4j</groupId>
135       <artifactId>slf4j-simple</artifactId>
136       <version>${slf4j.version}</version>
137       <scope>test</scope>
138     </dependency>
139
140   </dependencies>
141
142   <build>
143     <plugins>
144
145       <plugin>
146         <groupId>org.apache.felix</groupId>
147         <artifactId>maven-bundle-plugin</artifactId>
148         <extensions>true</extensions>
149         <configuration>
150           <instructions>
151             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
152             <Export-package></Export-package>
153             <Private-Package></Private-Package>
154             <Import-Package>!*snappy;!org.jboss.*;*</Import-Package>
155             <Embed-Dependency>
156                 !sal*;
157                 !*config-api*;
158                 !*testkit*;
159                 akka*;
160                 *leveldb*;
161                 *config*;
162                 *hawt*;
163                 *protobuf*;
164                 *netty*;
165                 *uncommons*;
166                 *scala*;
167             </Embed-Dependency>
168             <Embed-Transitive>true</Embed-Transitive>
169           </instructions>
170         </configuration>
171       </plugin>
172
173       <plugin>
174         <groupId>org.apache.maven.plugins</groupId>
175         <artifactId>maven-jar-plugin</artifactId>
176         <executions>
177           <execution>
178             <goals>
179               <goal>test-jar</goal>
180             </goals>
181           </execution>
182         </executions>
183       </plugin>
184       <plugin>
185         <groupId>org.jacoco</groupId>
186         <artifactId>jacoco-maven-plugin</artifactId>
187         <configuration>
188           <includes>
189             <include>org.opendaylight.controller.*</include>
190           </includes>
191           <check>false</check>
192         </configuration>
193         <executions>
194           <execution>
195             <id>pre-test</id>
196             <goals>
197               <goal>prepare-agent</goal>
198             </goals>
199           </execution>
200           <execution>
201             <id>post-test</id>
202             <goals>
203               <goal>report</goal>
204             </goals>
205             <phase>test</phase>
206           </execution>
207         </executions>
208       </plugin>
209       <plugin>
210         <groupId>org.opendaylight.yangtools</groupId>
211         <artifactId>yang-maven-plugin</artifactId>
212         <executions>
213           <execution>
214             <id>config</id>
215             <goals>
216               <goal>generate-sources</goal>
217             </goals>
218             <configuration>
219               <codeGenerators>
220                 <generator>
221                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
222                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
223                   <additionalConfiguration>
224                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
225                   </additionalConfiguration>
226                 </generator>
227                 <generator>
228                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
229                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
230                 </generator>
231               </codeGenerators>
232               <inspectDependencies>true</inspectDependencies>
233             </configuration>
234           </execution>
235         </executions>
236       </plugin>
237     </plugins>
238   </build>
239   <scm>
240     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
241     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
242     <tag>HEAD</tag>
243     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Architecture:Clustering</url>
244   </scm>
245 </project>

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.