Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin

后端 未结 12 1353
感情败类
感情败类 2021-02-04 06:49

I got a maven spring project but when I try to run it, I can\'t... some idea about it...
The next is the Error Message:

BUILD FAILURE
-----------------------         


        
12条回答
  •  天涯浪人
    2021-02-04 07:05

    I faced the same issue and resolved it by fixing the pom versions. Below command didn't run properly on all the sub pom's which resulted in different pom versions. 'mvn versions:set -DnewVersion=${NEW_VERSION} versions:commit' Check whether all the moms have same version if there is dependent pom's.

提交回复
热议问题