From 7aa4139b0ec1735ee18ac924ecd10148a49aab05 Mon Sep 17 00:00:00 2001 From: Vishal Thapar Date: Wed, 1 Apr 2015 18:54:22 +0530 Subject: [PATCH] Interfacemgr: Enable checkstyle fail-on-error 1. Enable checkstyle fail on error for interfacemgr-impl 2. Fixed a mvn warning in interfacemgr/pom.xml Change-Id: I8b7150f62cd68b9afd0136ef0caf97c3047546ae Signed-off-by: Vishal Thapar --- commons/src/main/resources/odl_checks.xml | 220 ++++++++++++++++++++++ interfacemgr/interfacemgr-impl/pom.xml | 17 ++ interfacemgr/pom.xml | 1 + 3 files changed, 238 insertions(+) create mode 100644 commons/src/main/resources/odl_checks.xml diff --git a/commons/src/main/resources/odl_checks.xml b/commons/src/main/resources/odl_checks.xml new file mode 100644 index 00000000..da55fb5f --- /dev/null +++ b/commons/src/main/resources/odl_checks.xml @@ -0,0 +1,220 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/interfacemgr/interfacemgr-impl/pom.xml b/interfacemgr/interfacemgr-impl/pom.xml index cfbee4fd..9f7df5d1 100644 --- a/interfacemgr/interfacemgr-impl/pom.xml +++ b/interfacemgr/interfacemgr-impl/pom.xml @@ -35,4 +35,21 @@ and is available at http://www.eclipse.org/legal/epl-v10.html + + + + org.apache.maven.plugins + maven-checkstyle-plugin + + + ${project.basedir}/../../commons/src/main/resources/odl_checks.xml + + true + **/*.java,**/*.xml,**/*.ini,**/*.sh,**/*.bat + **/yang/ + + + + + diff --git a/interfacemgr/pom.xml b/interfacemgr/pom.xml index fe3de1f8..31f16a60 100644 --- a/interfacemgr/pom.xml +++ b/interfacemgr/pom.xml @@ -11,6 +11,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL org.opendaylight.odlparent odlparent 1.5.0-SNAPSHOT + org.opendaylight.vpnservice -- 2.36.6