gluonhq / scenebuilder

Scene Builder is a visual, drag 'n' drop, layout tool for designing JavaFX application user interfaces.
https://gluonhq.com/products/scene-builder/
Other
748 stars 220 forks source link

feat: Remove/Update Kit third-party dependencies #758

Closed jperedadnr closed 1 month ago

jperedadnr commented 1 month ago

Issue

Fixes #757

Before this PR, when running the application, Maven warns about:

[WARNING] *****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
[WARNING] * Required filename-based automodules detected: [aether-api-1.1.0.jar, aether-impl-1.1.0.jar, aether-spi-1.1.0.jar, aether-util-1.1.0.jar, aether-connector-basic-1.1.0.jar, aether-transport-file-1.1.0.jar, aether-transport-http-1.1.0.jar, maven-aether-provider-3.3.9.jar, plexus-utils-3.0.22.jar, commons-lang3-3.4.jar, javax.json-api-1.0.jar]. Please don't publish this project to a public artifact repository! *
[WARNING] *****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************

After this PR, the warning is fully gone.

The very old dependencies aether-api-1.1.0.jar, aether-impl-1.1.0.jar, aether-spi-1.1.0.jar, aether-util-1.1.0.jar, aether-connector-basic-1.1.0.jar, aether-transport-file-1.1.0.jar, aether-transport-http-1.1.0.jar, maven-aether-provider-3.3.9.jar, plexus-utils-3.0.22.jar, commons-lang3-3.4.jar are replaced with a very recent org.apache.maven.resolver:2.0.0-alpha-8 (and many transitive dependencies), javax.json-api-1.0.jar is replaced with jakarta.json, and the apache httpComponents are replaced with the built-in HttpClient from the JDK.

There are a number of changes, so I've split them in 4 different consecutive commits, for a better understanding.

Progress