Join 500+ Software Testing professionals. Solve problem and get your problem solved. Register Now!

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

Open 1 Answers 31 Views
0 1

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]

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 by (202 points)

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.