使用maven向远程仓库部署时出错,求解

xerophyte000 2015-10-28 03:56:33
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building test 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ test ---
[INFO] Deleting C:\Users\neusoft\Desktop\mallworkspace\test\target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ test ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Users\neusoft\Desktop\mallworkspace\test\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ test ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to C:\Users\neusoft\Desktop\mallworkspace\test\target\classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ test ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Users\neusoft\Desktop\mallworkspace\test\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ test ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to C:\Users\neusoft\Desktop\mallworkspace\test\target\test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ test ---
[INFO] Surefire report directory: C:\Users\neusoft\Desktop\mallworkspace\test\target\surefire-reports

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.neusoft.javashop.test.AppTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ test ---
[INFO] Building jar: C:\Users\neusoft\Desktop\mallworkspace\test\target\test-0.0.1-SNAPSHOT.jar
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ test ---
[INFO] Installing C:\Users\neusoft\Desktop\mallworkspace\test\target\test-0.0.1-SNAPSHOT.jar to C:\Users\neusoft\.m2\repository\com\neusoft\javashop\test\0.0.1-SNAPSHOT\test-0.0.1-SNAPSHOT.jar
[INFO] Installing C:\Users\neusoft\Desktop\mallworkspace\test\pom.xml to C:\Users\neusoft\.m2\repository\com\neusoft\javashop\test\0.0.1-SNAPSHOT\test-0.0.1-SNAPSHOT.pom
[INFO]
[INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ test ---
[INFO] Downloading: http://10.4.120.180:7071/nexus/content/repositories/snapshots/com/neusoft/javashop/test/0.0.1-SNAPSHOT/maven-metadata.xml
[WARNING] Checksum validation failed, expected <HTML> but is e2893de477ad9f9ed8f0b0825747ad70217fd0fa for http://10.4.120.180:7071/nexus/content/repositories/snapshots/com/neusoft/javashop/test/0.0.1-SNAPSHOT/maven-metadata.xml
[WARNING] Could not validate integrity of download from http://10.4.120.180:7071/nexus/content/repositories/snapshots/com/neusoft/javashop/test/0.0.1-SNAPSHOT/maven-metadata.xml: Checksum validation failed, expected <HTML> but is 89a613704e150bf4210c4816d8c1f5e114252232
[WARNING] Checksum validation failed, expected <HTML> but is 89a613704e150bf4210c4816d8c1f5e114252232 for http://10.4.120.180:7071/nexus/content/repositories/snapshots/com/neusoft/javashop/test/0.0.1-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded: http://10.4.120.180:7071/nexus/content/repositories/snapshots/com/neusoft/javashop/test/0.0.1-SNAPSHOT/maven-metadata.xml (3 KB at 15.5 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.304 s
[INFO] Finished at: 2015-10-28T15:54:23+08:00
[INFO] Final Memory: 19M/219M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project test: Failed to update metadata com.neusoft.javashop:test:0.0.1-SNAPSHOT/maven-metadata.xml: Could not parse metadata C:\Users\neusoft\.m2\repository\com\neusoft\javashop\test\0.0.1-SNAPSHOT\maven-metadata-snapshots.xml: end tag name </head> must be the same as start tag <meta> from line 55 (position: TEXT seen ...<title>\u4e1c\u8f6f\u96c6\u56e2Internet\u8bbf\u95ee\u7ba1\u7406\u9875</title>\r\n</head>... @57:8) -> [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
...全文
1417 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
xerophyte000 2015-10-29
  • 打赏
  • 举报
回复
问题解决了,幸亏没有人来,是我公司网络的问题,使用代理上外网时要配置内网的ip为例外

24,923

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 Apache
社区管理员
  • Apache
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧