Bump versions by 0.1.0 for next dev cycle
[controller.git] / opendaylight / md-sal / sal-cluster-admin / 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.5.0-SNAPSHOT</version>
8   </parent>
9   <artifactId>sal-cluster-admin</artifactId>
10   <packaging>bundle</packaging>
11
12   <dependencies>
13     <!-- Tests -->
14     <dependency>
15       <groupId>junit</groupId>
16       <artifactId>junit</artifactId>
17       <scope>test</scope>
18     </dependency>
19     <dependency>
20       <groupId>org.mockito</groupId>
21       <artifactId>mockito-all</artifactId>
22       <scope>test</scope>
23     </dependency>
24     <dependency>
25       <groupId>org.slf4j</groupId>
26       <artifactId>slf4j-simple</artifactId>
27       <scope>test</scope>
28     </dependency>
29     <dependency>
30       <groupId>org.opendaylight.controller</groupId>
31       <artifactId>sal-akka-raft</artifactId>
32       <type>test-jar</type>
33       <scope>test</scope>
34     </dependency>
35     <dependency>
36       <groupId>org.opendaylight.controller</groupId>
37       <artifactId>sal-distributed-datastore</artifactId>
38       <type>test-jar</type>
39       <version>1.5.0-SNAPSHOT</version>
40       <scope>test</scope>
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-testkit_${scala.version}</artifactId>
51       <scope>test</scope>
52     </dependency>
53
54     <!-- Google -->
55     <dependency>
56       <groupId>com.google.guava</groupId>
57       <artifactId>guava</artifactId>
58     </dependency>
59
60     <!-- Scala -->
61     <dependency>
62       <groupId>org.scala-lang</groupId>
63       <artifactId>scala-library</artifactId>
64     </dependency>
65
66     <!-- OpenDaylight -->
67     <dependency>
68       <groupId>org.opendaylight.controller</groupId>
69       <artifactId>config-api</artifactId>
70     </dependency>
71     <dependency>
72       <groupId>org.opendaylight.controller</groupId>
73       <artifactId>sal-binding-api</artifactId>
74     </dependency>
75     <dependency>
76       <groupId>org.opendaylight.controller</groupId>
77       <artifactId>sal-akka-raft</artifactId>
78     </dependency>
79     <dependency>
80       <groupId>org.opendaylight.controller</groupId>
81       <artifactId>sal-distributed-datastore</artifactId>
82     </dependency>
83     <dependency>
84       <groupId>org.opendaylight.mdsal</groupId>
85       <artifactId>yang-binding</artifactId>
86     </dependency>
87     <dependency>
88       <groupId>org.opendaylight.yangtools</groupId>
89       <artifactId>yang-common</artifactId>
90     </dependency>
91     <dependency>
92       <groupId>org.apache.commons</groupId>
93       <artifactId>commons-lang3</artifactId>
94     </dependency>
95
96   </dependencies>
97
98   <build>
99     <plugins>
100       <plugin>
101         <groupId>org.apache.felix</groupId>
102         <artifactId>maven-bundle-plugin</artifactId>
103         <extensions>true</extensions>
104         <configuration>
105           <instructions>
106             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
107             <Export-Package></Export-Package>
108             <Import-Package>
109                 !*snappy;
110                 !org.jboss.*;
111                 !com.jcraft.*;
112                 !*jetty*;
113                 !sun.security.*;
114                 *;
115             </Import-Package>
116           </instructions>
117         </configuration>
118       </plugin>
119
120       <plugin>
121         <groupId>org.jacoco</groupId>
122         <artifactId>jacoco-maven-plugin</artifactId>
123         <configuration>
124           <includes>
125             <include>org.opendaylight.controller.*</include>
126
127           </includes>
128           <excludes>
129               <exclude>org.opendaylight.controller.config.yang.config.*</exclude>
130           </excludes>
131           <check>false</check>
132         </configuration>
133         <executions>
134           <execution>
135             <id>pre-test</id>
136             <goals>
137               <goal>prepare-agent</goal>
138             </goals>
139           </execution>
140           <execution>
141             <id>post-test</id>
142             <goals>
143               <goal>report</goal>
144             </goals>
145             <phase>test</phase>
146           </execution>
147         </executions>
148       </plugin>
149       <plugin>
150         <groupId>org.opendaylight.yangtools</groupId>
151         <artifactId>yang-maven-plugin</artifactId>
152         <executions>
153           <execution>
154             <id>config</id>
155             <goals>
156               <goal>generate-sources</goal>
157             </goals>
158             <configuration>
159               <codeGenerators>
160                 <generator>
161                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
162                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
163                   <additionalConfiguration>
164                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
165                   </additionalConfiguration>
166                 </generator>
167                 <generator>
168                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
169                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
170                 </generator>
171               </codeGenerators>
172               <inspectDependencies>true</inspectDependencies>
173             </configuration>
174           </execution>
175         </executions>
176       </plugin>
177     </plugins>
178   </build>
179 </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.