You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Pavel Varchenko (Jira)" <ji...@apache.org> on 2021/06/11 07:24:00 UTC
[jira] [Updated] (MNG-7171) Reproducible build does not work for
maven-javadoc-plugin
[ https://issues.apache.org/jira/browse/MNG-7171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Varchenko updated MNG-7171:
---------------------------------
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]
was:
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
> Reproducible build does not work for maven-javadoc-plugin
> ---------------------------------------------------------
>
> Key: MNG-7171
> URL: https://issues.apache.org/jira/browse/MNG-7171
> Project: Maven
> Issue Type: Bug
> Affects Versions: 3.8.1
> 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
> /**
> * 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]
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)