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