<div dir="ltr">Hi John,<div><div><br></div><div>maven artifacts are generated when providing the following gradle property: -PMAVEN_PUBLISH=true</div><div><br></div><div>For the actual maven publication to maven central, Gluon uses a different parent pom file, which indeed has those duplicate profile id's.</div><div>We'll provide a fix that will be available from 23-ea+19.</div><div><br></div><div>As a workaround you can:<br><ul><li>fallback to maven 3.9.6 or earlier</li><li>manually specify the javafx.platform property, i.e.: mvn -Djavafx.platform=linux compile</li></ul></div>Kind regards,</div><div>Joeri</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Op wo 29 mei 2024 om 04:30 schreef John Neffenger <<a href="mailto:john@status6.com" target="_blank">john@status6.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">It looks as if this issue was reported in 2021, 2022, and 2023. The <br>
difference now is that, as of Maven 3.9.7, the failure occurs <br>
immediately when it tries to download the JavaFX dependencies.<br>
<br>
2021-12-27<br>
JDK-8279380: Duplicate profile id in JavaFX maven POM<br>
<a href="https://bugs.openjdk.org/browse/JDK-8279380" rel="noreferrer" target="_blank">https://bugs.openjdk.org/browse/JDK-8279380</a><br>
<br>
2022-12-22<br>
JDK-8299352: Duplicate profile id in JavaFX maven POM<br>
<a href="https://bugs.openjdk.org/browse/JDK-8299352" rel="noreferrer" target="_blank">https://bugs.openjdk.org/browse/JDK-8299352</a><br>
<br>
2023-03-24<br>
JDK-8305167: Duplicate profile ids in generated javafx-19.0.2.1.pom<br>
<a href="https://bugs.openjdk.org/browse/JDK-8305167" rel="noreferrer" target="_blank">https://bugs.openjdk.org/browse/JDK-8305167</a><br>
<br>
Those three bugs were closed as duplicates of the following:<br>
<br>
2021-12-23<br>
JDK-8279327: Maven Assembly Plugin Issues Warnings for JavaFx 17 Onwards<br>
<a href="https://bugs.openjdk.org/browse/JDK-8279327" rel="noreferrer" target="_blank">https://bugs.openjdk.org/browse/JDK-8279327</a><br>
<br>
Comments in that bug report suggest reporting the issue to the JavaFX <br>
Maven Plugin project, but I'm getting the error, and I don't use that <br>
plugin. I also don't use the Maven Assembly Plugin.<br>
<br>
The Maven developers tell me the error is in the JavaFX parent POM file <br>
itself. Is that published by Gluon? So far I've been unable to produce <br>
the Maven artifacts using tasks in the JavaFX Gradle build file.<br>
<br>
Thanks,<br>
John<br>
</blockquote></div></div></div>