`mvn jar:jar` fails since 7.41
Maven can't resolve the dependencies because Jive depends on Astor [7.4.2,), which itself depends on ATKPanel [6.0,). However, Jive also depends directly on ATKPanel [5.10, 6.0). Changing the ATKPanel version in pom.xml
to [5.10, )
seems to fix the issue.
$ mvn dependency:resolve
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper (file:/usr/share/maven/lib/guava.jar)
WARNING: Please consider reporting this to the maintainers of class com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------------< org.tango-controls:Jive >-----------------------
[INFO] Building Jive 7.45
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.445 s
[INFO] Finished at: 2025-03-25T08:26:23-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project Jive: Could not resolve dependencies for project org.tango-controls:Jive:jar:7.45: Failed to collect dependencies for org.tango-controls:Jive:jar:7.45: Could not resolve version conflict among [org.tango-controls:Astor:jar:[7.4.2,) -> org.tango-controls.gui:ATKPanel:jar:[6.0,), org.tango-controls.gui:ATKPanel:jar:[5.10,6.0)] -> [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