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

Make sure extension metadata properties are not including timestamps #38365

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

aloubyansky
Copy link
Member

Fixes #38364

@quarkus-bot quarkus-bot bot added area/config area/core area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins labels Jan 24, 2024

/**
* Stores properties into a file sorting the keys alphabetically and following
* {@link Properties#store(Writer, String)} format but skipping the timestamp and comments.
Copy link
Member

Choose a reason for hiding this comment

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

How exactly do you skip the timestamps?

Copy link
Member Author

Choose a reason for hiding this comment

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

By writing each line in the methods below instead of calling Properties.store(...)

Copy link
Member

Choose a reason for hiding this comment

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

Ah OK. It's Properties.store() adding the timestamps!

Copy link
Contributor

Choose a reason for hiding this comment

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

You can bypass that by running with -Djava.properties.date=, but I think the current solution is easier to understand

@quarkus-bot
Copy link

quarkus-bot bot commented Jan 24, 2024

✔️ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

You can consult the Develocity build scans.

@gsmet gsmet merged commit d1ab63a into quarkusio:main Jan 24, 2024
50 checks passed
@quarkus-bot quarkus-bot bot added this to the 3.9 - main milestone Jan 24, 2024
@gsmet gsmet modified the milestones: 3.9 - main, 3.7.1 Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/config area/core area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins kind/bugfix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

extension-maven-plugin does not support reproducible builds
3 participants