-
Notifications
You must be signed in to change notification settings - Fork 116
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
Editor won't display info or allow for navigation in dependencyManagement #840
Comments
Can you please provide an example of such a pom file? |
Hello @mickaelistria , I have left a sample project from my Github. |
I think this is already fixed in snapshots and I cannot reproduce it. Can you please try installing latest m2e from https://download.eclipse.org/technology/m2e/snapshots/latest/ and report whether this fixes your issue? |
You are right @mickaelistria , However, risking stretching your help a bit further let me just ask you one thing: |
If you select the option at the bottom "Show original error and build my own solution" it shows a detailed description of probably conflicting dependencies from which your question can hopefully be answered. But my first guess is, that thos Features have plug-ins that require m2e below 2.0 |
Hi @HannesWell I think you would be right, this is what I see then From what I get Maven JPA configurator needs org.eclipse.m2e.core below 2.0.0. |
Yes you are reading it right and it looks like the details are incomplete. |
Please try installing newer connectors from https://ci.eclipse.org/m2e/view/m2e-wtp/job/m2e-wtp/job/master/7/artifact/org.eclipse.m2e.wtp.site/target/repository/ |
Hello Hannes and Mickael, Thanks Mickael, but I didn't get to intall the full M2E snapshot, only the newer POM Editor using LemMinX, which did not have any conflicts with other plugins. I was merely asking out of curiosity but above all as an early "heads up" because mine is a fresh install of Eclipse IDE for Enterprise Java and Web Developers 2022-06, so if the snapshot has these incompatibilities with these plugins it will most definitely have incompatibilities when it's final version is released. Thanks for both of your time, you can close this issue now. |
Description
When hovering over a dependency which has its version written as replacement variable which in turn has its value in the
<properties>
element of a pom and that dependency is inside the<dependencyManagement>
element, the editor won't display any information regarding it.Further, it won't allow navigation to the given POM using
Ctrl+Click
.This won't happen if the dependency is inside the
<dependencies>
element, in which case it will display the info tooltip about it andCtrl+Click
will navigate to the matching pom.Expected Outcome
On one such dependency the editor should be able to display the info tooltip about it and allow for the navigation to it, with
Ctrl+Click
.This is very useful when one is trying to check dependencies versions or properties in an imported BOM.
Current Outcome
Hovering won't show info tooltip and Ctrl+Click on it won't navigate to matching pom.
This happens when the dependency is within a
<dependencyManagement>
element.Steps to reproduce
I have a sample project that I use for other issues here.
This is a rather simple app with some dependencies. It has 3 branches, one for each LTS of JDK.
fish.payara.api
Ctrl+Click
on it<dependencies>
elementEnvironment
The text was updated successfully, but these errors were encountered: