Maven
  1. Maven
  2. MNG-4301

Invalid checksums on deploy when using webdav without extension

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Blocker Blocker
    • Resolution: Incomplete
    • Affects Version/s: 2.2.1
    • Fix Version/s: None
    • Component/s: Deployment
    • Labels:
      None
    • Environment:
      n/a
    • Complexity:
      Intermediate
    • Number of attachments :
      0

      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

          Activity

          Hide
          Cornel Masson added a comment -

          We found our problem: if you restrict the artifact resolver to a single thread, the problem goes away.

          Bug logged: http://jira.codehaus.org/browse/MNG-4742

          Show
          Cornel Masson added a comment - We found our problem: if you restrict the artifact resolver to a single thread, the problem goes away. Bug logged: http://jira.codehaus.org/browse/MNG-4742
          Hide
          Chris Tanger added a comment -

          For nexus users it also relates to https://issues.sonatype.org/browse/NEXUS-4347

          Show
          Chris Tanger added a comment - For nexus users it also relates to https://issues.sonatype.org/browse/NEXUS-4347
          Hide
          Benson Margulies added a comment -

          Doesn't this net out to a bug in the dav plugin, not maven itself?

          Show
          Benson Margulies added a comment - Doesn't this net out to a bug in the dav plugin, not maven itself?
          Show
          Jason van Zyl added a comment - Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014
          Hide
          Jason van Zyl added a comment -

          Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.

          Show
          Jason van Zyl added a comment - Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.

            People

            • Assignee:
              Unassigned
              Reporter:
              Kevin Shekleton
            • Votes:
              23 Vote for this issue
              Watchers:
              28 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: