You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2025/02/09 19:59:00 UTC
[jira] [Assigned] (MRESOLVER-633) Clarify caching of unresolvable artifacts in local repository
[ https://issues.apache.org/jira/browse/MRESOLVER-633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konrad Windszus reassigned MRESOLVER-633:
-----------------------------------------
Assignee: Konrad Windszus
> Clarify caching of unresolvable artifacts in local repository
> -------------------------------------------------------------
>
> Key: MRESOLVER-633
> URL: https://issues.apache.org/jira/browse/MRESOLVER-633
> Project: Maven Resolver
> Issue Type: Improvement
> Components: Resolver
> Reporter: Konrad Windszus
> Assignee: Konrad Windszus
> Priority: Major
> Fix For: 2.0.7
>
>
> A dedicated section in https://maven.apache.org/resolver/local-repository.html about local caching of unresolvable artifacts would be beneficial.
> IIUC it respects the update policy and all files not found in any remote repo are stored as 0 byte artifacts in the local repo.
> It is unclear to me how to deal with edge cases like adding a new repo which provides that previously unresolvable release artifact? What do I need to do from a consumer perspective to resolve that, if the 0 byte artifact is already cached in the local repo...
> Other edge cases include a repository which is only available via a VPN connection, which is not always established, so the remote repo may not be available at all times and the availability may change without any changes on remote repositories on Maven side ({{settings.xml}} or some {{pom.xml}})
--
This message was sent by Atlassian Jira
(v8.20.10#820010)