Fail fast when attempting to repackage a reproducible war

Maven's war plugin does not support reproducible builds, resulting in
the entries in the war file not being written in a consistent order
from build to build.

Closes gh-20176
This commit is contained in:
Andy Wilkinson
2020-03-16 20:29:37 +00:00
parent ca202ad59f
commit c4a55a5fb4
3 changed files with 13 additions and 31 deletions

View File

@@ -146,7 +146,7 @@ public class RepackageMojo extends AbstractPackagerMojo {
/**
* Timestamp for reproducible output archive entries, either formatted as ISO 8601
* (<code>yyyy-MM-dd'T'HH:mm:ssXXX</code>) or an {@code int} representing seconds
* since the epoch.
* since the epoch. Not supported with war packaging.
* @since 2.3.0
*/
@Parameter(defaultValue = "${project.build.outputTimestamp}")