You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Vladimir Sitnikov (JIRA)" <ji...@apache.org> on 2018/09/16 10:51:00 UTC
[jira] [Commented] (MRRESOURCES-91) Avoid overwrite of the
destination file if the produced contents is the same
[ https://issues.apache.org/jira/browse/MRRESOURCES-91?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16616666#comment-16616666 ]
Vladimir Sitnikov commented on MRRESOURCES-91:
----------------------------------------------
[~krosenvold], would you please release maven-remote-resources-plugin 1.6?
It has been a while since the patch was merged.
> Avoid overwrite of the destination file if the produced contents is the same
> ----------------------------------------------------------------------------
>
> Key: MRRESOURCES-91
> URL: https://issues.apache.org/jira/browse/MRRESOURCES-91
> Project: Maven Remote Resources Plugin
> Issue Type: Bug
> Affects Versions: 1.5
> Reporter: Vladimir Sitnikov
> Assignee: Kristian Rosenvold
> Priority: Major
> Fix For: 1.6.0
>
>
> 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
(v7.6.3#76005)