Skip to content

Commit a8caaa1

Browse files
committed
build with jdk17
1 parent d69fe25 commit a8caaa1

File tree

2 files changed

+43
-8
lines changed

2 files changed

+43
-8
lines changed

README.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,26 @@ We will try to stay in sync with CSSParser regarding the features in the future.
1818

1919
[HtmlUnit@mastodon](https://fosstodon.org/@HtmlUnit) | [HtmlUnit@bsky](https://bsky.app/profile/htmlunit.bsky.social) | [HtmlUnit@Twitter](https://twitter.com/HtmlUnit)
2020

21+
#### Version 5
22+
23+
Work on HtmlUnit-CSSParser 5.0 has started. This new major version will require **JDK 17 or higher**.
24+
25+
26+
#### Legacy Support (JDK 8)
27+
28+
If you need to continue using **JDK 8**, please note that versions 4.x will remain available as-is. However,
29+
**ongoing maintenance and fixes for JDK 8 compatibility are only available through sponsorship**.
30+
31+
Maintaining separate fix versions for JDK 8 requires significant additional effort for __backporting__, testing, and release management.
32+
33+
**To enable continued JDK 8 support**, please contact me via email to discuss sponsorship options. Sponsorship provides:
34+
35+
- __Backporting__ security and bug fixes to the 4.x branch
36+
- Maintaining compatibility with older Java versions
37+
- Timely releases for critical issues
38+
39+
Without sponsorship, the 4.x branch will not receive updates. Your support ensures the long-term __sustainability__ of this project across multiple Java versions.
40+
2141
### Latest release Version 4.21.0 / December 28, 2025
2242

2343
## Get it!
@@ -161,3 +181,17 @@ This project is licensed under the Apache 2.0 License
161181
## Acknowledgments
162182

163183
Many thanks to all of you contributing to HtmlUnit/CSSParser/Rhino in the past.
184+
185+
## Development Tools
186+
187+
Special thanks to:
188+
189+
<a href="https://www.jetbrains.com/community/opensource/"><img src="https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.svg" alt="JetBrains" width="42"></a>
190+
<a href="https://www.jetbrains.com/idea/"><img src="https://resources.jetbrains.com/storage/products/company/brand/logos/IntelliJ_IDEA_icon.svg" alt="IntelliJ IDEA" width="42"></a>
191+
**[JetBrains](https://www.jetbrains.com/)** for providing IntelliJ IDEA under their [open source development license](https://www.jetbrains.com/community/opensource/) and
192+
193+
<a href="https://www.eclipse.org/"><img src="https://www.eclipse.org/eclipse.org-common/themes/solstice/public/images/logo/eclipse-foundation-grey-orange.svg" alt="Eclipse Foundation" width="80"></a>
194+
Eclipse Foundation for their Eclipse IDE
195+
196+
<a href="https://www.syntevo.com/smartgit/"><img src="https://www.syntevo.com/assets/images/logos/smartgit-8c1aa1e2.svg" alt="SmartGit" width="54"></a>
197+
to **[Syntevo](https://www.syntevo.com/)** for their excellent [SmartGit](https://www.smartgit.dev/)!

pom.xml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>org.htmlunit</groupId>
66
<artifactId>htmlunit-cssparser</artifactId>
7-
<version>4.21.0</version>
7+
<version>5.0.0-SNAPSHOT</version>
88
<name>HtmlUnit CSS Parser</name>
99
<organization>
1010
<name>HtmlUnit</name>
@@ -17,16 +17,17 @@
1717
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1818
<maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
1919

20-
<maven.compiler.source>8</maven.compiler.source>
21-
<maven.compiler.target>8</maven.compiler.target>
20+
<maven.compiler.source>17</maven.compiler.source>
21+
<maven.compiler.target>17</maven.compiler.target>
22+
23+
<maven.version.ignore>(?i).*-(alpha|beta|m|rc)([\.-]?\d+)?</maven.version.ignore>
2224

2325
<!-- test dependencies -->
24-
<junit.version>5.14.1</junit.version>
25-
<junit-launcher.version>1.14.1</junit-launcher.version>
26+
<junit.version>6.0.2</junit.version>
2627
<commons-io.version>2.21.0</commons-io.version>
2728

2829
<!-- quality -->
29-
<checkstyle.version>12.3.0</checkstyle.version>
30+
<checkstyle.version>13.0.0</checkstyle.version>
3031
<dependencycheck.version>10.0.4</dependencycheck.version>
3132

3233
<!-- plugins -->
@@ -60,7 +61,7 @@
6061
<version>3.6.3</version>
6162
</requireMavenVersion>
6263
<requireJavaVersion>
63-
<version>1.8.0</version>
64+
<version>17</version>
6465
</requireJavaVersion>
6566
</rules>
6667
</configuration>
@@ -365,7 +366,7 @@
365366
<dependency>
366367
<groupId>org.junit.platform</groupId>
367368
<artifactId>junit-platform-launcher</artifactId>
368-
<version>${junit-launcher.version}</version>
369+
<version>${junit.version}</version>
369370
<scope>test</scope>
370371
</dependency>
371372
<dependency>

0 commit comments

Comments
 (0)