elharo commented on issue #556:
URL: 
https://github.com/apache/maven-war-plugin/issues/556#issuecomment-5070691329

   This is a useful enhancement and should be accepted.
   
   The `war:exploded` goal is primarily used for local, iterative development. 
Re-copying tens of thousands of files on every execution wastes significant 
disk I/O and unnecessarily degrades the developer feedback loop. Relying on 
file modification timestamps to skip redundant copies is a standard 
optimization in build tools, similar to how the `maven-resources-plugin` 
handles static files.
   
   The feature should ideally be implemented by adding a configurable boolean 
parameter (such as `<overwrite>` or `<forceCopy>`). This allows the plugin to 
use `onlyIfModified = true` to improve performance, while providing an escape 
hatch for edge cases where file timestamps might be unreliable (e.g., networked 
file systems, specific CI/CD environments, or specific version control checkout 
behaviors).


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to