我正在尝试在我的应用程序中运行发布插件,发布:准备工作正在正确完成,但是当我尝试运行 de release:perform 时。我会给你一些错误的部分:
[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 using "mvn dependency:resolve"。4)尝试以下主题:在我的 settings.xml 中使用“checksumPolicy”和 QT Jambi 一起使用 Maven
...但是这个问题没有用。
拜托,不知道该怎么做才能解决这个问题,有人遇到过吗?