Maven generates incorrect MD5 and SHA1 on deply
-----------------------------------------------

                 Key: MNG-4726
                 URL: http://jira.codehaus.org/browse/MNG-4726
             Project: Maven 2 & 3
          Issue Type: Bug
    Affects Versions: 2.2.1
         Environment: Ubuntu Lucid, Maven 2.2.1
            Reporter: Russel Winder
            Priority: Critical


The project exhibiting the problem is JCSP at Codehaus, there are no wiki or 
web pages at Codehaus for the project, but the Codehaus project page is at 
http://xircles.codehaus.org/projects/jcsp. (This is a mirror of the Kent 
Subversion repository in Git for the purpose of getting artefacts into the 
Maven repository.)  To date only the 1.1-rc5-SNAPSHOT has been tried there is 
no release upload.

There are issue with the tests so I have to do "mvn -Dmaven.test.skip=true 
deploy".

First deploy appears to go to plan, but the checksums are written wrong.  Every 
deploy after that gets errors of the form:
{code}
[INFO] [deploy:deploy {execution: default-deploy}]
[INFO] Retrieving previous build number from codehaus.org
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
'110ada6eb9e8c34d368f3bd1a6b7ffe0ab4f3f25'; remote = 
'35bed1f3738459f97c0937df4a741f6182749a82' - RETRYING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
'110ada6eb9e8c34d368f3bd1a6b7ffe0ab4f3f25'; remote = 
'35bed1f3738459f97c0937df4a741f6182749a82' - IGNORING
Uploading: 
https://dav.codehaus.org/snapshots.repository/jcsp/org/codehaus/jcsp/jcsp/1.1-rc5-SNAPSHOT/jcsp-1.1-rc5-20100712.171732-2.jar
691K uploaded  (jcsp-1.1-rc5-20100712.171732-2.jar)
[INFO] Uploading project information for jcsp 1.1-rc5-20100712.171732-2
[INFO] Retrieving previous metadata from codehaus.org
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
'7c238a5ed9006729bd1dffbe45b41a8259c502cc'; remote = 
'1f7bcc732be23a69e3c087194e1693f7c9439ba2' - RETRYING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
'7c238a5ed9006729bd1dffbe45b41a8259c502cc'; remote = 
'1f7bcc732be23a69e3c087194e1693f7c9439ba2' - IGNORING
[INFO] Uploading repository metadata for: 'artifact org.codehaus.jcsp:jcsp'
[INFO] Retrieving previous metadata from codehaus.org
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
'110ada6eb9e8c34d368f3bd1a6b7ffe0ab4f3f25'; remote = 
'35bed1f3738459f97c0937df4a741f6182749a82' - RETRYING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
'110ada6eb9e8c34d368f3bd1a6b7ffe0ab4f3f25'; remote = 
'35bed1f3738459f97c0937df4a741f6182749a82' - IGNORING
[INFO] Uploading repository metadata for: 'snapshot 
org.codehaus.jcsp:jcsp:1.1-rc5-SNAPSHOT'
[INFO] [bundle:deploy {execution: default-deploy}]
[INFO] Remote OBR update disabled (enable with -DremoteOBR)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 34 seconds
[INFO] Finished at: Mon Jul 12 18:18:02 BST 2010
[INFO] Final Memory: 26M/292M
[INFO] ------------------------------------------------------------------------
{code}

In all cases anyone attempting to obtain the artefacts from the Codehaus 
snapshot repository is told there is a problem with the checksums.
 
My version of Maven locally is:
{code}
|> mvn -version
Apache Maven 2.2.1 (r801777; 2009-08-06 20:16:01+0100)
Java version: 1.6.0_18
Java home: /usr/lib/jvm/java-6-openjdk/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux" version: "2.6.32-23-generic" arch: "amd64" Family: "unix"
{code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to