[ 
https://issues.apache.org/jira/browse/MJAVADOC-681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17361802#comment-17361802
 ] 

Piotr Zygielo edited comment on MJAVADOC-681 at 6/11/21, 1:59 PM:
------------------------------------------------------------------

{quote}AFAIK to have reproducible builds, you're already forced to use the same 
JDK, so I'm not sure if creating/reopening an issue makes sense.
{quote}
I don't understand.
 Problem is that using the same JDK (11-13) even on the same machine will 
result in different index.html (in the part "on ...").


was (Author: pzygielo):
bq. AFAIK to have reproducible builds, you're already forced to use the same 
JDK, so I'm not sure if creating/reopening an issue makes sense.
I don't understand.
Problem is that using the same JDK (11-13) even on the same machine will result 
in different index.html.

> Reproducible build does not work for maven-javadoc-plugin
> ---------------------------------------------------------
>
>                 Key: MJAVADOC-681
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-681
>             Project: Maven Javadoc Plugin
>          Issue Type: Bug
>            Reporter: Pavel Varchenko
>            Priority: Major
>
> 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
> {code}
> /**
>  * Hello
>  */
> public class Hello {
> }
> {code}
>  
> Then I check buildinfo via
> bq. ./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]
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to