You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Yuri Samsoniuk (JIRA)" <ji...@codehaus.org> on 2013/01/13 23:24:13 UTC

[jira] (MASSEMBLY-640) Artifact data added to path when lineEnding tag set in dependencySet

Yuri Samsoniuk created MASSEMBLY-640:
----------------------------------------

             Summary: Artifact data added to path when lineEnding tag set in dependencySet
                 Key: MASSEMBLY-640
                 URL: https://jira.codehaus.org/browse/MASSEMBLY-640
             Project: Maven 2.x Assembly Plugin
          Issue Type: Bug
          Components: dependencySet
    Affects Versions: 2.4
         Environment: 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
            Reporter: Yuri Samsoniuk
         Attachments: maven.zip

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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira