[ 
https://jira.codehaus.org/browse/MRRESOURCES-91?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=359330#comment-359330
 ] 

Kristian Rosenvold edited comment on MRRESOURCES-91 at 12/18/14 3:37 PM:
-------------------------------------------------------------------------

Fixed in r1646543, thanks for the patch !


was (Author: krosenvold):
Fixed in rr1646543, thanks for the patch !

> Avoid overwrite of the destination file if the produced contents is the same
> ----------------------------------------------------------------------------
>
>                 Key: MRRESOURCES-91
>                 URL: https://jira.codehaus.org/browse/MRRESOURCES-91
>             Project: Maven Remote Resources Plugin
>          Issue Type: Bug
>    Affects Versions: 1.5
>            Reporter: Vladimir Sitnikov
>            Assignee: Kristian Rosenvold
>             Fix For: 1.6
>
>
> maven-remote-resource-plugin is used in Apache pom to add DEPENDENCIES, and 
> the resulting file is overwritten on each build.
> It leads to jar being rebuild, etc leading to longer compilation times.
> I suggest to compare the produced contents with the existing file.
> If both are equal, skip the file being overwritten.
> The net win is subsequent build times are improved.
> Here's pull request that fixes the problem: 
> https://github.com/apache/maven-plugins/pull/40



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to