Uploaded image for project: 'Maven Assembly Plugin'
  1. Maven Assembly Plugin
  2. MASSEMBLY-748

problem to extract zip files including file names with umlauts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.3
    • 2.5.4
    • maven-archiver
    • None

    Description

      Like in an other issue reported, you need to explicitly set the code page CP850 to create zip packages hosting file names with correct umlauts their names. (by using the following configuration)

      <archiverConfig>
      <encoding>CP850</encoding>
      </archiverConfig>

      After all this solution is not 100% useful, because if you extract this file with the obiously correct umlauts in the zip, wrong chars for all umlauts reappear.
      It's strange, because if you unzip this zip file with all other zip tools (7zip, Windows native zip support aso.) the extraction works fine.

      Only using the maven-assembly-plugin the umlauts get corrupted.
      (a try to set the archiverConfig with the CP850 also for the extracting execution process of the assembly plugin just results in a bad error calling
      Failed to configure archiver:
      " org.codehaus.plexus.archiver.dir.DirectoryArchiver: Cannot find 'encoding' in class org.codehaus.plexus.archiver.dir.DirectoryArchiver " )

      Attachments

        Issue Links

          Activity

            People

              krosenvold Kristian Rosenvold
              ntshko Hannes Kogler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: