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

Add option to sort Maven Dependencies alphabetically #1865

Open
odrotbohm opened this issue Oct 4, 2024 · 2 comments
Open

Add option to sort Maven Dependencies alphabetically #1865

odrotbohm opened this issue Oct 4, 2024 · 2 comments

Comments

@odrotbohm
Copy link

The "Maven Dependencies" node in the Project Explorer sorts dependencies as they appear on the classpath, effectively reflecting the declaration order in the POM. This is helpful to know which JAR comes first when compiling and executing the project. That said, when browsing dependencies in the IDE, the individual artifacts would be easier to find if the list was sorted alphabetically.

It would be nice if there was an option to rather display the individual dependency artifacts in alphabetical order.

@laeubi
Copy link
Member

laeubi commented Oct 4, 2024

I don't think m2e can do much about this as the Classpath Container is a JDT feature so one would need a (generic) feature to show items ordered by name there.

@odrotbohm
Copy link
Author

Hm, that's weird, as in the Package Explorer, the dependencies are indeed sorted alphabetically? 🤔

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