Skip to content

[3.0] Reproducible byte for byte jars #2670

Description

@agentgt

@jknack Sorry I have been out of pocket lately but I noticed that the jars in v2 have timestamps in them particularly the javadoc jars.

Luckily this is an easy fix (otherwise I would do a PR) and in theory could be applied to 2.0:

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

Basically put this property in the root pom.xml

<project.build.outputTimestamp>10</project.build.outputTimestamp>

I believe the number is an epoc timestamp and I believe both the release plugin and the versions plugin will update it accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions