Maven Error in Eclipse [message #1854680] |
Fri, 02 September 2022 10:25 |
Luka Cavic Messages: 47 Registered: August 2014 |
Member |
|
|
Hello,
on project I am working, everything was ok, until I removed one maven dependency in server project. That was org.eclipse.scout.rt.mail dependency which was not using.
After selecting all projects and running Maven -> Update Project I got this error:
Description Resource Path Location Type CoreException: Could not get the value for parameter compilerId for plugin execution default-compile: PluginResolutionException: Plugin org.apache.maven.plugins:maven-compiler-plugin:3.8.1 or one of its dependencies could not be resolved: org.eclipse.platform:org.eclipse.osgi:jar:3.18.100-SNAPSHOT was not found in https://repo.eclipse.org/content/groups/snapshots/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of eclipse.snapshot has elapsed or updates are forced pom.xml /mxproject.server line 9 Maven Project Build Lifecycle Mapping Problem
Now I cannot solve this.
I tried:
1. Recreating project in new workspace
2. Downloading new Eclipse and setting up project again.
3. Using different PC and setting up project.
4. Copying Eclipse installation from PC where it is working.
5. Installing maven eclipse connectors (using quick fix method on error).
6. Using different Eclipse version.
7. Running eclipsec.exe with clean option.
8. Project clean, Mavan update (Force) option.
9. Deleting .m2 directory
...
Using:
Scout: 11.0.42
Java: openjdk version "11.0.11" 2021-04-20
OpenJDK Runtime Environment AdoptOpenJDK-11.0.11+9 (build 11.0.11+9)
OpenJDK 64-Bit Server VM AdoptOpenJDK-11.0.11+9 (build 11.0.11+9, mixed mode)
I have uploaded some images (Eclipse Version, Installed Plugins, Maven Lifecycle with errors).
Project is running ok with InteliJ.
Any ideas?
Thank you
[Updated on: Fri, 02 September 2022 10:27] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03074 seconds