Re: JavaFX applications fail to build with Maven 3.9.7

2024-05-29 Thread Johan Vos
Yes, that is why I filed https://bugs.openjdk.org/browse/JDK-8333147 (which hints at a fix: Instead of `classifier "$t.name"` we should now use `archiveClassifier.set( t.name)` ) - Johan On Wed, May 29, 2024 at 4:58 PM John Neffenger wrote: > On 5/29/24 12:19 AM, Joeri Sykora wrote: > > maven a

Re: JavaFX applications fail to build with Maven 3.9.7

2024-05-29 Thread John Neffenger
On 5/29/24 12:19 AM, Joeri Sykora wrote: maven artifacts are generated when providing the following gradle property: -PMAVEN_PUBLISH=true I can't get that to work. Is there some other option I need to pass? $ bash gradlew -PMAVEN_PUBLISH=true publishToMavenLocal FAILURE: Build failed with an

Re: JavaFX applications fail to build with Maven 3.9.7

2024-05-29 Thread John Neffenger
On 5/29/24 6:54 AM, Joeri Sykora wrote: FYI, version 23-ea+20 should contain the fixed parent pom. Works great! Thank you for the quick fix, Joeri. John

Re: JavaFX applications fail to build with Maven 3.9.7

2024-05-29 Thread Joeri Sykora
FYI, version 23-ea+20 should contain the fixed parent pom. Op wo 29 mei 2024 om 09:31 schreef Michael Hall : > > > On May 29, 2024, at 2:19 AM, Joeri Sykora wrote: > > Hi John, > > maven artifacts are generated when providing the following gradle > property: -PMAVEN_PUBLISH=true > > For the actu

Re: JavaFX applications fail to build with Maven 3.9.7

2024-05-29 Thread Michael Hall
> On May 29, 2024, at 2:19 AM, Joeri Sykora 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 dupl

Re: JavaFX applications fail to build with Maven 3.9.7

2024-05-29 Thread Joeri Sykora
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

Re: JavaFX applications fail to build with Maven 3.9.7

2024-05-28 Thread John Neffenger
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-8

JavaFX applications fail to build with Maven 3.9.7

2024-05-28 Thread John Neffenger
JavaFX applications fail to build with Maven 3.9.7, which was released on May 25. The Maven developers identified the JavaFX parent POM file as the source of the problem: Maven Central: org.openjfx:javafx:22.0.1 https://central.sonatype.com/artifact/org.openjfx/javafx/22.0.1 To see the errors