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

lineEnding in fileSet corrupts jar files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.4
    • 2.5.3
    • None
    • None
    • Maven 3.0.5 on Mac Os 10.8.3 with Apple JDK 1.6.0_43
      Maven 3.0.5 on Windows XP with Oracle JDK 1.6.0_31

    Description

      I've found a difference in behavior between v2.3 and v2.4 of the plugin. If lineEnding is set to, for example, unix for a fileSet which contains jar files, the jar files are modified and corrupt with v2.4. This was not the case with v2.3. See attached test project.

      Not sure if this is an actual bug in the plugin, or rather a misconfiguation in the project. But the behavioral change between the versions is a fact.

      If this is not a bug, maybe we could try to detect misconfiguration like this and output a warning?

      Attachments

        1. assembly-lineEnding.zip
          3 kB
          Anders Hammar

        Activity

          People

            krosenvold Kristian Rosenvold
            afloom Anders Hammar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: