我正在尝试在我的应用程序中运行发布插件,发布:正在准备正确但是当我尝试运行de release时:执行。我会给你一些错误的部分:
[INFO] Uploaded: http://172.18.102.23:8080/artifactory/libs-release-local/br/fucapi/ads/ads/0.0.9/ads-0.0.9.pom (3 KB at 5.5 KB/sec)
[INFO] Downloading: http://172.18.102.23:8080/artifactory/libs-release-local/br/fucapi/ads/ads/maven-metadata.xml
[INFO] [WARNING] Checksum validation failed, expected GIF89a????!?,D; but is 2daeaa8b5f19f0bc209d976c02bd6acb51b00b0a for http://172.18.102.23:8080/artifactory/libs-release-local/br/fucapi/ads/ads/maven-metadata.xml
[INFO] [WARNING] Checksum validation failed, expected GIF89a????!?,D; but is 2daeaa8b5f19f0bc209d976c02bd6acb51b00b0a for http://172.18.102.23:8080/artifactory/libs-release-local/br/fucapi/ads/ads/maven-metadata.xml
[INFO] Downloaded: http://172.18.102.23:8080/artifactory/libs-release-local/br/fucapi/ads/ads/maven-metadata.xml (43 B at 1.3 KB/sec)
[INFO] [INFO] BUILD FAILURE
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time: 5.672s
[INFO] [INFO] Finished at: Mon Jun 04 11:08:32 GMT-04:00 2012
[INFO] [INFO] Final Memory: 6M/28M
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project ads: Failed to update metadata br.fucapi.ads:ads/maven-metadata.xml: Could not parse metadata C:\Documents and Settings\JOSEBARBOSA\.m2\repository\br\fucapi\ads\ads\maven-metadata-release.xml: only whitespace content allowed before start tag and not G (position: START_DOCUMENT seen G... @1:1) -> [Help 1]
[INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project ads: Failed to update metadata br.fucapi.ads:ads/maven-metadata.xml: Could not parse metadata C:\Documents and Settings\JOSEBARBOSA\.m2\repository\br\fucapi\ads\ads\maven-metadata-release.xml: only whitespace content allowed before start tag and not G (position: START_DOCUMENT seen G... @1:1)
[INFO] Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to update metadata br.fucapi.ads:ads/maven-metadata.xml: Could not parse metadata C:\Documents and Settings\JOSEBARBOSA\.m2\repository\br\fucapi\ads\ads\maven-metadata-release.xml: only whitespace content allowed before start tag and not G (position: START_DOCUMENT seen G... @1:1)
[INFO] at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:193)
1)我试图清理我的存储库。 2)我把这个配置放在我的属性中。
<project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>
3)我尝试这个主题:Maven checksum failed使用“mvn dependency:resolve”。 4)尝试以下主题:Using Maven with QT Jambi在settings.xml中使用“checksumPolicy”
......但这个问题没有用。
请不要知道如何解决这个问题,有人曾经有过这个吗?
答案 0 :(得分:2)
daeaa8b5f19f0bc209d976c02bd6acb51b0
表示响应是SSL编码的。网址
http://172.18.102.23:8080/artifactory/
来自配置。将协议更改为
https
或更改网址。
答案 1 :(得分:0)
这也是一个错误,由于您的服务器无法访问,可能会引发错误。卷曲网址mvn尝试连接可以节省您一些时间进行故障排除。