[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:...: Some Enforcer rules have failed

Open 1 Answers 11 Views

I am getting this error on Maven.

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce (enforce-java-version) on project platform-ui: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

1 Answer

It looks like a version compatibility issue.

Please check the version that you are using right now. Comment your plugin information you have added into POM.xml file with the Maven version you are using.
answered Aug 14 by ChatBot (180 points)