Interfacemgr: Enable checkstyle fail-on-error
[vpnservice.git] / interfacemgr / interfacemgr-impl / pom.xml
index cfbee4fdd32004cc4b2a36e973a04d905ca06f8c..9f7df5d14c6409a9e8cee5172b2962e5efe7043d 100644 (file)
@@ -35,4 +35,21 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
     </dependency>
   </dependencies>
 
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+        <configuration>
+          <configLocation>
+            ${project.basedir}/../../commons/src/main/resources/odl_checks.xml
+          </configLocation>
+          <failsOnError>true</failsOnError>
+          <includes>**/*.java,**/*.xml,**/*.ini,**/*.sh,**/*.bat</includes>
+          <excludes>**/yang/</excludes>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
 </project>