RunedUniverse / r4m-maven-extension

Runes4Maven (r4m) Maven Extension provides an alternative way for defining maven executions
Apache License 2.0
4 stars 1 forks source link

Patch Info: Eclipse Compatibility Error on "Update Project" #12

Closed VenaNocta closed 8 months ago

VenaNocta commented 8 months ago

Eclipse Compatibility Error

Problem:

Eclipse on startup and every time you execute "Maven" > "Update Project" the execution will crash and report an internal error. However the error is not always the same!

Reason:

We traced the error back to eclipse. It seems that eclipse tries to extract information from the project and in doing so starts a clone of the official maven-core which does not provide all the dependencies that r4m requires!

Solution:

To resolve this issue we explicitly declared the dependency and scoped it as compile.

The fix will be deployed via the patch-version r4m-maven-extension: 1.0.1!

Should updating to >1.0.1 not fix the issue for you...

  1. ... you will have to wipe out the older versions of this extension in your maven repository: Delete <user-home>/.m2/repository/net/runeduniverse/tools/maven/r4m/r4m-maven-extension.
  2. ... you should restart your IDE (Eclipse)