[ 
https://jira.codehaus.org/browse/MDEP-109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov updated MDEP-109:
--------------------------------

    Summary: Dependency plugin loses file permissions when unpacking or copying 
artifact items  (was: Dependency plugin looses file permissions when unpacking 
or copying artifact items)

> Dependency plugin loses file permissions when unpacking or copying artifact 
> items
> ---------------------------------------------------------------------------------
>
>                 Key: MDEP-109
>                 URL: https://jira.codehaus.org/browse/MDEP-109
>             Project: Maven Dependency Plugin
>          Issue Type: Bug
>          Components: copy, copy-dependencies, unpack, unpack-dependencies
>    Affects Versions: 2.0-alpha-4
>            Reporter: Vincent Massol
>            Assignee: Kristian Rosenvold
>             Fix For: 2.10
>
>
> I have to add the following ugly config in my pom.xml to overcome this:
> {code}
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-antrun-plugin</artifactId>
>         <executions>
>           <execution>
>             <phase>prepare-package</phase>
>             <goals>
>               <goal>run</goal>
>             </goals>
>             <configuration>
>               <tasks>
>                 <!-- Dependency plugin discards file permissions so we need 
> to set them back manually -->
>                 <chmod 
> file="${project.build.directory}/dependency/bin/windres" perm="ugo+rx"/>
>                 <chmod file="${project.build.directory}/dependency/bin/ld" 
> perm="ugo+rx"/>
> ...
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to