Skip to content

Commit a3e6d37

Browse files
committed
MPOM-260 configure javadoc for reproducible builds
1 parent 01d812b commit a3e6d37

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

pom.xml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ under the License.
9191
<maven.compiler.source>1.7</maven.compiler.source>
9292
<maven.compiler.target>1.7</maven.compiler.target>
9393
<surefire.version>2.22.2</surefire.version>
94+
<maven.javadoc.version>3.2.0</maven.javadoc.version>
9495
<assembly.tarLongFileMode>posix</assembly.tarLongFileMode>
9596
<project.build.outputTimestamp>2020-01-22T15:10:38Z</project.build.outputTimestamp>
9697
</properties>
@@ -211,7 +212,11 @@ under the License.
211212
<plugin>
212213
<groupId>org.apache.maven.plugins</groupId>
213214
<artifactId>maven-javadoc-plugin</artifactId>
214-
<version>3.2.0</version>
215+
<version>${maven.javadoc.version}</version>
216+
<!-- due to https://issues.apache.org/jira/browse/MNG-7006 duplicate reporting configuration -->
217+
<configuration>
218+
<notimestamp>true</notimestamp>
219+
</configuration>
215220
</plugin>
216221
<plugin>
217222
<groupId>org.apache.maven.plugins</groupId>
@@ -350,6 +355,19 @@ under the License.
350355
</plugins>
351356
</build>
352357

358+
<reporting>
359+
<plugins>
360+
<plugin>
361+
<groupId>org.apache.maven.plugins</groupId>
362+
<artifactId>maven-javadoc-plugin</artifactId>
363+
<version>${maven.javadoc.version}</version>
364+
<configuration>
365+
<notimestamp>true</notimestamp>
366+
</configuration>
367+
</plugin>
368+
</plugins>
369+
</reporting>
370+
353371
<profiles>
354372
<!-- START SNIPPET: release-profile -->
355373
<profile>

0 commit comments

Comments
 (0)