From 8be2db7972de31d125f34e4beed82433f202f4bd Mon Sep 17 00:00:00 2001 From: Milos Fabian Date: Wed, 4 Jun 2014 17:21:39 +0200 Subject: [PATCH] Checkstyle maven plugin check - md-sal -violations do not fail build -rules defined in yangtools/common/checkstyle-logging https://git.opendaylight.org/gerrit/#/c/7595/ https://git.opendaylight.org/gerrit/#/c/7108/ Change-Id: I5cc6f833be8d6d6ad61d63d38a2ee0fffe2d75f6 Signed-off-by: Milos Fabian --- opendaylight/md-sal/pom.xml | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/opendaylight/md-sal/pom.xml b/opendaylight/md-sal/pom.xml index 94bd0731aa..9222734360 100644 --- a/opendaylight/md-sal/pom.xml +++ b/opendaylight/md-sal/pom.xml @@ -143,12 +143,32 @@ + org.apache.maven.plugins maven-checkstyle-plugin - ${checkstyle.version} + 2.12 + + false + false + checkstyle-logging.xml + true + true + ${project.basedir} + **\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang + **\/target\/,**\/bin\/,**\/target-ide\/,**\/${jmxGeneratorPath}\/,**\/${salGeneratorPath}\/ + + + + org.opendaylight.yangtools + checkstyle-logging + ${yangtools.version} + + - none + + check + -- 2.36.6