From 36cbb7b597107234f9f5673cfa103e38f4a7cad7 Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Tue, 15 Dec 2015 18:16:54 -0500 Subject: [PATCH] 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 --- opendaylight/config/yang-test/pom.xml | 54 +++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) 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 -- 2.36.6