gluonhq / gluonfx-maven-plugin

Plugin that simplifies creating native images for Java/JavaFX maven projects
BSD 3-Clause "New" or "Revised" License
186 stars 38 forks source link

Objectfile resolution failure #485

Open SaptarshiSarkar12 opened 10 months ago

SaptarshiSarkar12 commented 10 months ago

I was building a JavaFX app for Drifty project. I am using GluonFX-Maven-Plugin to build native images for the app.

Problem

My pom.xml file ```xml 4.0.0 com.Drifty Drifty 2.0.0 Drifty UTF-8 5.10.0 20 1.0.19 0.9.23 GUI.Forms.Main CLI.Drifty_CLI 2.15.0 3.11.0 0.0.8 org.openjfx javafx-controls ${javafx.version} org.junit.jupiter junit-jupiter-api ${junit.version} test org.junit.jupiter junit-jupiter-engine ${junit.version} test org.yaml snakeyaml 2.2 commons-io commons-io 2.13.0 com.google.code.gson gson 2.10.1 org.hildan.fxgson fx-gson 5.0.0 org.apache.commons commons-text 1.10.0 org.buildobjects jproc 2.8.2 org.apache.maven.plugins maven-compiler-plugin ${maven-compiler-plugin} 20 20 org.codehaus.mojo versions-maven-plugin ${versions-maven-plugin} org.openjfx javafx-maven-plugin ${javafx-maven-plugin} ${guiMain} com.gluonhq gluonfx-maven-plugin ${gluonfx-maven-plugin.version} ${guiMain} ${system-linker-arg} --enable-url-protocols=https --enable-url-protocols=http --no-fallback --verbose -H:ResourceConfigurationFiles=${pom.basedir}/config/${resource-config-file} --add-exports=org.graalvm.nativeimage.builder/com.oracle.svm.core.jdk=ALL-UNNAMED -o Drifty GUI ${system-native-image-arg} Drifty GUI Drifty Drifty is an open-source interactive file downloader system ${package.type} ${project.version} ${project.version} true build-drifty-cli-for-windows-latest resource-config-windows.json org.graalvm.buildtools native-maven-plugin ${native-maven-plugin.version} true Drifty CLI ${cliMain} target/CLI/windows --enable-url-protocols=https --enable-url-protocols=http -H:ResourceConfigurationFiles=${pom.basedir}/config/${resource-config-file} --no-fallback -H:+ReportExceptionStackTraces --verbose build build package build-drifty-cli-for-ubuntu-latest resource-config-linux.json org.graalvm.buildtools native-maven-plugin ${native-maven-plugin.version} true Drifty CLI ${cliMain} target/CLI/linux --enable-url-protocols=https --enable-url-protocols=http -H:ResourceConfigurationFiles=${pom.basedir}/config/${resource-config-file} --no-fallback -H:+ReportExceptionStackTraces --verbose build build package build-drifty-cli-for-macos-latest resource-config-mac.json org.graalvm.buildtools native-maven-plugin ${native-maven-plugin.version} true Drifty CLI ${cliMain} target/CLI/macos --enable-url-protocols=https --enable-url-protocols=http -H:ResourceConfigurationFiles=${pom.basedir}/config/${resource-config-file} --no-fallback -H:+ReportExceptionStackTraces --verbose build build package build-drifty-gui-for-macos-latest pkg -Dsvm.platform=org.graalvm.nativeimage.Platform$MACOS_AMD64 ${pom.basedir}/config/missing_symbols-macos-latest.o resource-config-mac.json true build-drifty-gui-for-ubuntu-latest ${pom.basedir}/config/missing_symbols-ubuntu-latest.o resource-config-linux.json build-drifty-gui-for-windows-latest msi ${pom.basedir}/config/missing_symbols-windows-latest.o resource-config-windows.json ```
SaptarshiSarkar12 commented 10 months ago

cc @jperedadnr

SaptarshiSarkar12 commented 10 months ago

Can anyone help me to fix this problem?