Specified file modes are used for all the following fileSets
------------------------------------------------------------
Key: MASSEMBLY-423
URL: http://jira.codehaus.org/browse/MASSEMBLY-423
Project: Maven 2.x Assembly Plugin
Issue Type: Bug
Affects Versions: 2.2-beta-4
Reporter: Sergiu Dumitriu
When a file set specifies a file mode to use, all the following file sets also
use that file mode. For example:
{noformat}
<fileSets>
<!-- Copy shell scripts and set execute permissions -->
<fileSet>
<directory>${basedir}/src/main/resources</directory>
<outputDirectory>/</outputDirectory>
<includes>
<include>**/*.sh</include>
</includes>
<fileMode>755</fileMode>
</fileSet>
<!-- Copy non shell scripts -->
<fileSet>
<directory>${basedir}/src/main/resources</directory>
<outputDirectory>/</outputDirectory>
<excludes>
<exclude>**/*.sh</exclude>
</excludes>
</fileSet>
</fileSets>
{noformat}
Even non-sh files will be executable. If the order of the sets is reversed,
only .sh files are executable.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira