[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install (default-install) on project com.isoftstone.hyec.frt.carriageoffer: Failed to install metadata com.isoftstone.hyec:com.isoftstone.hyec.frt.carriageoffer/maven-metadata.xml: Could not parse metadata E:\Repositories\seaStation\com\isoftstone\hyec\com.isoftstone.hyec.frt.carriageoffer\maven-metadata-local.xml: only whitespace content allowed before start tag and not \u0 (position: START_DOCUMENT seen \u0... @1:1) -> [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/MojoExecutionException
Failed to install metadata : Could not parse metadata
maven打包的时候报错。
不能读取元配置文件信息
maven-metadata.xml
解决方法
删除对应目录下的所有文件。
E:\Repositories\seaStation\com\isoftstone\hyec\com.isoftstone.hyec.frt.carriageoffer\
删除对应目录下的所有文件。
E:\Repositories\seaStation\com\isoftstone\hyec\com.isoftstone.hyec.frt.carriageoffer\
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.642 s
[INFO] Finished at: 2016-04-07T10:17:19+08:00
[INFO] Final Memory: 25M/61M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install (default-install) on project com.isoftstone.hyec.frt.carriageoffer: Failed to install metadata com.isoftstone.hyec:com.isoftstone.hyec.frt.carriageoffer/maven-metadata.xml: Could not parse metadata E:\Repositories\seaStation\com\isoftstone\hyec\com.isoftstone.hyec.frt.carriageoffer\maven-metadata-local.xml: only whitespace content allowed before start tag and not \u0 (position: START_DOCUMENT seen \u0... @1:1) -> [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/MojoExecutionException