Replies: 5 comments 2 replies
-
Have you tried "update maven project" with the force option? |
Beta Was this translation helpful? Give feedback.
-
I have also tried deleting all |
Beta Was this translation helpful? Give feedback.
-
I tried to reproduce it with a simple new workspace but no luck so far. But all my real big workspaces are messed up as soon as I start switching between custom user settings and different local repos. It would already help a lot if I could find the place where m2e stores the location of the local repository (I assume it is some kind of stale cache). |
Beta Was this translation helpful? Give feedback.
-
The LemMinX Language Server and its extension for Maven get informed of the path to settings file configured via preferences during their initialization, see The LemMinX extension is supposed to receive it and process it, in org.eclipse.lemminx.extensions.maven.MavenLemminxExtension.initMavenRequest() . If you want to debug the running language server, please see https://github.com/eclipse-wildwebdeveloper/wildwebdeveloper/blob/master/TIPS_and_FAQ.md#attach-a-debugger-to-the-xml-language-server-process |
Beta Was this translation helpful? Give feedback.
-
I figured out the reason for the "plugin could not be resolved" warning. The cause is given as "Failed to parse plugin descriptor for ...", followed by a workspace project path (not a local repo path). So I guess the POM editor tries to use workspace resolution to read My current workarounds are:
|
Beta Was this translation helpful? Give feedback.
-
I ran maven in the cmd prompt once with a custom local repo parameter (
-Dmaven.repo.local=reactor-repo
), and now the m2e pom editor also uses that repo for dependency analysis and navigation. I get many warnings that plugins cannot be found.Sometimes I use a custom user settings file in the maven settings to point to (yet another) custom local repo, but currently I have no special configuration (see screenshot).
I tried search for 'reactor-repo' in the eclipse workspace and plugin folders but didn't find anything.
Could you help me debug how m2e resolves the local repository?
Beta Was this translation helpful? Give feedback.
All reactions