Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Scout 10 HelloWorld sample application Maven build issue ( Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce (enforce-rules) on project helloworld:)
Scout 10 HelloWorld sample application Maven build issue [message #1830643] Thu, 30 July 2020 11:23 Go to next message
Senaka Suriyaarachchi is currently offline Senaka SuriyaarachchiFriend
Messages: 14
Registered: July 2020
Junior Member
Hi All,
I am new to Eclipse Scout. I downloaded Scout 10 and started the HelloWorld sample app and when I try to build with Maven Build... option (clean verify goal) on Eclipse.. I got following error.
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce (enforce-rules) on project helloworld: Execution enforce-rules of goal org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce failed: An API incompatibility was encountered while executing org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce: java.lang.ExceptionInInitializerError: null


Could you please explain why I am getting this error.
I am using Windows 10 OS.

Regards
Senaka
Re: Scout 10 HelloWorld sample application Maven build issue [message #1830860 is a reply to message #1830643] Wed, 05 August 2020 11:43 Go to previous messageGo to next message
Andre Wegmueller is currently offline Andre WegmuellerFriend
Messages: 204
Registered: September 2012
Location: Baden-Dättwil, Switzerla...
Senior Member
I guess this problem is answered by this message from Patrick here:

It looks like the Maven Enforcer Plugin pulls in an outdated dependency which doesn't parse the Java version correctly...




Eclipse Scout Homepage | Documentation | GitHub
Re: Scout 10 HelloWorld sample application Maven build issue [message #1830892 is a reply to message #1830860] Thu, 06 August 2020 04:19 Go to previous message
Senaka Suriyaarachchi is currently offline Senaka SuriyaarachchiFriend
Messages: 14
Registered: July 2020
Junior Member
Hi Andre,
Yes,my problem resolved with the Patrick's suggested Option 1.
https://www.eclipse.org/forums/index.php?t=msg&th=1103006&goto=1830854&#msg_1830854


Regards
Senaka
Previous Topic:[NEON] Inclusion of additional icons from font-awesome
Next Topic:CodeType with codes from the database
Goto Forum:
  


Current Time: Mon Sep 23 20:20:51 GMT 2024

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

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

Back to the top