Clean-up pom.xml layout
[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>config-parent</artifactId>
7     <version>0.6.0-SNAPSHOT</version>
8     <relativePath>../../config/config-parent</relativePath>
9   </parent>
10
11   <groupId>org.opendaylight.controller</groupId>
12   <version>1.5.0-SNAPSHOT</version>
13   <artifactId>sal-cluster-admin</artifactId>
14   <packaging>bundle</packaging>
15
16   <dependencies>
17     <!-- Tests -->
18     <dependency>
19       <groupId>junit</groupId>
20       <artifactId>junit</artifactId>
21       <scope>test</scope>
22     </dependency>
23     <dependency>
24       <groupId>org.mockito</groupId>
25       <artifactId>mockito-all</artifactId>
26       <scope>test</scope>
27     </dependency>
28     <dependency>
29       <groupId>org.slf4j</groupId>
30       <artifactId>slf4j-simple</artifactId>
31       <scope>test</scope>
32     </dependency>
33     <dependency>
34       <groupId>org.opendaylight.controller</groupId>
35       <artifactId>sal-akka-raft</artifactId>
36       <type>test-jar</type>
37       <scope>test</scope>
38     </dependency>
39     <dependency>
40       <groupId>org.opendaylight.controller</groupId>
41       <artifactId>sal-distributed-datastore</artifactId>
42       <type>test-jar</type>
43       <scope>test</scope>
44     </dependency>
45
46     <!-- Akka -->
47     <dependency>
48       <groupId>com.typesafe.akka</groupId>
49       <artifactId>akka-actor_${scala.version}</artifactId>
50     </dependency>
51     <dependency>
52       <groupId>com.typesafe.akka</groupId>
53       <artifactId>akka-testkit_${scala.version}</artifactId>
54       <scope>test</scope>
55     </dependency>
56
57     <!-- Google -->
58     <dependency>
59       <groupId>com.google.guava</groupId>
60       <artifactId>guava</artifactId>
61     </dependency>
62
63     <!-- Scala -->
64     <dependency>
65       <groupId>org.scala-lang</groupId>
66       <artifactId>scala-library</artifactId>
67     </dependency>
68
69     <!-- OpenDaylight -->
70     <dependency>
71       <groupId>org.opendaylight.controller</groupId>
72       <artifactId>config-api</artifactId>
73     </dependency>
74     <dependency>
75       <groupId>org.opendaylight.controller</groupId>
76       <artifactId>sal-binding-api</artifactId>
77     </dependency>
78     <dependency>
79       <groupId>org.opendaylight.controller</groupId>
80       <artifactId>sal-akka-raft</artifactId>
81     </dependency>
82     <dependency>
83       <groupId>org.opendaylight.controller</groupId>
84       <artifactId>sal-distributed-datastore</artifactId>
85     </dependency>
86     <dependency>
87       <groupId>org.opendaylight.mdsal</groupId>
88       <artifactId>yang-binding</artifactId>
89     </dependency>
90     <dependency>
91       <groupId>org.opendaylight.yangtools</groupId>
92       <artifactId>yang-common</artifactId>
93     </dependency>
94     <dependency>
95       <groupId>org.apache.commons</groupId>
96       <artifactId>commons-lang3</artifactId>
97     </dependency>
98
99   </dependencies>
100
101   <build>
102     <plugins>
103       <plugin>
104         <groupId>org.apache.felix</groupId>
105         <artifactId>maven-bundle-plugin</artifactId>
106         <extensions>true</extensions>
107         <configuration>
108           <instructions>
109             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
110             <Export-Package></Export-Package>
111             <Import-Package>
112                 !*snappy;
113                 !org.jboss.*;
114                 !com.jcraft.*;
115                 !*jetty*;
116                 !sun.security.*;
117                 *;
118             </Import-Package>
119           </instructions>
120         </configuration>
121       </plugin>
122
123       <plugin>
124         <groupId>org.jacoco</groupId>
125         <artifactId>jacoco-maven-plugin</artifactId>
126         <configuration>
127           <includes>
128             <include>org.opendaylight.controller.*</include>
129
130           </includes>
131           <excludes>
132               <exclude>org.opendaylight.controller.config.yang.config.*</exclude>
133           </excludes>
134           <check>false</check>
135         </configuration>
136         <executions>
137           <execution>
138             <id>pre-test</id>
139             <goals>
140               <goal>prepare-agent</goal>
141             </goals>
142           </execution>
143           <execution>
144             <id>post-test</id>
145             <goals>
146               <goal>report</goal>
147             </goals>
148             <phase>test</phase>
149           </execution>
150         </executions>
151       </plugin>
152       <plugin>
153         <groupId>org.apache.maven.plugins</groupId>
154         <artifactId>maven-checkstyle-plugin</artifactId>
155         <configuration>
156           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
157         </configuration>
158       </plugin>
159     </plugins>
160   </build>
161 </project>