Merge "Bug 1112: Updated toaster-it configuration to use InMemory Data Store."
[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     <!--
61       Adding a temporary dependency on the sal-broker-impl so that we can use InMemoryDOMDataStore
62
63       InMemoryDOMDataStore needs to be moved into its own module and be wired up using config subsystem before
64       this bundle can use it
65     -->
66     <dependency>
67       <groupId>org.opendaylight.controller</groupId>
68       <artifactId>sal-broker-impl</artifactId>
69     </dependency>
70
71     <dependency>
72       <groupId>org.opendaylight.controller</groupId>
73       <artifactId>sal-common-api</artifactId>
74     </dependency>
75
76     <dependency>
77       <groupId>org.opendaylight.controller</groupId>
78       <artifactId>sal-common-util</artifactId>
79     </dependency>
80
81     <dependency>
82       <groupId>org.opendaylight.controller</groupId>
83       <artifactId>sal-core-spi</artifactId>
84     </dependency>
85
86     <dependency>
87       <groupId>org.opendaylight.yangtools</groupId>
88       <artifactId>concepts</artifactId>
89     </dependency>
90
91     <dependency>
92       <groupId>org.opendaylight.yangtools</groupId>
93       <artifactId>yang-binding</artifactId>
94     </dependency>
95
96     <dependency>
97       <groupId>org.opendaylight.yangtools</groupId>
98       <artifactId>yang-common</artifactId>
99     </dependency>
100
101     <dependency>
102       <groupId>org.opendaylight.yangtools</groupId>
103       <artifactId>yang-data-api</artifactId>
104     </dependency>
105
106     <dependency>
107       <groupId>org.osgi</groupId>
108       <artifactId>org.osgi.core</artifactId>
109     </dependency>
110
111     <dependency>
112       <groupId>org.scala-lang</groupId>
113       <artifactId>scala-library</artifactId>
114     </dependency>
115
116     <!-- Test Dependencies -->
117     <dependency>
118       <groupId>junit</groupId>
119       <artifactId>junit</artifactId>
120       <scope>test</scope>
121     </dependency>
122     <dependency>
123       <groupId>org.mockito</groupId>
124       <artifactId>mockito-all</artifactId>
125       <scope>test</scope>
126     </dependency>
127
128     <dependency>
129       <groupId>org.slf4j</groupId>
130       <artifactId>slf4j-simple</artifactId>
131       <version>${slf4j.version}</version>
132       <scope>test</scope>
133     </dependency>
134   </dependencies>
135
136   <build>
137     <plugins>
138
139       <plugin>
140         <groupId>org.apache.felix</groupId>
141         <artifactId>maven-bundle-plugin</artifactId>
142         <extensions>true</extensions>
143         <configuration>
144           <instructions>
145             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
146             <Export-package></Export-package>
147             <Private-Package></Private-Package>
148           </instructions>
149         </configuration>
150       </plugin>
151
152       <plugin>
153         <groupId>org.apache.maven.plugins</groupId>
154         <artifactId>maven-jar-plugin</artifactId>
155         <executions>
156           <execution>
157             <goals>
158               <goal>test-jar</goal>
159             </goals>
160           </execution>
161         </executions>
162       </plugin>
163       <plugin>
164         <groupId>org.jacoco</groupId>
165         <artifactId>jacoco-maven-plugin</artifactId>
166         <configuration>
167           <includes>
168             <include>org.opendaylight.controller.*</include>
169           </includes>
170           <check>false</check>
171         </configuration>
172         <executions>
173           <execution>
174             <id>pre-test</id>
175             <goals>
176               <goal>prepare-agent</goal>
177             </goals>
178           </execution>
179           <execution>
180             <id>post-test</id>
181             <goals>
182               <goal>report</goal>
183             </goals>
184             <phase>test</phase>
185           </execution>
186         </executions>
187       </plugin>
188       <plugin>
189         <groupId>org.opendaylight.yangtools</groupId>
190         <artifactId>yang-maven-plugin</artifactId>
191         <executions>
192           <execution>
193             <id>config</id>
194             <goals>
195               <goal>generate-sources</goal>
196             </goals>
197             <configuration>
198               <codeGenerators>
199                 <generator>
200                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
201                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
202                   <additionalConfiguration>
203                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
204                   </additionalConfiguration>
205                 </generator>
206                 <generator>
207                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
208                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
209                 </generator>
210               </codeGenerators>
211               <inspectDependencies>true</inspectDependencies>
212             </configuration>
213           </execution>
214         </executions>
215       </plugin>
216     </plugins>
217   </build>
218   <scm>
219     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
220     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
221     <tag>HEAD</tag>
222     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Architecture:Clustering</url>
223   </scm>
224 </project>