jenkins构建报错:maven-release-plugin:2.5.3:pom.xml:modified

jenkins构建报错:maven-release-plugin:2.5.3:pom.xml:modified

 

 

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:branch (default-cli) on project newform_web: Cannot prepare the release because you have local modifications :
[ERROR] [pom.xml:modified]
[ERROR] -> [Help 1]
[ERROR] 
[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] 
[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/MojoFailureException

 

解决方法:工作空间-->清理工作空间,重新构建即可

jenkins构建报错:maven-release-plugin:2.5.3:pom.xml:modified