I’m trying to compile the latest code but “mvn clean install” fails on failure to download some dependencies:
[INFO]
--------------------------< org.basex:basex >---------------------------
[INFO]
Building BaseX Core 11.0-SNAPSHOT
[INFO] from pom.xml
[INFO]
--------------------------------[ jar ]---------------------------------
Downloading from
devsnc-mirror:
http://nexus.proxy.devsnc.com/content/groups/public/jp/sourceforge/igo/igo/0.4.3/igo-0.4.3.pom
[WARNING] The POM for jp.sourceforge.igo:igo:jar:0.4.3
is missing, no dependency information available
Downloading from
devsnc-mirror:
http://nexus.proxy.devsnc.com/content/groups/public/org/apache/lucene-stemmers/3.4.0/lucene-stemmers-3.4.0.pom
[WARNING] The POM for org.apache:lucene-stemmers:jar:3.4.0
is missing, no dependency information available
Downloading from
devsnc-mirror:
http://nexus.proxy.devsnc.com/content/groups/public/jp/sourceforge/igo/igo/0.4.3/igo-0.4.3.jar
Downloading from
devsnc-mirror:
http://nexus.proxy.devsnc.com/content/groups/public/org/apache/lucene-stemmers/3.4.0/lucene-stemmers-3.4.0.jar
[INFO]
------------------------------------------------------------------------
[INFO]
BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 5.589 s
[INFO] Finished at: 2024-02-29T02:34:11-06:00
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project
basex: Could not resolve dependencies for project org.basex:basex:jar:11.0-SNAPSHOT: The following artifacts could not be resolved: jp.sourceforge.igo:igo:jar:0.4.3 (absent), org.apache:lucene-stemmers:jar:3.4.0
(absent): Could not find artifact jp.sourceforge.igo:igo:jar:0.4.3 in devsnc-mirror (http://nexus.proxy.devsnc.com/content/groups/public) ->
[Help 1]
And then:
[ERROR] Failed to execute goal on project
basex: Could not resolve dependencies for project org.basex:basex:jar:11.0-SNAPSHOT: The following artifacts could not be resolved: jp.sourceforge.igo:igo:jar:0.4.3 (absent), org.apache:lucene-stemmers:jar:3.4.0
(absent): jp.sourceforge.igo:igo:jar:0.4.3 was not found in
http://nexus.proxy.devsnc.com/content/groups/public during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of devsnc-mirror has elapsed or updates are forced
-> [Help 1]
Where ‘nexus.proxy.devsnc.com’ is our internal Maven proxy.
This is after removing my local maven repository cache.
Before doing that, I got the “present but not available” failure on these libraries. The jars are present in my original .m2/repository but not in a newly-created repository (having moved the original one out of the way).
I’m using maven 3.9.6.
As far as I can tell from my research, this is a change in behavior from Maven 2 to Maven 3 where it refuses to use local dependencies that were fetched as a side effect of some other dependency that cannot
now be fetched. But I’m not finding any maven options that will work around this failure.
Any idea how I can move past this? Or is there a nightly build somewhere I can download?
Thanks,
Eliot
_____________________________________________
Eliot Kimber
Sr Staff Content Engineer
O: 512 554 9368
M: 512 554 9368
LinkedIn | Twitter | YouTube | Facebook