From: Thanh Ha Date: Tue, 15 Dec 2015 23:16:54 +0000 (-0500) Subject: Override license checker for yang-test X-Git-Tag: release/beryllium~59 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=36cbb7b597107234f9f5673cfa103e38f4a7cad7;ds=sidebyside Override license checker for yang-test yang-test generates files which prevents us from validating license headers correctly. Change-Id: I4755f702a87fc428162b75e8359ca5132264a60a Signed-off-by: Thanh Ha --- diff --git a/opendaylight/config/yang-test/pom.xml b/opendaylight/config/yang-test/pom.xml index b8cec8ee13..44e6567886 100644 --- a/opendaylight/config/yang-test/pom.xml +++ b/opendaylight/config/yang-test/pom.xml @@ -96,6 +96,60 @@ + + + maven-checkstyle-plugin + ${checkstyle.version} + + + org.opendaylight.odlparent + checkstyle + ${odl.checkstyle.version} + + + org.opendaylight.odlparent + odl-license + 0.0.1-SNAPSHOT + + + + odl_checks.xml + + ${project.build.sourceDirectory} + + org/opendaylight/yang/gen/**, + **/protobuff/messages/**, + **/thrift/gen/*.java + + false + true + + + + check-license + + check + + process-sources + + check-license.xml + false + false + ${project.build.sourceDirectory} + + org/opendaylight/yang/gen/**, + **/protobuff/messages/**, + **/thrift/gen/*.java, + **/config/yang/test/** + + false + true + + + + + org.opendaylight.controller yang-test-plugin