Fix checkstyle/findbugs violations in the toaster sample
[controller.git] / opendaylight / md-sal / samples / toaster-provider / 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.7.0-SNAPSHOT</version>
8     <relativePath>../../../config/config-parent</relativePath>
9   </parent>
10
11   <groupId>org.opendaylight.controller.samples</groupId>
12   <artifactId>sample-toaster-provider</artifactId>
13   <version>1.6.0-SNAPSHOT</version>
14   <packaging>bundle</packaging>
15
16   <dependencyManagement>
17     <dependencies>
18       <dependency>
19         <groupId>org.opendaylight.controller</groupId>
20         <artifactId>mdsal-artifacts</artifactId>
21         <version>1.6.0-SNAPSHOT</version>
22         <type>pom</type>
23         <scope>import</scope>
24       </dependency>
25     </dependencies>
26   </dependencyManagement>
27
28   <dependencies>
29     <dependency>
30       <groupId>${project.groupId}</groupId>
31       <artifactId>sample-toaster</artifactId>
32       <version>${project.version}</version>
33     </dependency>
34     <dependency>
35       <groupId>org.opendaylight.controller</groupId>
36       <artifactId>sal-binding-api</artifactId>
37     </dependency>
38     <dependency>
39       <groupId>org.opendaylight.controller</groupId>
40       <artifactId>sal-binding-config</artifactId>
41     </dependency>
42     <dependency>
43       <groupId>org.opendaylight.controller</groupId>
44       <artifactId>sal-common-util</artifactId>
45     </dependency>
46     <dependency>
47       <groupId>org.osgi</groupId>
48       <artifactId>org.osgi.core</artifactId>
49     </dependency>
50
51     <!-- dependencies to use AbstractDataBrokerTest -->
52     <dependency>
53       <groupId>org.opendaylight.controller</groupId>
54       <artifactId>sal-binding-broker-impl</artifactId>
55       <scope>test</scope>
56     </dependency>
57     <dependency>
58       <groupId>org.opendaylight.controller</groupId>
59       <artifactId>sal-binding-broker-impl</artifactId>
60       <type>test-jar</type>
61       <scope>test</scope>
62     </dependency>
63     <dependency>
64         <artifactId>junit</artifactId>
65         <groupId>junit</groupId>
66         <scope>test</scope>
67     </dependency>
68     <!-- used to mock up classes -->
69      <dependency>
70       <groupId>org.mockito</groupId>
71       <artifactId>mockito-core</artifactId>
72       <scope>test</scope>
73     </dependency>
74
75     <dependency>
76       <groupId>com.google.guava</groupId>
77       <artifactId>guava</artifactId>
78     </dependency>
79   </dependencies>
80
81   <build>
82     <plugins>
83       <plugin>
84          <groupId>org.apache.maven.plugins</groupId>
85          <artifactId>maven-checkstyle-plugin</artifactId>
86          <configuration>
87            <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
88          </configuration>
89       </plugin>
90       <plugin>
91         <groupId>org.codehaus.mojo</groupId>
92         <artifactId>findbugs-maven-plugin</artifactId>
93         <configuration>
94           <failOnError>true</failOnError>
95         </configuration>
96       </plugin>
97     </plugins>
98   </build>
99
100   <scm>
101     <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
102     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
103     <tag>HEAD</tag>
104     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
105   </scm>
106 </project>