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

Michael Osipov commented on MRESOLVER-144:
------------------------------------------

OK, please have a look https://github.com/apache/maven/pull/381/files. It 
should create consistent timestamps throughout all metadata in the reactor.

 {quote}I think is totally flawed to overwrite that same file over and over 
again{quote}

It is not broken (bug), it is just inefficient. For me, this is an improvement 
request if we settle on the timestamp issue.

> Maven Resolver deploys version metadata multiple times
> ------------------------------------------------------
>
>                 Key: MRESOLVER-144
>                 URL: https://issues.apache.org/jira/browse/MRESOLVER-144
>             Project: Maven Resolver
>          Issue Type: Bug
>          Components: resolver
>    Affects Versions: 1.6.1
>            Reporter: Tamás Cservenák
>            Priority: Blocker
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> This causes problems like MDEPLOY-221 is.
> Problem:
> Maven deploys version metadata multiple times. Seems it is triggered by any 
> plugin that attaches artifact to MavenProject?
> This happens with all 2.x m-deploy-p. 3.0.0-M1 fails.
> Expected:
> Maven deploy version (and any other) metadata only once with proper 
> timestmaps (those that have the deployed artifacts) whatever count of 
> attached artifacts are there.
> Reproducer:
> [https://github.com/cstamas/mvn-md-bug]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to