3e33610d1c87b2227fb92c95209d6e91c61b204c
[controller.git] / opendaylight / md-sal / sal-clustering-commons / 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
5   <parent>
6     <groupId>org.opendaylight.controller</groupId>
7     <artifactId>sal-parent</artifactId>
8     <version>1.4.0-SNAPSHOT</version>
9   </parent>
10
11   <artifactId>sal-clustering-commons</artifactId>
12   <packaging>bundle</packaging>
13
14   <dependencies>
15     <!-- Java -->
16     <dependency>
17       <groupId>junit</groupId>
18       <artifactId>junit</artifactId>
19       <scope>test</scope>
20     </dependency>
21     <dependency>
22       <groupId>xmlunit</groupId>
23       <artifactId>xmlunit</artifactId>
24     </dependency>
25
26     <dependency>
27       <groupId>org.mockito</groupId>
28       <artifactId>mockito-all</artifactId>
29       <scope>test</scope>
30     </dependency>
31     <dependency>
32       <groupId>org.slf4j</groupId>
33       <artifactId>slf4j-simple</artifactId>
34       <scope>test</scope>
35     </dependency>
36
37     <!-- Apache -->
38     <dependency>
39       <groupId>commons-lang</groupId>
40       <artifactId>commons-lang</artifactId>
41     </dependency>
42
43     <!-- Akka -->
44     <dependency>
45       <groupId>com.typesafe.akka</groupId>
46       <artifactId>akka-actor_${scala.version}</artifactId>
47     </dependency>
48     <dependency>
49       <groupId>com.typesafe.akka</groupId>
50       <artifactId>akka-cluster_${scala.version}</artifactId>
51     </dependency>
52     <dependency>
53       <groupId>com.typesafe.akka</groupId>
54       <artifactId>akka-osgi_${scala.version}</artifactId>
55     </dependency>
56     <dependency>
57       <groupId>com.typesafe.akka</groupId>
58       <artifactId>akka-persistence_${scala.version}</artifactId>
59     </dependency>
60     <dependency>
61       <groupId>com.typesafe.akka</groupId>
62       <artifactId>akka-remote_${scala.version}</artifactId>
63     </dependency>
64     <dependency>
65       <groupId>com.typesafe.akka</groupId>
66       <artifactId>akka-slf4j_${scala.version}</artifactId>
67     </dependency>
68     <dependency>
69       <groupId>com.typesafe.akka</groupId>
70       <artifactId>akka-testkit_${scala.version}</artifactId>
71       <scope>test</scope>
72     </dependency>
73
74     <!-- Codahale -->
75     <dependency>
76       <groupId>com.codahale.metrics</groupId>
77       <artifactId>metrics-core</artifactId>
78     </dependency>
79     <dependency>
80       <groupId>com.codahale.metrics</groupId>
81       <artifactId>metrics-graphite</artifactId>
82     </dependency>
83
84     <!-- Google -->
85     <dependency>
86       <groupId>com.google.code.findbugs</groupId>
87       <artifactId>jsr305</artifactId>
88     </dependency>
89     <dependency>
90       <groupId>com.google.guava</groupId>
91       <artifactId>guava</artifactId>
92     </dependency>
93     <dependency>
94       <groupId>com.google.protobuf</groupId>
95       <artifactId>protobuf-java</artifactId>
96     </dependency>
97
98     <!-- Scala -->
99     <dependency>
100       <groupId>org.scala-lang</groupId>
101       <artifactId>scala-library</artifactId>
102     </dependency>
103
104     <!-- OpenDaylight -->
105     <dependency>
106       <groupId>org.opendaylight.yangtools</groupId>
107       <artifactId>util</artifactId>
108     </dependency>
109     <dependency>
110       <groupId>org.opendaylight.yangtools</groupId>
111       <artifactId>yang-common</artifactId>
112     </dependency>
113     <dependency>
114       <groupId>org.opendaylight.yangtools</groupId>
115       <artifactId>yang-data-api</artifactId>
116     </dependency>
117     <dependency>
118       <groupId>org.opendaylight.yangtools</groupId>
119       <artifactId>yang-data-impl</artifactId>
120     </dependency>
121     <dependency>
122       <groupId>org.opendaylight.yangtools</groupId>
123       <artifactId>yang-model-api</artifactId>
124     </dependency>
125     <dependency>
126       <groupId>org.opendaylight.yangtools</groupId>
127       <artifactId>yang-model-util</artifactId>
128     </dependency>
129     <dependency>
130       <groupId>org.opendaylight.yangtools</groupId>
131       <artifactId>yang-parser-impl</artifactId>
132     </dependency>
133     <dependency>
134       <groupId>org.opendaylight.controller</groupId>
135       <artifactId>config-api</artifactId>
136     </dependency>
137
138   </dependencies>
139
140   <build>
141       <plugins>
142           <plugin>
143               <groupId>org.opendaylight.yangtools</groupId>
144               <artifactId>yang-maven-plugin</artifactId>
145               <executions>
146                   <execution>
147                       <goals>
148                           <goal>generate-sources</goal>
149                       </goals>
150                       <configuration>
151                           <codeGenerators>
152                               <generator>
153                                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
154                                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
155                               </generator>
156                               <generator>
157                                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
158                                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
159                                   <additionalConfiguration>
160                                       <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
161                                   </additionalConfiguration>
162                               </generator>
163                               <generator>
164                                   <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
165                                   <outputBaseDir>target/site/models</outputBaseDir>
166                               </generator>
167                           </codeGenerators>
168                           <inspectDependencies>true</inspectDependencies>
169                       </configuration>
170                   </execution>
171               </executions>
172           </plugin>
173           <plugin>
174               <groupId>org.jacoco</groupId>
175               <artifactId>jacoco-maven-plugin</artifactId>
176               <configuration>
177                   <includes>
178                       <include>org.opendaylight.controller.*</include>
179                   </includes>
180                   <excludes>
181                       <exclude>org.opendaylight.controller.protobuff.*</exclude>
182                   </excludes>
183                   <check>false</check>
184               </configuration>
185               <executions>
186                   <execution>
187                       <id>pre-test</id>
188                       <goals>
189                           <goal>prepare-agent</goal>
190                       </goals>
191                   </execution>
192                   <execution>
193                       <id>post-test</id>
194                       <goals>
195                           <goal>report</goal>
196                       </goals>
197                       <phase>test</phase>
198                   </execution>
199               </executions>
200           </plugin>
201           <plugin>
202             <groupId>org.apache.felix</groupId>
203             <artifactId>maven-bundle-plugin</artifactId>
204             <extensions>true</extensions>
205             <configuration>
206             <instructions>
207                 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
208                 <Export-Package>org.opendaylight.controller.cluster.schema.provider.impl, {local-packages}</Export-Package>
209             </instructions>
210             </configuration>
211           </plugin>
212     </plugins>
213   </build>
214 </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.