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...@codehaus.org> on 2014/12/17 11:23:10 UTC
[jira] (MRRESOURCES-91) Avoid overwrite of the destination file if
the produced contents is the same
Vladimir Sitnikov created MRRESOURCES-91:
--------------------------------------------
Summary: 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
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)