[ 
https://jira.codehaus.org/browse/MASSEMBLY-640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kristian Rosenvold updated MASSEMBLY-640:
-----------------------------------------

      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.

  was:
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.

    Fix Version/s: 2.5.1

> Artifact data added to path when lineEnding tag set in dependencySet
> --------------------------------------------------------------------
>
>                 Key: MASSEMBLY-640
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-640
>             Project: Maven 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
>             Fix For: 2.5.1
>
>         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 was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to