Switch to spotbugs
[yangtools.git] / yang / yang-model-util / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <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">
11
12     <parent>
13         <groupId>org.opendaylight.odlparent</groupId>
14         <artifactId>bundle-parent</artifactId>
15         <version>4.0.0</version>
16         <relativePath/>
17     </parent>
18
19     <modelVersion>4.0.0</modelVersion>
20     <groupId>org.opendaylight.yangtools</groupId>
21     <artifactId>yang-model-util</artifactId>
22     <version>2.1.0-SNAPSHOT</version>
23     <packaging>bundle</packaging>
24     <name>${project.artifactId}</name>
25     <description>${project.artifactId}</description>
26
27     <properties>
28         <sonar.jacoco.reportPath>${project.basedir}/../../target/jacoco.exec</sonar.jacoco.reportPath>
29     </properties>
30
31     <dependencyManagement>
32         <dependencies>
33             <dependency>
34                 <groupId>org.opendaylight.yangtools</groupId>
35                 <artifactId>yangtools-artifacts</artifactId>
36                 <version>2.1.0-SNAPSHOT</version>
37                 <scope>import</scope>
38                 <type>pom</type>
39             </dependency>
40         </dependencies>
41     </dependencyManagement>
42
43     <dependencies>
44         <dependency>
45             <groupId>${project.groupId}</groupId>
46             <artifactId>yang-model-api</artifactId>
47         </dependency>
48
49         <dependency>
50             <groupId>org.opendaylight.yangtools</groupId>
51             <artifactId>mockito-configuration</artifactId>
52             <scope>test</scope>
53         </dependency>
54         <dependency>
55             <groupId>ch.qos.logback</groupId>
56             <artifactId>logback-classic</artifactId>
57             <scope>test</scope>
58         </dependency>
59     </dependencies>
60
61     <build>
62         <plugins>
63             <plugin>
64                 <groupId>org.apache.maven.plugins</groupId>
65                 <artifactId>maven-checkstyle-plugin</artifactId>
66                 <configuration>
67                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
68                 </configuration>
69             </plugin>
70             <plugin>
71                 <groupId>com.github.spotbugs</groupId>
72                 <artifactId>spotbugs-maven-plugin</artifactId>
73                 <configuration>
74                     <failOnError>true</failOnError>
75                 </configuration>
76             </plugin>
77         </plugins>
78     </build>
79
80 </project>