Skip to content

Commit 6a1b511

Browse files
committed
switch back to maven-compiler-plugin 3.10.0 (issue #457)
1 parent 98d3192 commit 6a1b511

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
<!-- As a property, as it is included in Checkstyle build -->
3838
<checkstyle.version>9.3</checkstyle.version>
39-
<spotbugs.version>4.5.3</spotbugs.version>
39+
<spotbugs.version>4.6.0</spotbugs.version>
4040
<pmd.version>6.43.0</pmd.version>
4141
<archunit.version>0.23.1</archunit.version>
4242
<dependencycheck.version>7.0.0</dependencycheck.version>
@@ -47,7 +47,7 @@
4747
<plugin>
4848
<groupId>org.apache.maven.plugins</groupId>
4949
<artifactId>maven-compiler-plugin</artifactId>
50-
<version>3.10.0</version>
50+
<version>3.9.0</version>
5151
<configuration>
5252
<testExcludes>
5353
<exclude>**/CodeChecker.java</exclude>

src/test/java/com/gargoylesoftware/htmlunit/ExternalTest.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,11 +350,17 @@ private static boolean isIgnored(@SuppressWarnings("unused") final String groupI
350350
if ("checkstyle".equals(artifactId) && (version.startsWith("10."))) {
351351
return true;
352352
}
353-
// version 3.11.x seem to requires
353+
// version 3.11.x seem to requires JDK11
354354
if ("maven-site-plugin".equals(artifactId) && (version.startsWith("3.11."))) {
355355
return true;
356356
}
357357

358+
// there is a serious bug
359+
// https://github.com/HtmlUnit/htmlunit/issues/457
360+
if ("maven-compiler-plugin".equals(artifactId) && (version.startsWith("3.10.0"))) {
361+
return true;
362+
}
363+
358364
// really old common versions
359365
if ("commons-io".equals(artifactId) && (version.startsWith("2003"))) {
360366
return true;

0 commit comments

Comments
 (0)