JavaFX applications fail to build with Maven 3.9.7

John Neffenger john at status6.com
Wed May 29 02:29:32 UTC 2024


It looks as if this issue was reported in 2021, 2022, and 2023. The 
difference now is that, as of Maven 3.9.7, the failure occurs 
immediately when it tries to download the JavaFX dependencies.

2021-12-27
JDK-8279380: Duplicate profile id in JavaFX maven POM
https://bugs.openjdk.org/browse/JDK-8279380

2022-12-22
JDK-8299352: Duplicate profile id in JavaFX maven POM
https://bugs.openjdk.org/browse/JDK-8299352

2023-03-24
JDK-8305167: Duplicate profile ids in generated javafx-19.0.2.1.pom
https://bugs.openjdk.org/browse/JDK-8305167

Those three bugs were closed as duplicates of the following:

2021-12-23
JDK-8279327: Maven Assembly Plugin Issues Warnings for JavaFx 17 Onwards
https://bugs.openjdk.org/browse/JDK-8279327

Comments in that bug report suggest reporting the issue to the JavaFX 
Maven Plugin project, but I'm getting the error, and I don't use that 
plugin. I also don't use the Maven Assembly Plugin.

The Maven developers tell me the error is in the JavaFX parent POM file 
itself. Is that published by Gluon? So far I've been unable to produce 
the Maven artifacts using tasks in the JavaFX Gradle build file.

Thanks,
John


More information about the openjfx-dev mailing list