[ http://jira.codehaus.org/browse/MASSEMBLY-423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Casey closed MASSEMBLY-423. -------------------------------- Resolution: Fixed Fix Version/s: 2.2-beta-6 Assignee: John Casey this should have been fixed in -beta-4, but I'm looking at the code and it's definitely fixed now. > 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 > Assignee: John Casey > Fix For: 2.2-beta-6 > > > 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