[ 
https://issues.apache.org/jira/browse/MRESOLVER-277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17614487#comment-17614487
 ] 

Tamas Cservenak commented on MRESOLVER-277:
-------------------------------------------

IMHO, this works as intented. This is the definition of "never" policy:
{noformat}
/**
 * Never update locally cached data.
 */
public static final String UPDATE_POLICY_NEVER = "never"; {noformat}
Key part: "never update *locally cached* data". With empty repository, you have 
no locally cached data.

[~ralaoui] you probably mean "offline for metadata"? As such a feature would 
prevent download, but is not supported.

> --no-snapshot-update option does not prevent metadata.xml download
> ------------------------------------------------------------------
>
>                 Key: MRESOLVER-277
>                 URL: https://issues.apache.org/jira/browse/MRESOLVER-277
>             Project: Maven Resolver
>          Issue Type: Bug
>            Reporter: Réda Housni Alaoui
>            Priority: Major
>             Fix For: waiting-for-feedback
>
>
> I have a multi-module project.
> Each time I build the project using an empty local repository, maven-resolver 
> tries to download the {{metadata.xml}} of each module even if I pass 
> {{--no-snapshot-update}} option.
> I think it is a bug.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to