Enforce checkstyle in maven-plugin
[yangtools.git] / yang / yang-maven-plugin-spi / pom.xml
index 44ea54af986d04a99e378606c5ee1ca5c0d05197..a9e7ed2d0c6d1fd6fd967d260a756152fc3b7e70 100644 (file)
 
     <build>
         <plugins>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-checkstyle-plugin</artifactId>
+                               <configuration>
+                                       <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
+                               </configuration>
+                       </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-jar-plugin</artifactId>