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

Sort by artifactId #372

Open
Bananeweizen opened this issue Jun 13, 2023 · 1 comment
Open

Sort by artifactId #372

Bananeweizen opened this issue Jun 13, 2023 · 1 comment

Comments

@Bananeweizen
Copy link

I'm a big fan of stable and easy to read output for any tool. Therefore I'd like to provide a patch which sorts the projects in the reactor by artifact id, before doing any further work. That would lead to the "excluded" or "analyzing" output to be sorted, and might also lead to a more stable order in the generated output files.
Right now, just changing module order in a reactor can lead to different output, although there hasn't been any semantic change from the dependency point of view.

Any concerns about that?

@hboutemy
Copy link
Contributor

sorting is a good idea: doing it at reactor level less :)
just do the sorting once data has been extracted, then at SBOM object model level, and everything will be fine

I don't know if anybody will complain that components order won't match classpath order any more: we'll see (or need) community feedback

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

No branches or pull requests

2 participants