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

Reproducible build does not work for maven-javadoc-plugin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Implemented
    • None
    • None
    • None
    • None

    Description

      I've created a project for reproducible build from this guide

      https://maven.apache.org/guides/mini/guide-reproducible-builds.html

      Plugins:

      • maven-jar-plugin 3.2.0
      • maven-javadoc-plugin 3.3.0
      • maven-source-plugin 3.2.1

       

      This project has only one class

      /**
       * Hello
       */
      public class Hello {
      }
      

       

      Then I check buildinfo via

      ./mvnw clean verify -e -DskipTests artifact:buildinfo -Dbuildinfo.ignoreJavadoc=false

       

      sha512 is always the same for reproducible-build-1.0-SNAPSHOT.jar and reproducible-build-1.0-SNAPSHOT-sources.jar

      But for reproducible-build-1.0-SNAPSHOT-javadoc.jar it changes after each build

       

      Here is the example

      https://github.com/varpa89/reproducible-build

       

      Attachments

        1. Screenshot 2021-10-27 at 11.16.35.png
          291 kB
          Pavel Varchenko

        Activity

          People

            rfscholte Robert Scholte
            varpa89 Pavel Varchenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: