You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2021/08/12 10:37:00 UTC
[jira] [Commented] (MJAVADOC-684) maven-javadoc and reproducible
builds
[ https://issues.apache.org/jira/browse/MJAVADOC-684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17397980#comment-17397980 ]
Konrad Windszus commented on MJAVADOC-684:
------------------------------------------
Since this is a regression would it be possible to release 3.3.1 soon? [~hboutemy] Can you take that up?
> maven-javadoc and reproducible builds
> -------------------------------------
>
> Key: MJAVADOC-684
> URL: https://issues.apache.org/jira/browse/MJAVADOC-684
> Project: Maven Javadoc Plugin
> Issue Type: Bug
> Components: javadoc
> Affects Versions: 3.3.0
> Environment: Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
> Maven home: /opt/maven
> Java version: 11.0.11, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "5.4.0-77-generic", arch: "amd64", family: "unix"
> Reporter: Maxim Solodovnik
> Assignee: Herve Boutemy
> Priority: Major
> Fix For: 3.3.1
>
>
> I'm a bit confused with documentation
>
> This [1] guide instruct me to set
> {code:xml}
> <project.build.outputTimestamp>1</project.build.outputTimestamp>
> {code}
> and add
> {code:xml}
> <notimestamp>true</notimestamp>
> {code}
> to javadoc configuration in pluginManagement
>
> as a result I'm getting
>
> {noformat}
> Caused by: java.time.format.DateTimeParseException: Text '1' could not be parsed at index 0
> at java.time.format.DateTimeFormatter.parseResolved0 (DateTimeFormatter.java:2046)
> at java.time.format.DateTimeFormatter.parse (DateTimeFormatter.java:1874)
> at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.getBottomText (AbstractJavadocMojo.java:3007)
> at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.addStandardDocletOptions (AbstractJavadocMojo.java:5549)
> {noformat}
>
> and this seems to be "by design" [2]:
>
> Shall I specify some additional custom property? (bottom?)
> or maybe outputTimestamp should be set to some other value?
>
> and documentation definitely need to be updated :(((
>
> [1] [https://maven.apache.org/guides/mini/guide-reproducible-builds.html]
> [2] [https://github.com/apache/maven-javadoc-plugin/blob/master/src/main/java/org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java#L3004]{color:#888888}
> {color}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)