<div dir="ltr">Yes, that is why I filed <a href="https://bugs.openjdk.org/browse/JDK-8333147">https://bugs.openjdk.org/browse/JDK-8333147</a> (which hints at a fix: <div>Instead of `classifier "$<a href="http://t.name">t.name</a>"` we should now use `archiveClassifier.set(<a href="http://t.name">t.name</a>)`</div><div>)</div><div><br></div><div>- Johan</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 29, 2024 at 4:58 PM John Neffenger <<a href="mailto:john@status6.com">john@status6.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 5/29/24 12:19 AM, Joeri Sykora wrote:<br>
> maven artifacts are generated when providing the following gradle <br>
> property: -PMAVEN_PUBLISH=true<br>
<br>
I can't get that to work. Is there some other option I need to pass?<br>
<br>
$ bash gradlew -PMAVEN_PUBLISH=true publishToMavenLocal<br>
<br>
FAILURE: Build failed with an exception.<br>
<br>
* Where:<br>
Build file '/home/ubuntu/src/jfx/build.gradle' line: 1734<br>
<br>
* What went wrong:<br>
A problem occurred configuring root project 'jfx'.<br>
> Failed to notify project evaluation listener.<br>
> Could not find method classifier() for arguments [linux] on task <br>
':base:modularPublicationJarLinux' of type <br>
org.gradle.api.tasks.bundling.Jar.<br>
> Could not find method classifier() for arguments [linux] on task <br>
':graphics:modularPublicationJarLinux' of type <br>
org.gradle.api.tasks.bundling.Jar.<br>
> Could not find method classifier() for arguments [linux] on task <br>
':controls:modularPublicationJarLinux' of type <br>
org.gradle.api.tasks.bundling.Jar.<br>
> Could not find method classifier() for arguments [linux] on task <br>
':swing:modularPublicationJarLinux' of type <br>
org.gradle.api.tasks.bundling.Jar.<br>
> Could not find method classifier() for arguments [linux] on task <br>
':fxml:modularPublicationJarLinux' of type <br>
org.gradle.api.tasks.bundling.Jar.<br>
> Could not find method classifier() for arguments [linux] on task <br>
':media:modularPublicationJarLinux' of type <br>
org.gradle.api.tasks.bundling.Jar.<br>
> Could not find method classifier() for arguments [linux] on task <br>
':web:modularPublicationJarLinux' of type org.gradle.api.tasks.bundling.Jar.<br>
<br>
John<br>
<br>
</blockquote></div>