-
Notifications
You must be signed in to change notification settings - Fork 31
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
Ctrl+click no longer opens the pom on maven dependencies #531
Comments
I am running the same components, but Ctrl-Click on dependencies in the POM editor opens the correct file and even though the .m2/lemminx-maven folder is present. I have been a witness to historical behaviors having changed in Lemminx-Maven but most of them (if not all) seem to have now been fixed. |
Thanks for your reply, I provide additional clarification : I do not use the maven embedded with Eclipse 2023-09 because of an issue with Maven 3.9.X : actions/runner-images#7216. In fact with embedded Maven I have this error during mvn install : |
I have been a witness to various build issues using Maven 3.9.x Therefore, I am using Maven 3.8.x like you and Eclipse 2023-09 with updates but no problems like yours I am afraid. Perhaps a small reproduction project would help. Either way, I don't think the tools are ready for Maven 3.9.x yet. |
Ok thanks a lot, I will try to provide a minimal project to reproduce the issue when I will have more time. |
Just a note here.
So, until you execute After running So path prefixes used to access the dependencies might change during the work between If a dependency cannot be opened by Ctrl-clicking on it - in most cases [I hope] it means that the dependency cannot be installed from a remote repository (so |
Thanks for the explanations @vrubezhny , but in my case, the mvn install (so verify too) works well and dependencies are installed in the main maven repo (I have the pom |
And same issue with last version of Eclipse (2023-12) on a clean workspace and a new maven repository. |
As |
Maybe it should but it's not and that's the problem :) |
I finally also tried with Eclipse 2022-09 and I have the same problem, except that this time there is no lemminx folder. Eclipse opens the |
On Eclipse 2023-09, a Ctrl+Click on a pom dependency no longer opens the dependency pom but a file without extension present in the .m2.lemminx-maven\ folder.
On the same project with eclipse 2022-06 (without this lemminx folder) it works perfectly and opens the corresponding pom.
System information
M2E - POM Editor using LemMinX language server (includes Incubating components)
2.0.5.20230815-1219
Eclipse IDE for Enterprise Java and Web Developers (includes Incubating components)
Version: 2023-09 (4.29.0)
Build id: 20230907-1323
Eclipse Adoptium
jdk-17.0.6.10-hotspot
Windows 10 Version 22H2
build 19045.3570
The text was updated successfully, but these errors were encountered: