Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makes update of outputTimestamp property optional #310

Merged

Conversation

elektro-wolle
Copy link

@elektro-wolle elektro-wolle commented Sep 1, 2021

Allow outputTimestamp to be set to a fix value, not the current Date. In my use-case, project.build.outputTimestamp is set to ${git.commit.time} in the pom and allows a binary reproducible build of any given tag/commit-id. Whether it is a release or not.
But using a fixed timestamp during development commits breaks (in my case) things like last-modified headers in http responses.

Copy link
Owner

@aleksandr-m aleksandr-m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you describe your use-case for making this optional?

@aleksandr-m aleksandr-m merged commit 1369698 into aleksandr-m:master Sep 3, 2021
@aleksandr-m
Copy link
Owner

@elektro-wolle Thank you for the PR and explanation.

@elektro-wolle elektro-wolle deleted the optional-outputTimestamp branch September 3, 2021 19:41
@aleksandr-m
Copy link
Owner

@elektro-wolle 1.17.0 is out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants