JavaFX applications fail to build with Maven 3.9.7

Michael Hall mik3hall at gmail.com
Wed May 29 07:31:10 UTC 2024



> On May 29, 2024, at 2:19 AM, Joeri Sykora <joeri at lodgon.com> wrote:
> 
> Hi John,
> 
> maven artifacts are generated when providing the following gradle property: -PMAVEN_PUBLISH=true
> 
> For the actual maven publication to maven central, Gluon uses a different parent pom file, which indeed has those duplicate profile id's.
> We'll provide a fix that will be available from 23-ea+19.
> 
> As a workaround you can:
> fallback to maven 3.9.6 or earlier
> manually specify the javafx.platform property, i.e.: mvn -Djavafx.platform=linux compile
> Kind regards,
> Joeri
> 

Simply editing the file and deleting the duplicates also seemed to work for me. At least it ran the validate command successfully.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20240529/5881dd70/attachment-0001.htm>


More information about the openjfx-dev mailing list