Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Maven Error in Eclipse
Maven Error in Eclipse [message #1854680] Fri, 02 September 2022 10:25 Go to next message
Luka Cavic is currently offline Luka CavicFriend
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

Re: Maven Error in Eclipse [message #1854683 is a reply to message #1854680] Fri, 02 September 2022 11:12 Go to previous message
Claudio Guglielmo is currently offline Claudio GuglielmoFriend
Messages: 7
Registered: May 2014
Junior Member
Hi Luka,

that sounds like the problem described here: https://www.eclipse.org/forums/index.php/t/1111180/
Updating to the new maven-master should solve it.

Regards
Claudio
Previous Topic:Enabled Field Action and Field Menu for disabled field?
Next Topic:My getDataByText() filter for a Smartfield is not working
Goto Forum:
  


Current Time: Fri Apr 26 19:14:40 GMT 2024

Powered by FUDForum. Page generated in 0.03074 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top