You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "olamy (via GitHub)" <gi...@apache.org> on 2023/03/31 04:18:16 UTC

[GitHub] [maven-filtering] olamy commented on pull request #73: [MSHARED-1216] Use caching output stream

olamy commented on PR #73:
URL: https://github.com/apache/maven-filtering/pull/73#issuecomment-1491264762

   > 
   > The change has the same effect as if always using `overwrite=true`, but only if the content has changed. If the content is unchanged, the file will not be modified and will not trigger downstream processing based on last modified time. Note that the `overwrite` flag was only effective when _not_ filtering, which was incoherent too.
   
   not sure exactly about the use case.
   what do you mean with `content`?
   in case of a pom with
   `
   <properties>
     <foo>bar</bar>
   </properties>
   `
   a file is filtering using this property.
   second run using `mvn ..... -Dfoo=blabla` 
   Technically the content of the file hasn’t changed but the properties for filtering have.
   if I remember correctly it was a reason why it was different in case of filtering activated or not.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org