[
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)