Skip to content

Commit 6ec70a5

Browse files
author
KaranMishra3610
committed
Refactor: Apply Iterator pattern to SudokuBoard
1 parent 4a04e9d commit 6ec70a5

File tree

1 file changed

+29
-17
lines changed

1 file changed

+29
-17
lines changed

pom.xml

Lines changed: 29 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -100,23 +100,35 @@
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>

0 commit comments

Comments
 (0)