Skip to main content



      Home
Home » Eclipse Projects » Eclipse Scout » Core Exception in pom.xml files
Core Exception in pom.xml files [message #1853650] Tue, 12 July 2022 08:11 Go to next message
Eclipse UserFriend
An error suddenly started appearing in my project:
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: Could not find artifact org.eclipse.platform:org.eclipse.osgi:jar:3.18.100-SNAPSHOT in eclipse.snapshot (https://repo.eclipse.org/content/groups/snapshots/)


It shows up in all child pom.xml files. Location of error in pom.xml is (see red font):
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">

<modelVersion>4.0.0</modelVersion>

<parent> <<<< Here is error located.
<groupId>cz.a4b</groupId>
<artifactId>tracetickets</artifactId>
<version>1.0.43-SNAPSHOT</version>
<relativePath>../tracetickets</relativePath>
</parent>

<artifactId>tracetickets.client</artifactId>

<name>T-CODES Client</name>
...


I can't create war.

Can someone please advise me?

Thanks.
Re: Core Exception in pom.xml files [message #1853684 is a reply to message #1853650] Wed, 13 July 2022 10:04 Go to previous message
Eclipse UserFriend
Hi Miloslav

A dependency of the Eclipse Tycho compiler plugin requires org.eclipse.osgi and uses an open verison constraint that apperantly also matches SNAPSHOT releases. 3.18.100-SNAPSHOT in our case. Unfortunately this snapshot jar has been deleted from the eclipse maven repo, but not its corresponding pom.xml file. Hence the open version constraint still resolves to the missing jar.

Long story short: we have built a new maven-master that pins the version of org.eclipse.osgi to an existing release build. You just need to update the version of the org.eclipse.scout:maven_rt_plugin_config-master in your parent pom:

For Scout 10.0 use 3.12.9
For Scout 11.0 use 3.14.5

Regards
Andi
Previous Topic:Error code 403 by Database authentication
Next Topic:Error building scout application
Goto Forum:
  


Current Time: Fri Jun 20 02:43:27 EDT 2025

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

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

Back to the top