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/api-parent/pom.xml | 81 ++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 70 insertions(+), 11 deletions(-) (limited to 'common/api-parent') diff --git a/common/api-parent/pom.xml b/common/api-parent/pom.xml index 0a37c7918..d4f77cd7f 100644 --- a/common/api-parent/pom.xml +++ b/common/api-parent/pom.xml @@ -30,20 +30,79 @@ api-parent 1.0.0-SNAPSHOT pom + - + + + + 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