File tree Expand file tree Collapse file tree 1 file changed +29
-17
lines changed Expand file tree Collapse file tree 1 file changed +29
-17
lines changed Original file line number Diff line number Diff line change 100100 </executions >
101101 </plugin >
102102 <plugin >
103- <groupId >org.apache.maven.plugins</groupId >
104- <artifactId >maven-checkstyle-plugin</artifactId >
105- <version >3.6.0</version >
106- <configuration >
107- <configLocation >checkstyle.xml</configLocation >
108- <consoleOutput >true</consoleOutput >
109- <includeTestSourceDirectory >true</includeTestSourceDirectory >
110- <violationSeverity >warning</violationSeverity >
111- </configuration >
112- <dependencies >
113- <dependency >
114- <groupId >com.puppycrawl.tools</groupId >
115- <artifactId >checkstyle</artifactId >
116- <version >11.0.0</version >
117- </dependency >
118- </dependencies >
119- </plugin >
103+ <groupId >org.apache.maven.plugins</groupId >
104+ <artifactId >maven-checkstyle-plugin</artifactId >
105+ <version >3.6.0</version >
106+ <executions >
107+ <execution >
108+ <id >checkstyle</id >
109+ <phase >verify</phase >
110+ <goals >
111+ <goal >check</goal >
112+ </goals >
113+ <configuration >
114+ <configLocation >checkstyle.xml</configLocation >
115+ <consoleOutput >true</consoleOutput >
116+ <includeTestSourceDirectory >true</includeTestSourceDirectory >
117+ <violationSeverity >warning</violationSeverity >
118+ <!-- 👇 This line makes sure violations don’t fail your build -->
119+ <failOnViolation >false</failOnViolation >
120+ </configuration >
121+ </execution >
122+ </executions >
123+ <dependencies >
124+ <dependency >
125+ <groupId >com.puppycrawl.tools</groupId >
126+ <artifactId >checkstyle</artifactId >
127+ <version >11.0.0</version >
128+ </dependency >
129+ </dependencies >
130+ </plugin >
131+
120132 <plugin >
121133 <groupId >com.github.spotbugs</groupId >
122134 <artifactId >spotbugs-maven-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments