Hi,

On 25.04.20 15:36, Slawomir Jaranowski wrote:
Hi,

Can you describe your case and what you want to achieve.

By default all files created during maven running are write to target
directory. And in most case target directory is cleaned before new build
starting.
Usual maven is running  by:
   mvn clean install.

This is what you usally shouldn't use

Install is only needed if you want to reuse the artifacts produced by
another project on your own computer otherwise it's whasted...

It's sufficient:

    mvn verify

Also clean can be avoided most of the times...and that's the thing
Robert is referencing to...

Kind regards
Karl Heinz Marbaise

sob., 25 kwi 2020 o 00:59 Robert Oxspring <roxspr...@imapmail.org>
napisał(a):

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??
Thanks,

Rob

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

Reply via email to