You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Symbolic link within local repository directory makes every cached artifact "not present"Â #2183
Since Resolver 2.0.23 (#2080), the enhanced local repository manager treats every
artifact as not present if its path below the local repository base directory
goes through a symbolic link, even when the file name matches the requested
coordinates exactly:
[WARNING] Rejecting locally cached artifact <worktree>/.mvn-repo/cached/org/apache/maven/plugins/maven-install-plugin/3.2.0/maven-install-plugin-3.2.0.pom: its on-disk path ../../shared/cache/org/apache/maven/plugins/maven-install-plugin/3.2.0/maven-install-plugin-3.2.0.pom does not match the requested coordinates (filesystem case/normalization alias); treating it as not present
Repro
When working with git worktrees, each worktree should have its own local repository,
so that mvn install in one worktree is not visible to the others. However,
each worktree should not download all dependencies from the internet anew.
This can be set up like this:
Activity
findepi commentedon Oct 7, 2026
cc @gnodet @cstamas
findepi commentedon Oct 7, 2026
a proposed fix:
Allow symlinked local path prefix directories (apache#2184)