BUG-7464: enable checkstyle plugin
[yangtools.git] / third-party / triemap / pom.xml
index 3399a7a97bb04e528b47635caace45a92578e70d..836cd6ab4eef43a2dfd907227ddb502c79a1edc1 100644 (file)
     <build>
         <plugins>
             <plugin>
-                <!-- This project has a different license -->
                 <artifactId>maven-checkstyle-plugin</artifactId>
                 <configuration>
-                    <skip>true</skip>
+                    <propertyExpansion>checkstyle.violationSeverity=warning</propertyExpansion>
+                </configuration>
+                <executions>
+                    <execution>
+                        <id>check-license</id>
+                        <goals>
+                            <goal>check</goal>
+                        </goals>
+                        <configuration>
+                            <!-- This project has a different license -->
+                            <skip>true</skip>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>findbugs-maven-plugin</artifactId>
+                <configuration>
+                    <failOnError>true</failOnError>
                 </configuration>
             </plugin>
         </plugins>