[ 
https://issues.apache.org/jira/browse/MRESOLVER-633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konrad Windszus updated MRESOLVER-633:
--------------------------------------
    Description: 
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}})

  was:
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.


> Clarify caching of 404 responses on artifact resolving 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
>            Priority: Major
>
> 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)

Reply via email to