You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hudson (Jira)" <ji...@apache.org> on 2019/12/17 19:11:00 UTC

[jira] [Commented] (MRELEASE-1029) update project.build.outputTimestamp property on prepare

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

Hudson commented on MRELEASE-1029:
----------------------------------

Build succeeded in Jenkins: Maven TLP » maven-apache-parent » master #27

See https://builds.apache.org/job/maven-box/job/maven-apache-parent/job/master/27/

> update project.build.outputTimestamp property on prepare
> --------------------------------------------------------
>
>                 Key: MRELEASE-1029
>                 URL: https://issues.apache.org/jira/browse/MRELEASE-1029
>             Project: Maven Release Plugin
>          Issue Type: New Feature
>          Components: prepare
>    Affects Versions: 2.5.3
>            Reporter: Herve Boutemy
>            Assignee: Herve Boutemy
>            Priority: Major
>             Fix For: 3.0.0-M1
>
>
> as part of [native Maven (binary) Reproducible Builds|https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=74682318] , project.build.outputTimestamp property defines the timestamp of archive entries.
> The exact value of this timestamp is not absolutely necessary to achieve the reproducibility, but if the timestamp can be the time of release, it will give a good meaning to this timestamp
> release:prepare is ideal for that
> https://maven.apache.org/maven-release/maven-release-plugin/examples/prepare-release.html
> - ...
> - Change the version in the POMs from x-SNAPSHOT to a new version (you will be prompted for the versions to use)
> - Transform the SCM information in the POM to include the final destination of the tag
> - *update project.build.outputTimestamp property with the value of "now"*
> - Run the project tests against the modified POMs to confirm everything is in working order
> see {{rewrite-poms-for-release}} phase as example https://maven.apache.org/maven-release-archives/maven-release-2.5.3/maven-release-manager/apidocs/org/apache/maven/shared/release/phase/RewritePomsForReleasePhase.html



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