You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2012/10/24 14:04:14 UTC

[jira] (MASSEMBLY-605) Filtering does not work on files which are symlinks

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

Dennis Lundberg updated MASSEMBLY-605:
--------------------------------------

    Component/s: filtering
    
> Filtering does not work on files which are symlinks
> ---------------------------------------------------
>
>                 Key: MASSEMBLY-605
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-605
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>          Components: filtering
>    Affects Versions: 2.2.1, 2.3
>         Environment: Linux REL 5, JDK6
>            Reporter: Lucas Persson
>
> Filtering does not work on files which are symlinks. The files gets copied so it is not totally broken.
> The resource plugin seems to handle this correctly.
> Typical assmbly descriptor:
> <?xml version="1.0"?>
> <assembly>
>   <id>install-jrf</id>
>   <formats>
>     <format>zip</format>
>   </formats>
>   <includeBaseDirectory>false</includeBaseDirectory>
>   <baseDirectory>${project.artifactId}</baseDirectory>
>   <includeSiteDirectory>false</includeSiteDirectory>
>   <fileSets>
>     <fileSet>
>       <outputDirectory></outputDirectory>
>       <directory>src/main/resources</directory>
>       <filtered>true</filtered>
>     </fileSet>
>   </fileSets>
> </assembly>
> If files under src/main/resources are symlinks they will be copied but not filtered.
> I get this warning/info in the log(running 2.2.1):
> [DEBUG] All known ContainerDescriptorHandler components: [file-aggregator, metaInf-spring, metaInf-services, plexus]
> [DEBUG] No dependency sets specified.
> [DEBUG] FileSet[] dir perms: -1 file perms: -1
> [DEBUG] The archive base directory is 'null'
> [INFO] No files selected for line-ending conversion or filtering. Skipping: /scratch/lupersso/view_storage/lupersso_pcbpel/pcbpel/ums/worklist-tmpl/src/main/resources
> [DEBUG] Adding file-set from directory: '/scratch/lupersso/view_storage/lupersso_pcbpel/pcbpel/ums/worklist-tmpl/src/main/resources'
> assembly output directory is: ''
> [DEBUG] Adding file-set in: /scratch/lupersso/view_storage/lupersso_pcbpel/pcbpel/ums/worklist-tmpl/src/main/resources to archive location: 
> (The project's pom.xml is in the /scratch/lupersso/view_storage/lupersso_pcbpel/pcbpel/ums/worklist-tmpl folder)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira