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/05 20:47:52 UTC
[maven-apache-parent] branch master updated: [MPOM-260] Configure
Maven Javadoc Plugin for reproducible builds
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-apache-parent.git
The following commit(s) were added to refs/heads/master by this push:
new 7ca2f06 [MPOM-260] Configure Maven Javadoc Plugin for reproducible builds
7ca2f06 is described below
commit 7ca2f06504ca94fbee3b8c8317e297fb5eb12c6b
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Sun Jan 3 13:18:40 2021 +0100
[MPOM-260] Configure Maven Javadoc Plugin for reproducible builds
This closes #31
---
pom.xml | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 6cd826e..c1e40ba 100644
--- a/pom.xml
+++ b/pom.xml
@@ -91,6 +91,7 @@ under the License.
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
<surefire.version>2.22.2</surefire.version>
+ <maven.javadoc.version>3.2.0</maven.javadoc.version>
<assembly.tarLongFileMode>posix</assembly.tarLongFileMode>
<!-- set this property for all derived projects:
<project.build.outputTimestamp>2020-01-22T15:10:38Z</project.build.outputTimestamp>
@@ -213,7 +214,11 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>3.2.0</version>
+ <version>${maven.javadoc.version}</version>
+ <!-- due to https://issues.apache.org/jira/browse/MNG-7006 duplicate reporting configuration -->
+ <configuration>
+ <notimestamp>true</notimestamp>
+ </configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -352,6 +357,19 @@ under the License.
</plugins>
</build>
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>${maven.javadoc.version}</version>
+ <configuration>
+ <notimestamp>true</notimestamp>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
+
<profiles>
<!-- START SNIPPET: release-profile -->
<profile>