[
https://jira.codehaus.org/browse/MASSEMBLY-605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kristian Rosenvold closed MASSEMBLY-605.
----------------------------------------
Resolution: Fixed
Assignee: Kristian Rosenvold
This should be fixed in r1633510.
> Filtering does not work on files which are symlinks
> ---------------------------------------------------
>
> Key: MASSEMBLY-605
> URL: https://jira.codehaus.org/browse/MASSEMBLY-605
> Project: Maven Assembly Plugin
> Issue Type: Bug
> Components: filtering
> Affects Versions: 2.2.1, 2.3
> Environment: Linux REL 5, JDK6
> Reporter: Lucas Persson
> Assignee: Kristian Rosenvold
> Fix For: 2.5
>
>
> 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 was sent by Atlassian JIRA
(v6.1.6#6162)