arturobernalg commented on code in PR #681:
URL: https://github.com/apache/maven-war-plugin/pull/681#discussion_r4669204532


##########
src/main/java/org/apache/maven/plugins/war/AbstractWarMojo.java:
##########
@@ -64,6 +69,17 @@
  */
 public abstract class AbstractWarMojo extends AbstractMojo {
 
+    /**
+     * The {@code SimpleDateFormat} pattern used for {@code 
maven.build.timestamp} unless overridden by

Review Comment:
   The override isn't optional on our side — Maven core already honors 
`maven.build.timestamp.format` as a project property when it interpolates 
`${maven.build.timestamp}` into the POM (`BuildTimestampValueSource` in 
maven-model-builder). If a project sets that property and we only used a fixed 
format here, a filtered webResource would show the default format while the POM 
shows the custom one — the exact divergence this PR exists to fix. Keeping the 
override is what keeps the two in sync.



-- 
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