Uploaded image for project: 'Maven Javadoc Plugin'
  1. Maven Javadoc Plugin
  2. MJAVADOC-684

maven-javadoc and reproducible builds

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3.0
    • 3.3.1
    • javadoc
    • None

    Description

      I'm a bit confused with documentation
       
      This [1] guide instruct me to set

          <project.build.outputTimestamp>1</project.build.outputTimestamp>
      

      and add 

          <notimestamp>true</notimestamp>
      

      to javadoc configuration in pluginManagement
       
      as a result I'm getting
       

      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)
      

       
      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
       

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            hboutemy Herve Boutemy
            solomax Maxim Solodovnik
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment