Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6192

distribution zip file has unordered entries

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.5.0-beta-1
    • Fix Version/s: 3.5.0
    • Component/s: None
    • Labels:
      None

      Description

      as reported during 3.5.0-beta-1 vote, some tools (here Maven wrapper) fail to unzip the distribution file

      it looks like the m-assembly-p version used to create the zip file has a bug that does not order entries to create main directory before creating README.txt file in it

      $ unzip -t apache-maven-3.5.0-beta-1-bin.zip | more
      Archive:  apache-maven-3.5.0-beta-1-bin.zip
          testing: apache-maven-3.5.0-beta-1/README.txt   OK
      [...]
          testing: apache-maven-3.5.0-beta-1/   OK
      [...]

        Activity

        Hide
        hboutemy Hervé Boutemy added a comment -

        m-assembly-p upgraded to 3.0.0, that fixes the issue:

        $ unzip -t apache-maven-3.5.0-SNAPSHOT-bin.zip 
        Archive:  apache-maven-3.5.0-SNAPSHOT-bin.zip
            testing: apache-maven-3.5.0-SNAPSHOT/   OK
            testing: apache-maven-3.5.0-SNAPSHOT/lib/   OK
        [...]
            testing: apache-maven-3.5.0-SNAPSHOT/README.txt   OK
        [...]
        Show
        hboutemy Hervé Boutemy added a comment - m-assembly-p upgraded to 3.0.0, that fixes the issue: $ unzip -t apache-maven-3.5.0-SNAPSHOT-bin.zip Archive: apache-maven-3.5.0-SNAPSHOT-bin.zip testing: apache-maven-3.5.0-SNAPSHOT/ OK testing: apache-maven-3.5.0-SNAPSHOT/lib/ OK [...] testing: apache-maven-3.5.0-SNAPSHOT/README.txt OK [...]
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Jenkins build maven-3.x #1580 (See https://builds.apache.org/job/maven-3.x/1580/)
        MNG-6192 upgraded m-assembly-p to get ordered entries in zip (hboutemy: http://git-wip-us.apache.org/repos/asf/?p=maven.git&a=commit&h=f0535a40e2dba47f00c5469941d3edad2a8effef)

        • (edit) pom.xml
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build maven-3.x #1580 (See https://builds.apache.org/job/maven-3.x/1580/ ) MNG-6192 upgraded m-assembly-p to get ordered entries in zip (hboutemy: http://git-wip-us.apache.org/repos/asf/?p=maven.git&a=commit&h=f0535a40e2dba47f00c5469941d3edad2a8effef ) (edit) pom.xml

          People

          • Assignee:
            hboutemy Hervé Boutemy
            Reporter:
            hboutemy Hervé Boutemy
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development