Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Reproducible metadata #7

Merged
merged 1 commit into from Oct 29, 2017
Merged

Reproducible metadata #7

merged 1 commit into from Oct 29, 2017

Conversation

ebourg
Copy link

@ebourg ebourg commented Sep 18, 2017

Hi,

The components.xml file generated by the plexus-containers-metadata plugin isn't deterministic. The output varies depending on the computer/JDK/architecture used. In order to make the output reproducible I suggest sorting the components descriptors before writing them. Here is an implementation with its unit test.

This patch has been tested in Debian as part of the reproducible builds effort.

Thank you

@rfscholte
Copy link
Member

Can you update the PR?

@ebourg
Copy link
Author

ebourg commented Oct 28, 2017

What update would you like? The PR has no conflict with the current code, but Travis is reporting a failure that seems unrelated (the build worked at least with Java 8).

@rfscholte
Copy link
Member

travis file has been changed on master. that should make this branch succeed as well

@ebourg
Copy link
Author

ebourg commented Oct 29, 2017

I rebased the PR on top of the plexus-containers-1.x branch

@rfscholte rfscholte merged commit 2933682 into codehaus-plexus:plexus-containers-1.x Oct 29, 2017
@hboutemy hboutemy added this to the 1.8.0 milestone Oct 29, 2017
@ebourg
Copy link
Author

ebourg commented Oct 29, 2017

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

3 participants