[
https://jira.codehaus.org/browse/MASSEMBLY-75?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kristian Rosenvold closed MASSEMBLY-75.
---------------------------------------
Resolution: Fixed
Fix Version/s: 2.5
Assignee: Kristian Rosenvold (was: John Casey)
> Unpacked TAR dependencies do not preserve file mode nor uid/gid
> ---------------------------------------------------------------
>
> Key: MASSEMBLY-75
> URL: https://jira.codehaus.org/browse/MASSEMBLY-75
> Project: Maven Assembly Plugin
> Issue Type: Bug
> Affects Versions: 2.0.1
> Reporter: Maciej Szefler
> Assignee: Kristian Rosenvold
> Fix For: 2.5
>
>
> "TAR" Assemblies generated from unpacking another TAR do not preserver the
> extended file information (uid/gid/mod). For example:
> if bar.tar contains an executable file "baz" and
> if our .pom has the following dependency:
> {code:xml}
> <dependency>
> <groupId>foo</groupId>
> <artifactId>bar</artifactId>
> <type>tar</type>
> <scope>compile</scope>
> </dependency>
> {code}
> and our assembly.xml has the following:
> {code:xml}
> <assembly>
> <id></id>
> <formats>
> <format>tar.gz</format>
> </formats>
> ....
> <dependencySets>
> <dependencySet>
> <scope>compile</scope>
> <outputDirectory/>
> <includes>
> <include>foo:bar</include>
> </includes>
> <unpack>true</unpack>
> </dependencySet>
> {code}
> then the generated assembly will contain "baz", but it will no longer be
> executable.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)