You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Réda Housni Alaoui (Jira)" <ji...@apache.org> on 2022/10/08 14:22:00 UTC

[jira] [Comment Edited] (MRESOLVER-277) --no-snapshot-update option does not prevent metadata.xml download

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

Réda Housni Alaoui edited comment on MRESOLVER-277 at 10/8/22 2:21 PM:
-----------------------------------------------------------------------

{quote}
Key part: "never update locally cached data". With empty repository, you have no locally cached data.
{quote}

Indeed, therefore it is not a bug.

{quote}
Réda Housni Alaoui you probably mean "offline for metadata"? As such a feature would prevent download, but is not supported.
{quote}

Yes. Would you accept this as a new feature? I can contribute with code if needed.


was (Author: ralaoui):
{quote}
Key part: "never update locally cached data". With empty repository, you have no locally cached data.
{quote}

Indeed, therefore it is not a bug.

{quote}
Réda Housni Alaoui you probably mean "offline for metadata"? As such a feature would prevent download, but is not supported.
{quote}

Yes. Would you accept this as a new feature? I can contribute code if needed.

> --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)