From 2e986256a2b7f5bc220f640fe85bea086787a659 Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Tue, 20 Nov 2018 13:47:13 -0500 Subject: [PATCH] GH-62: Fix Checkstyle plugin configuration (#77) Fixes spring-cloud/spring-cloud-build#62 Since Checkstyle plugin is declared in the dependency management, we can't use a relative path to Checkstyle resources. We can only rely on the classpath as it is present in the `spring-cloud-build-tools` dependency, so downstream projects just rely on the common Checkstyle configuration from the parent --- pom.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 8060cc3f..d4b1a063 100644 --- a/pom.xml +++ b/pom.xml @@ -325,7 +325,8 @@ limitations under the License. validate true - spring-cloud-build-tools/src/main/resources/checkstyle-header.txt + checkstyle.xml + checkstyle-header.txt checkstyle.build.directory=${project.build.directory} true