Added hosttracker shell for karaf (rebased)
[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     <dependency>
122         <groupId>org.opendaylight.controller</groupId>
123         <artifactId>sal-protocolbuffer-encoding</artifactId>
124         <version>1.1-SNAPSHOT</version>
125     </dependency>
126
127     <!-- Test Dependencies -->
128     <dependency>
129       <groupId>junit</groupId>
130       <artifactId>junit</artifactId>
131       <scope>test</scope>
132     </dependency>
133     <dependency>
134       <groupId>org.mockito</groupId>
135       <artifactId>mockito-all</artifactId>
136       <scope>test</scope>
137     </dependency>
138
139     <dependency>
140       <groupId>org.slf4j</groupId>
141       <artifactId>slf4j-simple</artifactId>
142       <version>${slf4j.version}</version>
143       <scope>test</scope>
144     </dependency>
145
146   </dependencies>
147
148   <build>
149     <plugins>
150
151       <plugin>
152         <groupId>org.apache.felix</groupId>
153         <artifactId>maven-bundle-plugin</artifactId>
154         <extensions>true</extensions>
155         <configuration>
156           <instructions>
157             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
158             <Export-package></Export-package>
159             <Private-Package></Private-Package>
160             <Import-Package>!*snappy;!org.jboss.*;*</Import-Package>
161             <Embed-Dependency>
162                 sal-protocolbuffer-encoding;
163                 !sal*;
164                 !*config-api*;
165                 !*testkit*;
166                 akka*;
167                 *leveldb*;
168                 *config*;
169                 *hawt*;
170                 *protobuf*;
171                 *netty*;
172                 *uncommons*;
173                 *scala*;
174             </Embed-Dependency>
175             <Embed-Transitive>true</Embed-Transitive>
176           </instructions>
177         </configuration>
178       </plugin>
179
180       <plugin>
181         <groupId>org.apache.maven.plugins</groupId>
182         <artifactId>maven-jar-plugin</artifactId>
183         <executions>
184           <execution>
185             <goals>
186               <goal>test-jar</goal>
187             </goals>
188           </execution>
189         </executions>
190       </plugin>
191       <plugin>
192         <groupId>org.jacoco</groupId>
193         <artifactId>jacoco-maven-plugin</artifactId>
194         <configuration>
195           <includes>
196             <include>org.opendaylight.controller.*</include>
197           </includes>
198           <check>false</check>
199         </configuration>
200         <executions>
201           <execution>
202             <id>pre-test</id>
203             <goals>
204               <goal>prepare-agent</goal>
205             </goals>
206           </execution>
207           <execution>
208             <id>post-test</id>
209             <goals>
210               <goal>report</goal>
211             </goals>
212             <phase>test</phase>
213           </execution>
214         </executions>
215       </plugin>
216       <plugin>
217         <groupId>org.opendaylight.yangtools</groupId>
218         <artifactId>yang-maven-plugin</artifactId>
219         <executions>
220           <execution>
221             <id>config</id>
222             <goals>
223               <goal>generate-sources</goal>
224             </goals>
225             <configuration>
226               <codeGenerators>
227                 <generator>
228                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
229                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
230                   <additionalConfiguration>
231                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
232                   </additionalConfiguration>
233                 </generator>
234                 <generator>
235                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
236                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
237                 </generator>
238               </codeGenerators>
239               <inspectDependencies>true</inspectDependencies>
240             </configuration>
241           </execution>
242         </executions>
243       </plugin>
244     </plugins>
245   </build>
246   <scm>
247     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
248     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
249     <tag>HEAD</tag>
250     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Architecture:Clustering</url>
251   </scm>
252 </project>