Hook the Distributed Data store into the config sub-system
[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>org.opendaylight.controller</groupId>
40       <artifactId>config-api</artifactId>
41     </dependency>
42     <dependency>
43       <groupId>org.opendaylight.controller</groupId>
44       <artifactId>sal-binding-api</artifactId>
45     </dependency>
46
47     <!-- SAL Dependencies -->
48     <dependency>
49       <groupId>org.opendaylight.controller</groupId>
50       <artifactId>sal-core-spi</artifactId>
51     </dependency>
52
53     <!-- AKKA Dependencies -->
54     <dependency>
55       <groupId>org.scala-lang</groupId>
56       <artifactId>scala-library</artifactId>
57     </dependency>
58
59     <!-- Test Dependencies -->
60     <dependency>
61       <groupId>junit</groupId>
62       <artifactId>junit</artifactId>
63       <scope>test</scope>
64     </dependency>
65     <dependency>
66       <groupId>org.mockito</groupId>
67       <artifactId>mockito-all</artifactId>
68       <scope>test</scope>
69     </dependency>
70     <dependency>
71       <groupId>org.slf4j</groupId>
72       <artifactId>slf4j-simple</artifactId>
73       <version>${slf4j.version}</version>
74       <scope>test</scope>
75     </dependency>
76   </dependencies>
77
78   <build>
79     <plugins>
80
81       <plugin>
82         <groupId>org.apache.felix</groupId>
83         <artifactId>maven-bundle-plugin</artifactId>
84         <extensions>true</extensions>
85         <configuration>
86           <instructions>
87             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
88             <Export-package></Export-package>
89             <Private-Package></Private-Package>
90           </instructions>
91         </configuration>
92       </plugin>
93
94       <plugin>
95         <groupId>org.apache.maven.plugins</groupId>
96         <artifactId>maven-jar-plugin</artifactId>
97         <executions>
98           <execution>
99             <goals>
100               <goal>test-jar</goal>
101             </goals>
102           </execution>
103         </executions>
104       </plugin>
105       <plugin>
106         <groupId>org.jacoco</groupId>
107         <artifactId>jacoco-maven-plugin</artifactId>
108         <configuration>
109           <includes>
110             <include>org.opendaylight.controller.*</include>
111           </includes>
112           <check>false</check>
113         </configuration>
114         <executions>
115           <execution>
116             <id>pre-test</id>
117             <goals>
118               <goal>prepare-agent</goal>
119             </goals>
120           </execution>
121           <execution>
122             <id>post-test</id>
123             <goals>
124               <goal>report</goal>
125             </goals>
126             <phase>test</phase>
127           </execution>
128         </executions>
129       </plugin>
130       <plugin>
131         <groupId>org.opendaylight.yangtools</groupId>
132         <artifactId>yang-maven-plugin</artifactId>
133         <executions>
134           <execution>
135             <id>config</id>
136             <goals>
137               <goal>generate-sources</goal>
138             </goals>
139             <configuration>
140               <codeGenerators>
141                 <generator>
142                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
143                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
144                   <additionalConfiguration>
145                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
146                   </additionalConfiguration>
147                 </generator>
148                 <generator>
149                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
150                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
151                 </generator>
152               </codeGenerators>
153               <inspectDependencies>true</inspectDependencies>
154             </configuration>
155           </execution>
156         </executions>
157       </plugin>
158     </plugins>
159   </build>
160   <scm>
161     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
162     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
163     <tag>HEAD</tag>
164     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Architecture:Clustering</url>
165   </scm>
166 </project>