You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Boué (JIRA)" <ji...@apache.org> on 2016/09/21 17:12:20 UTC

[jira] [Commented] (MASSEMBLY-829) fileMode on a dependencySet with unpack does not work

    [ https://issues.apache.org/jira/browse/MASSEMBLY-829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15510546#comment-15510546 ] 

Guillaume Boué commented on MASSEMBLY-829:
------------------------------------------

From the documentation http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html#class_dependencySet, the {{<fileMode>}} parameter should be written as an octal value. Can you try with {{<fileMode>0775</fileMode>}} instead?

> fileMode on a dependencySet with unpack does not work
> -----------------------------------------------------
>
>                 Key: MASSEMBLY-829
>                 URL: https://issues.apache.org/jira/browse/MASSEMBLY-829
>             Project: Maven Assembly Plugin
>          Issue Type: Bug
>          Components: dependencySet
>    Affects Versions: 2.6
>         Environment: linux
>            Reporter: Christophe Marchand
>            Priority: Blocker
>         Attachments: bug-maven-assembly-plugin.tar.gz
>
>
> {code:xml}
> <dependencySet>
>   <outputDirectory></outputDirectory>
>   <useProjectArtifact>false</useProjectArtifact>
>   <fileMode>775</fileMode>
>   <includes>
>     <include>top.marchand.mvn.bug:assembly-fileMode-shells</include>
>   </includes>
>   <unpack>true</unpack>
>   <unpackOptions>
>     <excludes>
>       <exclude>META-INF/**</exclude>
>       <exclude>META-INF</exclude>
>     </excludes>
>   </unpackOptions>
>   <scope>runtime</scope>
> </dependencySet>
> {code}
> Files from {{top.marchand.mvn.bug:assembly-fileMode-shells}} should be runnable by everyone, and they are not.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)