Skip to content

Instantly share code, notes, and snippets.

@cstamas
Created June 7, 2024 13:35
Show Gist options
  • Save cstamas/36903dd7701cbae94d5971211e835b05 to your computer and use it in GitHub Desktop.
Save cstamas/36903dd7701cbae94d5971211e835b05 to your computer and use it in GitHub Desktop.
[cstamas@angeleyes hello-javafx (main)]$ ~/Tools/maven/apache-maven-3.9.8-SNAPSHOT/bin/mvn clean package -Daether.dependencyCollector.impl=df
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Hello JavaFX Project [pom]
[INFO] Hello JavaFX Module [jar]
[INFO]
[INFO] ----------------------< org.status6:hello-javafx >----------------------
[INFO] Building Hello JavaFX Project 1.0.0 [1/2]
[INFO] from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- clean:3.3.2:clean (default-clean) @ hello-javafx ---
[INFO]
[INFO] --- javadoc:3.6.3:jar (attach-javadocs) @ hello-javafx ---
[INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO]
[INFO] >>> source:3.3.1:jar (attach-sources) > generate-sources @ hello-javafx >>>
[INFO]
[INFO] <<< source:3.3.1:jar (attach-sources) < generate-sources @ hello-javafx <<<
[INFO]
[INFO]
[INFO] --- source:3.3.1:jar (attach-sources) @ hello-javafx ---
[INFO]
[INFO] -------------------< org.status6.hello:hello-javafx >-------------------
[INFO] Building Hello JavaFX Module 1.0.0 [2/2]
[INFO] from org.status6.hello.javafx/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] 6 problems were encountered while building the effective model for org.openjfx:javafx-controls:jar:22.0.1
[WARNING] 6 problems were encountered while building the effective model for org.openjfx:javafx-controls:jar:${javafx.platform}:22.0.1
[WARNING] 6 problems were encountered while building the effective model for org.openjfx:javafx-graphics:jar:22.0.1
[WARNING] 6 problems were encountered while building the effective model for org.openjfx:javafx-graphics:jar:${javafx.platform}:22.0.1
[WARNING] 6 problems were encountered while building the effective model for org.openjfx:javafx-base:jar:22.0.1
[WARNING] 6 problems were encountered while building the effective model for org.openjfx:javafx-base:jar:${javafx.platform}:22.0.1
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Hello JavaFX Project 1.0.0:
[INFO]
[INFO] Hello JavaFX Project ............................... SUCCESS [ 0.406 s]
[INFO] Hello JavaFX Module ................................ FAILURE [ 0.024 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.470 s
[INFO] Finished at: 2024-06-07T15:34:57+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project hello-javafx: Could not resolve dependencies for project org.status6.hello:hello-javafx:jar:1.0.0: The following artifacts could not be resolved: org.openjfx:javafx-controls:jar:${javafx.platform}:22.0.1 (absent), org.openjfx:javafx-graphics:jar:${javafx.platform}:22.0.1 (absent), org.openjfx:javafx-base:jar:${javafx.platform}:22.0.1 (absent): org.openjfx:javafx-controls:jar:${javafx.platform}:22.0.1 was not found in https://repo.maven.apache.org/maven2/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf org.status6.hello:hello-javafx
[cstamas@angeleyes hello-javafx (main)]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment