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

Artifact data added to path when lineEnding tag set in dependencySet

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4
    • 2.5.1
    • dependencySet
    • None
    • Mac OS X 10.8.2, Maven 3.0.4, Java 1.6.0_37
      Win XP SP3, Maven 3.0.2, Java 1.6

    Description

      When unpacking dependencySet with tag lineEnding specified path resulting zip archive includes dependency artifact id+packaging, while without specifying lineEnding simply puts data into outputDirectory.
      Consider attachments, there are two pom projects, one depends on the other one.
      assembley.xml simply unpacks dependency and puts it into specified directory.
      Here are the differences between zip files produced by plugin.
      With lineEnding set:
      .
      └── mydir
      └── resources-1.0.jar
      ├── resource1.xml
      └── resource2.xml
      Without lineEnding:
      .
      └── mydir
      ├── resource1.xml
      └── resource2.xml
      There is no extra resources-1.0.jar directory in zip.

      Attachments

        1. maven.zip
          5 kB
          Yuri Samsoniuk

        Issue Links

          Activity

            People

              krosenvold Kristian Rosenvold
              sigito Yuri Samsoniuk
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: