Hi,

On 25.04.20 00:58, Robert Oxspring wrote:
Hi all,


When copying resources with filtering on, files are always overwritten even 
when the filters have not changed. I’d like to change this such that repeated 
filtering copies do not modify the destination file.

I’ve prepared a change to write the filtered content to a temporary file and 
only rename that over the destination if they’re different:
https://github.com/apache/maven-filtering/compare/master...roxspring:feature/avoid-overwrite-on-no-op-filter

Would something like this be acceptable? I’m guessing the next step is to 
create an issue in Jira? - agains MNG??

There is a JIRA link on the github repository ...creating a JIRA is a
prerequisites..

Maven Filtering is a component which is used by
maven-resources-plugin...If you like to make that effort would be great
and see if all tests working fine ...and maybe we will merge that...

Kind regards
Karl Heinz Marbaise



Thanks,

Rob
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to