[ https://jira.codehaus.org/browse/MASSEMBLY-343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=279671#comment-279671 ]
Zuhayr Khan edited comment on MASSEMBLY-343 at 9/22/11 11:50 AM: ----------------------------------------------------------------- I have implemented a solution for symbolic link support in maven-assembly-plugin with changes to plexus-io and plexus-archive (see my comments on PLXCOMP-117) I added definitions to the assembly format that allow for symlinks to be defined in an assembly.xml as follows... <symlinks> <symlink> <name>symlink_name</name> <destination>../symlink_destination</destination> </symlink> </symlinks> ...I think this is in-keeping with other resources, but I'm happy to hear others' views. I will attach a patch for consideration; I think/hope I have followed the coding standards - I am watching this and PLXCOMP-117 so please feel free to ask any questions through comments on whichever is appropriate. was (Author: zuhayrkhan): I have implemented a solution for symbolic link support in maven-assembly-plugin with changes to plexus-io and plexus-archive (see my comments on PLXCOMP-117) I will attach a patch for consideration; I think/hope I have followed the coding standards - I am watching this and PLXCOMP-117 so please feel free to ask any questions through comments on whichever is appropriate. > add symbolic links managment > ---------------------------- > > Key: MASSEMBLY-343 > URL: https://jira.codehaus.org/browse/MASSEMBLY-343 > Project: Maven 2.x Assembly Plugin > Issue Type: Wish > Affects Versions: 2.2-beta-2 > Environment: linux, ubuntu > Reporter: Godet Gilles > Attachments: MASSEMBLY-343_maven-assembly-plugin.patch > > > i need to buid archives ( tar for example ) with symbolic links > the plugin build an archive with a file containing the destination of the > link, not the link itself > => the plugin need an option to know if deferencement of links is needed > this is just like -h option of tar > -h, --dereference > don't dump symlinks; dump the files they point to > actually, if you do an archive of /lib, for example, many file will be in > double with différent names. extract of archive will not be the exactly the > same as the source of the archive. => this is a test ! -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira