Skip to content

Commit f45ed0e

Browse files
committed
Don't validate HelpMojo formatting
The `HelpMojo` class is always generated and it should not be checked for formatting. See gh-13255
1 parent e75d8ea commit f45ed0e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

spring-boot-parent/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,11 @@
506506
<groupId>io.spring.javaformat</groupId>
507507
<artifactId>spring-javaformat-maven-plugin</artifactId>
508508
<version>${spring-javaformat.version}</version>
509+
<configuration>
510+
<excludes>
511+
<exclude>**/HelpMojo.java</exclude>
512+
</excludes>
513+
</configuration>
509514
<executions>
510515
<execution>
511516
<phase>validate</phase>

0 commit comments

Comments
 (0)