Code Review
/
yangtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Switch to spotbugs
[yangtools.git]
/
yang
/
yang-model-api
/
pom.xml
diff --git
a/yang/yang-model-api/pom.xml
b/yang/yang-model-api/pom.xml
index d0b4c7ad558005bc30d523b0f15b2a4dffcdd4b6..3fc97201ce8f0714e49f5cd8a296681c01365da9 100644
(file)
--- a/
yang/yang-model-api/pom.xml
+++ b/
yang/yang-model-api/pom.xml
@@
-12,24
+12,28
@@
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>bundle-parent</artifactId>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>bundle-parent</artifactId>
- <version>
3.1
.0</version>
+ <version>
4.0
.0</version>
<relativePath/>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.opendaylight.yangtools</groupId>
<artifactId>yang-model-api</artifactId>
<relativePath/>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.opendaylight.yangtools</groupId>
<artifactId>yang-model-api</artifactId>
- <version>2.
0.3
-SNAPSHOT</version>
+ <version>2.
1.0
-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>${project.artifactId}</name>
<description>${project.artifactId}</description>
<packaging>bundle</packaging>
<name>${project.artifactId}</name>
<description>${project.artifactId}</description>
+ <properties>
+ <sonar.jacoco.reportPath>${project.basedir}/../../target/jacoco.exec</sonar.jacoco.reportPath>
+ </properties>
+
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.opendaylight.yangtools</groupId>
<artifactId>yangtools-artifacts</artifactId>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.opendaylight.yangtools</groupId>
<artifactId>yangtools-artifacts</artifactId>
- <version>2.
0.3
-SNAPSHOT</version>
+ <version>2.
1.0
-SNAPSHOT</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<scope>import</scope>
<type>pom</type>
</dependency>
@@
-60,6
+64,13
@@
<propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
</configuration>
</plugin>
<propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
</configuration>
</plugin>
+ <plugin>
+ <groupId>com.github.spotbugs</groupId>
+ <artifactId>spotbugs-maven-plugin</artifactId>
+ <configuration>
+ <failOnError>true</failOnError>
+ </configuration>
+ </plugin>
</plugins>
</build>
</plugins>
</build>