diff --git a/multi/multi__checkstyle.html b/multi/multi__checkstyle.html
index 4c8a2dde..ad391579 100644
--- a/multi/multi__checkstyle.html
+++ b/multi/multi__checkstyle.html
@@ -23,13 +23,13 @@
<build>
<plugins>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-checkstyle-plugin</artifactId>
- </plugin>
- <plugin>
<groupId>io.spring.javaformat</groupId>
<artifactId>spring-javaformat-maven-plugin</artifactId>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ </plugin>
</plugins>
</build>
@@ -42,7 +42,7 @@
</plugins>
</reporting>
</build>
-
Fails the build upon Checkstyle errors | |
Fails the build upon Checkstyle violations | |
Checkstyle analyzes also the test sources | |
Add checkstyle plugin to your build and reporting phases | |
Add the Spring Java Format plugin that will reformat your code to pass most of the Checkstyle formatting rules |
If you need to suppress some rules (e.g. line length needs to be longer), then it’s enough for you to define a file under ${project.root}/src/checkstyle/checkstyle-suppressions.xml with your suppressions. Example:
projectRoot/src/checkstyle/checkstyle-suppresions.xml. +
Fails the build upon Checkstyle errors | |
Fails the build upon Checkstyle violations | |
Checkstyle analyzes also the test sources | |
Add the Spring Java Format plugin that will reformat your code to pass most of the Checkstyle formatting rules | |
Add checkstyle plugin to your build and reporting phases |
If you need to suppress some rules (e.g. line length needs to be longer), then it’s enough for you to define a file under ${project.root}/src/checkstyle/checkstyle-suppressions.xml with your suppressions. Example:
projectRoot/src/checkstyle/checkstyle-suppresions.xml.
<?xml version="1.0"?> <!DOCTYPE suppressions PUBLIC "-//Puppy Crawl//DTD Suppressions 1.1//EN" diff --git a/single/spring-cloud-build.html b/single/spring-cloud-build.html index d6da4838..14a31ce2 100644 --- a/single/spring-cloud-build.html +++ b/single/spring-cloud-build.html @@ -24,13 +24,13 @@ to use for plugin and dependency management.- <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-checkstyle-plugin</artifactId> - </plugin> - <plugin>
<groupId>io.spring.javaformat</groupId> <artifactId>spring-javaformat-maven-plugin</artifactId> </plugin> + <plugin>
+ <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + </plugin> </plugins> </build> @@ -43,7 +43,7 @@ to use for plugin and dependency management.
-
Fails the build upon Checkstyle errors
Fails the build upon Checkstyle violations
Checkstyle analyzes also the test sources
Add checkstyle plugin to your build and reporting phases
Add the Spring Java Format plugin that will reformat your code to pass most of the Checkstyle formatting rules
If you need to suppress some rules (e.g. line length needs to be longer), then it’s enough for you to define a file under
${project.root}/src/checkstyle/checkstyle-suppressions.xmlwith your suppressions. Example:projectRoot/src/checkstyle/checkstyle-suppresions.xml. +
Fails the build upon Checkstyle errors
Fails the build upon Checkstyle violations
Checkstyle analyzes also the test sources
Add the Spring Java Format plugin that will reformat your code to pass most of the Checkstyle formatting rules
Add checkstyle plugin to your build and reporting phases
If you need to suppress some rules (e.g. line length needs to be longer), then it’s enough for you to define a file under
${project.root}/src/checkstyle/checkstyle-suppressions.xmlwith your suppressions. Example:projectRoot/src/checkstyle/checkstyle-suppresions.xml.
<?xml version="1.0"?> <!DOCTYPE suppressions PUBLIC "-//Puppy Crawl//DTD Suppressions 1.1//EN" diff --git a/spring-cloud-build.xml b/spring-cloud-build.xml index 29d2b3d2..96dea0cf 100644 --- a/spring-cloud-build.xml +++ b/spring-cloud-build.xml @@ -83,13 +83,13 @@ to use for plugin and dependency management. <build> <plugins> <plugin>- <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-checkstyle-plugin</artifactId> - </plugin> - <plugin> <groupId>io.spring.javaformat</groupId> <artifactId>spring-javaformat-maven-plugin</artifactId> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + </plugin> </plugins> </build> @@ -114,12 +114,12 @@ to use for plugin and dependency management. - Checkstyle analyzes also the test sources - -Add checkstyle plugin to your build and reporting phases -+ + Add the Spring Java Format plugin that will reformat your code to pass most of the Checkstyle formatting rules + Add checkstyle plugin to your build and reporting phases +If you need to suppress some rules (e.g. line length needs to be longer), then it’s enough for you to define a file under ${project.root}/src/checkstyle/checkstyle-suppressions.xml with your suppressions. Example: