From d8514c6bef58fefc2afff7f2e4b4dba3633085d1 Mon Sep 17 00:00:00 2001 From: Maros Marsalek Date: Fri, 10 Jun 2016 15:56:09 +0200 Subject: Enable checkstyle Change-Id: Icb7ba90e26294b227d0bd393183ba33d99c2660b Signed-off-by: Maros Marsalek --- common/impl-parent/pom.xml | 78 ++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 68 insertions(+), 10 deletions(-) (limited to 'common/impl-parent') diff --git a/common/impl-parent/pom.xml b/common/impl-parent/pom.xml index b8672ef0e..b1717a202 100644 --- a/common/impl-parent/pom.xml +++ b/common/impl-parent/pom.xml @@ -35,19 +35,77 @@ + + + + maven-checkstyle-plugin + + + honeycomb-checkstyle.xml + true + + + + + + + check-license + + check + + process-sources + + HONEYCOMB_LICENSE.txt + true + true + ${project.build.directory}/checkstyle-license-result.xml + + + + + + check-logging + + check + + process-sources + + true + honeycomb-checkstyle-logging.xml + true + true + ${project.basedir} + **\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang + **\/target\/,**\/bin\/,**\/target-ide\/,**\/src/main/yang-gen-config\/,**\/src/main/yang-gen-sal\/,**\/src/main/xtend-gen\/,**\/src/main/yang\/ + ${project.build.directory}/checkstyle-logging-result.xml + + + + + check + + process-sources + + + + + io.fd.honeycomb.common + honeycomb-checkstyle + ${project.version} + + + + org.opendaylight.yangtools + checkstyle-logging + ${yangtools.version} + + + + + maven-checkstyle-plugin - ${checkstyle.version} - - - check-license - - check - - none - - org.apache.maven.plugins -- cgit 1.2.3-korg