Details
-
Type:
Wish
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.2-beta-2
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:linux, ubuntu
-
Patch Submitted:Yes
-
Number of attachments :
Description
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 !
Issue Links
- depends upon
-
PLXCOMP-117
add symbolic links managment
-
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.