Is there a way to hide the Maven Dependencies
classpath container in the Package Explorer? Everytime I jump into a class of a dependency, the Maven Dependencies tree is expanded to the class (if "Link with Editor" is selected, which is my preferred setting). Navigating to own classes or resources then requires lots of scrolling in the Package Explorer, which is quite annoying.
Is there a way to hide the "Maven Dependencies" classpath container or avoid that its get expanded automatically without having to deactivate "Link with Editor"?
Open the pom file and click on dependency Hierarchy. Select the the jar you want to delete. Right click and click on Exclude Maven Artifact.
In your project's POM, press Ctrl and hover the mouse over the dependency. Click the dependency to open the dependency's POM. In the dependency POM, view the active dependency, its transitive dependencies and their versions. You can check the origin from which the dependency was pulled in.
There is a small triangle in the Package Explorer's upper right corner. You can create Filters to hide stuff (either by name, or maybe there is a hide Maven modules built-in filter by default depending on which plugin you use). I think that could help you.
Eclipse also has a predefined filter "Hide libraries from external" that will solve your issue. At least in Luna
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With