今天在打包时遇到这个问题:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4: install (default-install) on project authorizationManagement-service: Failed to install metadata com.dmsdbj.itoo:authorizationManagement-service:1.0.5-SNAPSHOT/maven-metadata.xml: Could not parse metadata /usr/local/maven/repo/com/dmsdbj/itoo/authorizationManagement-service/1.0.5-SNAPSHOT/maven-metadata-local.xml: in epilog non whitespace content is not allowed but got n (position: END_TAG seen ...</metadata> n... @21:2) -> [Help 1]
解决方法:
根据提示找到对应的 maven-metadata-local.xml 文件删除后,重新构建即可。