Enforce checkstyle in maven-plugin
[yangtools.git] / yang / yang-maven-plugin / pom.xml
index be9a03602aa24c69be1421a5c1e1a956eac59cae..c95023a0e75274e1671157addfe6cec5387557e0 100644 (file)
                     </execution>
                 </executions>
             </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-checkstyle-plugin</artifactId>
+                               <configuration>
+                                       <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
+                               </configuration>
+                       </plugin>
         </plugins>
     </build>