From 259b35bfcb241a35823e37fee0ebae6c68a2fd1c Mon Sep 17 00:00:00 2001 From: Slawomir Jaranowski Date: Tue, 20 Feb 2024 16:58:11 +0100 Subject: [PATCH] Use simple checkstyle rules since spotless is executed by default --- pom.xml | 6 +++--- src/site/markdown/index.md.vm | 13 ------------- 2 files changed, 3 insertions(+), 16 deletions(-) diff --git a/pom.xml b/pom.xml index e263dd60..3ebceeb2 100644 --- a/pom.xml +++ b/pom.xml @@ -238,8 +238,8 @@ 5.10.2 9.3 - - config/maven_checks_nocodestyle.xml + + config/maven_checks_nocodestyle.xml true @@ -300,7 +300,7 @@ src/test/java true - config/maven_checks.xml + ${checkstyle.config.location} mojohaus/config/checkstyle/empty-header.txt diff --git a/src/site/markdown/index.md.vm b/src/site/markdown/index.md.vm index 91934d5f..f63dc02c 100644 --- a/src/site/markdown/index.md.vm +++ b/src/site/markdown/index.md.vm @@ -71,19 +71,6 @@ Checkstyle can be enabled by adding to build/plugins`: ``` -When you want to use `checkstyle` together with `spotless`, please add: - -```xml - - org.apache.maven.plugins - maven-checkstyle-plugin - - ${checkstyle.spotless.config} - - -``` - - Big code reformat -----------------