BUG-7464: enable checkstyle plugin
[yangtools.git] / third-party / triemap / pom.xml
index cdec858a9fcfac42bc4abae6ca57f39a51b76c78..836cd6ab4eef43a2dfd907227ddb502c79a1edc1 100644 (file)
     <description>Java implementation of a concurrent trie hash map from Scala collections library</description>
 
     <dependencies>
+        <dependency>
+            <groupId>com.google.guava</groupId>
+            <artifactId>guava</artifactId>
+        </dependency>
         <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
     <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>