Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Blocker
-
Resolution: Unresolved
-
Affects Version/s: 2.2.1
-
Fix Version/s: Issues to be reviewed for 3.x
-
Component/s: Deployment
-
Labels:None
-
Environment:n/a
-
Complexity:Intermediate
-
Number of attachments :
Description
With maven 2.2.1, our deployments via webdav are producing invalid checksums, similar to the issue reported in MNG-4235.
From maven 2.0.8 and previous, the following build extension was required to deploy via webdav:
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-webdav</artifactId>
<version>1.0-beta-2</version>
</extension>
</extensions>
Starting with maven 2.0.9 (see MNG-3418), webdav was included by default and the aforementioned build extension must be removed from the project. If it was included in the project the deployment would fail as Maven would report multiple versions of wagon-webdav present.
With maven 2.2.0, our deployment suffered from invalid checksums reported in MNG-4235.
With maven 2.2.1, we still see the invalid checksums on deployment as reported in MNG-4235. However, I've found that if you add the above build extension into the project, we don't experience this issue (of generating invalid checksums). Is this workaround an intentional change brought about by the fix of MNG-4235?
Issue Links
| This issue is duplicated by: | ||||
| MNG-4726 | Maven generates incorrect MD5 and SHA1 on deply |
|
|
|
| This issue relates to: | ||||
| ENUNCIATE-416 | invalid maven checksums when deploying RC1 |
|
|
|
| WAGON-304 | Wrong checksum when deploy with wagon:httpclient provider |
|
|
|
| This issue is related to: | ||||
| MNG-4235 | [regression] Maven 2.2.0 produces invalid checksums during deployment to secured HTTP repo |
|
|
|
| This issue depends upon: | ||||
| WAGON-277 | HttpClient wagon (wagon-http) uploads all files twice when preemptive authentication is disabled |
|
|
|
| This issue is depended upon by: | ||||
| MNG-4742 | Multi-threaded artifact resolver corrupts artifacts on download |
|
|
|
I can confirm that I have seen invalid checksums produced via the webdav wagon using version 2.2.1