Maven doesn't seem to be detecting checksum failures for snapshot artifacts.
----------------------------------------------------------------------------

                 Key: MNG-4303
                 URL: http://jira.codehaus.org/browse/MNG-4303
             Project: Maven 2
          Issue Type: Bug
    Affects Versions: 2.2.1
            Reporter: Rich Seddon


I'm seeing what looks to be a bug in maven.

I have a snapshot repo with one snapshot jar artifact.

I run "mvn install" for a project which has this as a dependency.

Now the local repo has this snapshot cached.

Next I deploy a 2nd snapshot, but this time I corrupt the jar on the server so 
checksums don't match.

If I run "mvn -C -U install", the build succeeds, no warnings are issued.

Furthermore, at this point both snapshots are in my local repo, but it turns 
out that the size of the 2nd snapshot is identical to the eize of the first 
one, even though the jar sizes are different on the server.

If I clear my local repo and run "mvn -U -C install" the build fails with a 
checksum error, as expected.









-- 
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