JavaFX applications fail to build with Maven 3.9.7
John Neffenger
john at status6.com
Wed May 29 14:57:13 UTC 2024
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 exception.
* Where:
Build file '/home/ubuntu/src/jfx/build.gradle' line: 1734
* What went wrong:
A problem occurred configuring root project 'jfx'.
> Failed to notify project evaluation listener.
> Could not find method classifier() for arguments [linux] on task
':base:modularPublicationJarLinux' of type
org.gradle.api.tasks.bundling.Jar.
> Could not find method classifier() for arguments [linux] on task
':graphics:modularPublicationJarLinux' of type
org.gradle.api.tasks.bundling.Jar.
> Could not find method classifier() for arguments [linux] on task
':controls:modularPublicationJarLinux' of type
org.gradle.api.tasks.bundling.Jar.
> Could not find method classifier() for arguments [linux] on task
':swing:modularPublicationJarLinux' of type
org.gradle.api.tasks.bundling.Jar.
> Could not find method classifier() for arguments [linux] on task
':fxml:modularPublicationJarLinux' of type
org.gradle.api.tasks.bundling.Jar.
> Could not find method classifier() for arguments [linux] on task
':media:modularPublicationJarLinux' of type
org.gradle.api.tasks.bundling.Jar.
> Could not find method classifier() for arguments [linux] on task
':web:modularPublicationJarLinux' of type org.gradle.api.tasks.bundling.Jar.
John
More information about the openjfx-dev
mailing list