You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2021/01/02 20:28:07 UTC
[maven-site] branch master updated: Document Javadoc reproducible
build requirement
This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-site.git
The following commit(s) were added to refs/heads/master by this push:
new 39950ff Document Javadoc reproducible build requirement
39950ff is described below
commit 39950ff717c80638d583d8234db9fd04a745005e
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Sat Jan 2 21:02:35 2021 +0100
Document Javadoc reproducible build requirement
This closes #224
---
content/apt/guides/mini/guide-reproducible-builds.apt | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/content/apt/guides/mini/guide-reproducible-builds.apt b/content/apt/guides/mini/guide-reproducible-builds.apt
index 3566b87..3432c6a 100644
--- a/content/apt/guides/mini/guide-reproducible-builds.apt
+++ b/content/apt/guides/mini/guide-reproducible-builds.apt
@@ -38,7 +38,8 @@ Configuring for Reproducible Builds
There is no Maven version prerequisite. Everything happens at plugin level:
- [[1]] Upgrade your plugins to reproducible versions, particularly <<<maven-jar-plugin>>>, <<<maven-source-plugin>>> and <<<maven-assembly-plugin>>> to version 3.2.0 minimum.
+ [[1]] Upgrade your plugins to reproducible versions, particularly <<<maven-jar-plugin>>>, <<<maven-source-plugin>>>,
+ <<<maven-assembly-plugin>>> and <<<maven-javadoc-plugin>>> to version 3.2.0 minimum.
[[2]] Add a <<<project.build.outputTimestamp>>> property to the project's <<<pom.xml>>> with the timestamp value that will be used in zip/jar/tar archives (see FAQ for future value update strategy):
@@ -47,6 +48,9 @@ Configuring for Reproducible Builds
<project.build.outputTimestamp>2019-10-02T08:04:00Z</project.build.outputTimestamp>
</properties>
+--------+
+
+ [[3]] Configure <<<maven-javadoc-plugin>>> with option <<<notimestamp>>> set to <<<true>>> to avoid timestamps in generated files.
+
[]
You have the basics configured. The output should be reproducible now.