Remove unneeded SuppressWarnings
[controller.git] / opendaylight / md-sal / sal-akka-raft / pom.xml
index 9e35228c2297f2df80738f547e4d07123877e3e6..ad8a7367a08b48a6f9dc057e5a65a77d76db0028 100644 (file)
@@ -79,7 +79,7 @@
     </dependency>
     <dependency>
       <groupId>org.mockito</groupId>
-      <artifactId>mockito-all</artifactId>
+      <artifactId>mockito-core</artifactId>
       <scope>test</scope>
     </dependency>
 
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-checkstyle-plugin</artifactId>
         <configuration>
-            <excludes>**/protobuff/**/*,**/target/**/*</excludes>
+          <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>findbugs-maven-plugin</artifactId>
+        <configuration>
+          <failOnError>true</failOnError>
         </configuration>
       </plugin>
-
     </plugins>
   </build>
   <scm>