Skip to content

Commit 020605b

Browse files
author
KaranMishra3610
committed
Refactor: Apply Iterator pattern to SudokuBoard
1 parent edf6c98 commit 020605b

File tree

1 file changed

+28
-39
lines changed

1 file changed

+28
-39
lines changed

pom.xml

Lines changed: 28 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@
6666
<forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/>
6767
</configuration>
6868
</plugin>
69-
7069
<plugin>
7170
<groupId>org.apache.maven.plugins</groupId>
7271
<artifactId>maven-compiler-plugin</artifactId>
@@ -81,7 +80,6 @@
8180
</compilerArgs>
8281
</configuration>
8382
</plugin>
84-
8583
<plugin>
8684
<groupId>org.jacoco</groupId>
8785
<artifactId>jacoco-maven-plugin</artifactId>
@@ -101,43 +99,35 @@
10199
</execution>
102100
</executions>
103101
</plugin>
104-
105-
<!-- ✅ Fixed Checkstyle -->
106102
<plugin>
107-
<groupId>org.apache.maven.plugins</groupId>
108-
<artifactId>maven-checkstyle-plugin</artifactId>
109-
<version>3.6.0</version>
110-
<executions>
111-
<execution>
112-
<id>checkstyle</id>
113-
<phase>verify</phase>
114-
<goals>
115-
<goal>check</goal>
116-
</goals>
117-
<configuration>
118-
<configLocation>checkstyle.xml</configLocation>
119-
<consoleOutput>true</consoleOutput>
120-
<includeTestSourceDirectory>true</includeTestSourceDirectory>
121-
<violationSeverity>warning</violationSeverity>
122-
<failOnViolation>false</failOnViolation>
123-
<includes>
124-
<include>src/main/java/**/*.java</include>
125-
<include>src/test/java/**/*.java</include>
126-
</includes>
127-
<excludes>
128-
<exclude>target/**</exclude>
129-
</excludes>
130-
</configuration>
131-
</execution>
132-
</executions>
133-
<dependencies>
134-
<dependency>
135-
<groupId>com.puppycrawl.tools</groupId>
136-
<artifactId>checkstyle</artifactId>
137-
<version>11.0.0</version>
138-
</dependency>
139-
</dependencies>
140-
</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>
141131

142132
<plugin>
143133
<groupId>com.github.spotbugs</groupId>
@@ -160,7 +150,6 @@
160150
</plugins>
161151
</configuration>
162152
</plugin>
163-
164153
<plugin>
165154
<groupId>org.apache.maven.plugins</groupId>
166155
<artifactId>maven-pmd-plugin</artifactId>

0 commit comments

Comments
 (0)