apache / apache/maven-release

[MRELEASE-1141] maven release plugin overwrites project.build.outputTimestamp value

Open
#1,303 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
128
Forks
145
Avg merge
7h 7m
Merged PRs (30d)
3

Description

**[Henning Schmiedehausen](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=henning)** opened **[MRELEASE-1141](https://issues.apache.org/jira/browse/MRELEASE-1141?redirect=false)** and commented

I am using  `${git.commit.time}`  as the setting for reproducible timestamps to use the git timestamp as the timestamp for the reproducible build.

When running "release:prepare", the plugin replaces this property reference with an actual timestamp, thus my setting gets lost. I am not interested in having a value there, I'd like to use the git timestamp.

There seems to be no setting to not clobber this value.

---

**Affects:** 3.0.1

1 votes, 3 watchers

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing release:prepare with project.build.outputTimestamp set to ${git.commit.time}, then trace where the Maven release plugin replaces that property with a timestamp. Done means the configured reference is preserved rather than overwritten, with coverage for this reproducible-build setting.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, release
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.