GitHub - HtmlUnit/htmlunit-core-js: Tests and packaging for htmlunit-rhino-fork (original) (raw)
This project is a Rhino fork, maintained to support features needed by HtmlUnit.
It is split into two projects "htmlunit-rhino-fork", which contains the minimal changes to rhino, and "htmlunit-core-js" which has the test cases and packaging.
Notice that "org.mozilla." is renamed to "org.htmlunit.corejs."
❤️ Sponsor
Project News
HtmlUnit@mastodon | HtmlUnit@bsky | HtmlUnit@Twitter
Version 5
Starting with version 5.0.0, JDK 17 or higher is required.
If you are still on JDK 8, see Legacy Support (JDK 8) below.
Latest release Version 5.1.0 / May 31, 2026
Legacy Support (JDK 8)
If you need to continue using JDK 8, versions 4.x remain available as-is. Ongoing maintenance and fixes for JDK 8 are only available through sponsorship — please contact me via email to discuss options. Sponsorship provides:
- Backporting security and bug fixes to the 4.x branch
- Compatibility maintenance with older Java versions
- Timely releases for critical issues
Without sponsorship, the 4.x branch will not receive further updates.
Start HtmlUnit - core-js Development
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Prerequisites
You simply only need a local maven installation.
Building
Create a local clone of the repository and you are ready to start.
Open a command line window from the root folder of the project and call
Running the tests
Contributing
Pull Requests and and all other Community Contributions are essential for open source software. Every contribution - from bug reports to feature requests, typos to full new features - are greatly appreciated.
Deployment and Versioning
This part is intended for committer who are packaging a release.
- Check all your files are checked in
- Execute these mvn commands to be sure all tests are passing and everything is up to data
mvn versions:display-plugin-updates
mvn versions:display-dependency-updates
mvn -U clean test
- Update the version number in pom.xml and README.md
- Commit the changes
- Build and deploy the artifacts
- Go to Maven Central Portal and process the deploy
- publish the package and wait until it is processed
- Create the version on Github
- login to Github and open project https://github.com/HtmlUnit/htmlunit-core-js
- click Releases > Draft new release
- fill the tag and title field with the release number (e.g. 5.0.0)
- append
* htmlunit-core-js-5.x.x.jar
* htmlunit-core-js-5.x.x.jar.asc
* htmlunit-core-js-5.x.x.pom
* htmlunit-core-js-5.x.x.pom.asc
* htmlunit-core-js-5.x.x-javadoc.jar
* htmlunit-core-js-5.x.x-javadoc.jar.asc
* htmlunit-core-js-5.x.x-sources.jar
* htmlunit-core-js-5.x.x-sources.jar.asc - and publish the release
- Update the version number in pom.xml to start next snapshot development
- Update the htmlunit pom to use the new release
Authors
- Mozilla Rhino Team
- HtmlUnit Team
License
This project is licensed under the Apache 2.0 License
Acknowledgments
Many thanks to all of you contributing to HtmlUnit/Rhino in the past.
Development Tools
Special thanks to:
JetBrains for providing IntelliJ IDEA under their open source development license and