Fix Sonar integration
[yangtools.git] / yang / yang-parser-spi / pom.xml
index 88111c064474fb442bc547d70c76817b3891f2cc..05f442110dacb438eec6fc1493a52c501b65e11c 100644 (file)
                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>findbugs-maven-plugin</artifactId>
+                <configuration>
+                    <failOnError>true</failOnError>
+                </configuration>
+            </plugin>
             <plugin>
                 <groupId>org.jacoco</groupId>
                 <artifactId>jacoco-maven-plugin</artifactId>
                             <destFile>${project.build.directory}/code-coverage/jacoco.exec</destFile>
                         </configuration>
                     </execution>
-                    <execution>
-                        <id>post-unit-test</id>
-                        <goals>
-                            <goal>report</goal>
-                        </goals>
-                        <configuration>
-                            <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
-                        </configuration>
-                    </execution>
                 </executions>
             </plugin>
         </plugins>