Uploaded image for project: 'Maven Wagon'
  1. Maven Wagon
  2. WAGON-264

compressed tarball download problems

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-beta-2, 1.0-beta-3, 1.0-beta-4, 1.0-beta-5
    • Fix Version/s: 1.0-beta-6
    • Component/s: wagon-http-lightweight
    • Labels:
      None

      Description

      HTTP wagon will uncompress tarballs it downloads, sometimes badly. Downloading openssl results in an unpressed download

      $ mvn -X wagon:download-single -Dwagon.fromFile=openssl-0.9.8k.tar.gz -Dwagon.url=http://www.openssl.org/source -Dwagon.toDir=./
      $ tar tzf openssl-0.9.8k.tar.gz
      gzip: stdin: not in gzip format
      tar: Child returned status 1
      tar: Error exit delayed from previous errors
      $ tar tf openssl-0.9.8k.tar.gz | more
      openssl-0.9.8k/apps/
      openssl-0.9.8k/apps/app_rand.c

      Downloading expat results in a corrupted file

      mvn -X wagon:download-single -Dwagon.fromFile=expat-1.98.8.tar.gz -Dwagon.url=http://prdownloads.sourceforge.net/expat -Dwagon.toDir=./
      $ tar tf expat-1.98.8.tar.gz
      tar: This does not look like a tar archive
      tar: Skipping to next header
      tar: Read 1943 bytes from expat-1.98.8.tar.gz
      tar: Error exit delayed from previous errors

        Attachments

          Activity

            People

            • Assignee:
              jdcasey John Dennis Casey
              Reporter:
              stimpy Lee Thompson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: