From 2b6c5f5dd1530499f3657c8e86fb9c0246c80d73 Mon Sep 17 00:00:00 2001 From: Maros Marsalek Date: Thu, 27 Oct 2016 14:55:07 +0200 Subject: HONEYCOMB-274 Fix checkstyle license checks Change-Id: I9a7783bf072b2e2396f0fa1a784bcb57adb689b4 Signed-off-by: Maros Marsalek --- .../resources/honeycomb-checkstyle-license.xml | 32 ++++++++++++++++++++++ .../resources/honeycomb-checkstyle-logging.xml | 2 +- .../src/main/resources/honeycomb-checkstyle.xml | 1 - common/honeycomb-parent/pom.xml | 24 ++++++++-------- 4 files changed, 44 insertions(+), 15 deletions(-) create mode 100644 common/checkstyle/src/main/resources/honeycomb-checkstyle-license.xml (limited to 'common') diff --git a/common/checkstyle/src/main/resources/honeycomb-checkstyle-license.xml b/common/checkstyle/src/main/resources/honeycomb-checkstyle-license.xml new file mode 100644 index 000000000..d0c32e289 --- /dev/null +++ b/common/checkstyle/src/main/resources/honeycomb-checkstyle-license.xml @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/common/checkstyle/src/main/resources/honeycomb-checkstyle-logging.xml b/common/checkstyle/src/main/resources/honeycomb-checkstyle-logging.xml index 79bdbfd7a..2f5296ec0 100644 --- a/common/checkstyle/src/main/resources/honeycomb-checkstyle-logging.xml +++ b/common/checkstyle/src/main/resources/honeycomb-checkstyle-logging.xml @@ -9,7 +9,7 @@ "http://www.puppycrawl.com/dtds/configuration_1_2.dtd"> - + diff --git a/common/checkstyle/src/main/resources/honeycomb-checkstyle.xml b/common/checkstyle/src/main/resources/honeycomb-checkstyle.xml index ae631c994..e3a220742 100644 --- a/common/checkstyle/src/main/resources/honeycomb-checkstyle.xml +++ b/common/checkstyle/src/main/resources/honeycomb-checkstyle.xml @@ -9,7 +9,6 @@ - diff --git a/common/honeycomb-parent/pom.xml b/common/honeycomb-parent/pom.xml index dce5407b4..d050a919d 100644 --- a/common/honeycomb-parent/pom.xml +++ b/common/honeycomb-parent/pom.xml @@ -59,7 +59,7 @@ 2.17 - 6.16 + 7.1.2 2.10.3 0.7.2.201409121644 1.4 @@ -205,11 +205,12 @@ maven-checkstyle-plugin ${checkstyle.plugin.version} - - honeycomb-checkstyle.xml - true - + false + true + true + true + true **\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang **\/target\/, **\/bin\/, @@ -222,7 +223,6 @@ **\/archetype-resources\/ - check-license @@ -231,13 +231,10 @@ process-sources - HONEYCOMB_LICENSE.txt - true - true + honeycomb-checkstyle-license.xml ${project.build.directory}/checkstyle-license-result.xml - check-logging @@ -246,19 +243,20 @@ process-sources - true honeycomb-checkstyle-logging.xml - true - true ${project.basedir} ${project.build.directory}/checkstyle-logging-result.xml + check process-sources + + honeycomb-checkstyle.xml + -- cgit 1.2.3-korg