[prev in list] [next in list] [prev in thread] [next in thread]
List: maven-user
Subject: assembly plugin does not create directory in archive if more than one fileset provides content to it
From: Steve Cohen <stevecoh1 () comcast ! net>
Date: 2013-10-10 0:53:58
Message-ID: 5255FAA6.9040500 () comcast ! net
[Download RAW message or body]
I have found the following.
Given an assembly descriptor that produces an .tar.gz archive,
if more than one fileset provides content feeding into the same output
directory, the archiver does not create a folder entry in the archive.
This means that there is nothing to apply a <directoryMode> to, and when
the archive is expanded, the default instead of the desired permissions
are used in that output directory.
In other words, given the following:
<fileSet>
<directory>src/A</directory>
<outputDirectory>dest</outputDirectory>
<includes>
<include>**</include>
</includes>
<fileMode>664</fileMode>
<directoryMode>775</fileMode>
</fileSet>
<fileSet>
<directory>src/B</directory>
<outputDirectory>dest</outputDirectory>
<includes>
<include>**</include>
</includes>
<fileMode>664</fileMode>
<directoryMode>775</fileMode>
</fileSet>
an archive will be produced without a directory entry for dest. When
the archive is expanded the permissions of the dest directory will be
the default, not 775.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic