You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Steinar Bang (JIRA)" <ji...@codehaus.org> on 2007/03/12 22:58:36 UTC

[jira] Created: (MDEP-68) Make dependency:unpack of tar files support symlinks

Make dependency:unpack of tar files support symlinks
----------------------------------------------------

                 Key: MDEP-68
                 URL: http://jira.codehaus.org/browse/MDEP-68
             Project: Maven 2.x Dependency Plugin
          Issue Type: Improvement
            Reporter: Steinar Bang
         Assigned To: Brian Fox


Could dependency:unpack of tar file be made to support symlinks?  The use case is deploying unix/linux shared libraries, with symlinks between different versions of the libraries.

The current behaviour is that the symlinks becomes 0 byte sized files.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MDEP-68) Make dependency:unpack of tar files support symlinks

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MDEP-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Tran updated MDEP-68:
-------------------------

    Comment: was deleted

(was: this is because excludes/includes configurations are are totally ignored by plexus-archiver's TarUnArchiver.

perhaps we can use mojo's truezip component from truezip-maven-plugin, instead of plexus archiver, which has a very flexible configuration and therefor could solve a bunch of issues related to unpack )

> Make dependency:unpack of tar files support symlinks
> ----------------------------------------------------
>
>                 Key: MDEP-68
>                 URL: http://jira.codehaus.org/browse/MDEP-68
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Improvement
>          Components: unpack, unpack-dependencies
>            Reporter: Steinar Bang
>            Assignee: Brian Fox
>
> Could dependency:unpack of tar file be made to support symlinks?  The use case is deploying unix/linux shared libraries, with symlinks between different versions of the libraries.
> The current behaviour is that the symlinks becomes 0 byte sized files.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MDEP-68) Make dependency:unpack of tar files support symlinks

Posted by "Brian Fox (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MDEP-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Fox updated MDEP-68:
--------------------------

    Component/s: unpack

> Make dependency:unpack of tar files support symlinks
> ----------------------------------------------------
>
>                 Key: MDEP-68
>                 URL: http://jira.codehaus.org/browse/MDEP-68
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Improvement
>          Components: unpack
>            Reporter: Steinar Bang
>         Assigned To: Brian Fox
>
> Could dependency:unpack of tar file be made to support symlinks?  The use case is deploying unix/linux shared libraries, with symlinks between different versions of the libraries.
> The current behaviour is that the symlinks becomes 0 byte sized files.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MDEP-68) Make dependency:unpack of tar files support symlinks

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MDEP-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=204765#action_204765 ] 

Dan Tran commented on MDEP-68:
------------------------------

this is because excludes/includes configurations are are totally ignored by plexus-archiver's TarUnArchiver.

perhaps we can use mojo's truezip component from truezip-maven-plugin, instead of plexus archiver, which has a very flexible configuration and therefor could solve a bunch of issues related to unpack 

> Make dependency:unpack of tar files support symlinks
> ----------------------------------------------------
>
>                 Key: MDEP-68
>                 URL: http://jira.codehaus.org/browse/MDEP-68
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Improvement
>          Components: unpack, unpack-dependencies
>            Reporter: Steinar Bang
>            Assignee: Brian Fox
>
> Could dependency:unpack of tar file be made to support symlinks?  The use case is deploying unix/linux shared libraries, with symlinks between different versions of the libraries.
> The current behaviour is that the symlinks becomes 0 byte sized files.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MDEP-68) Make dependency:unpack of tar files support symlinks

Posted by "Manfred Moser (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MDEP-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=152200#action_152200 ] 

Manfred Moser commented on MDEP-68:
-----------------------------------

This should also be an option for the copy goal so that large files do not have to be copied from the local repo to a local path but rather just create a symlink. E.g. we have large database dumps in nexus and use them for regression tests. If a symlink could be created we would not have to copy them prior to restoring.. 

> Make dependency:unpack of tar files support symlinks
> ----------------------------------------------------
>
>                 Key: MDEP-68
>                 URL: http://jira.codehaus.org/browse/MDEP-68
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Improvement
>          Components: unpack, unpack-dependencies
>            Reporter: Steinar Bang
>            Assignee: Brian Fox
>
> Could dependency:unpack of tar file be made to support symlinks?  The use case is deploying unix/linux shared libraries, with symlinks between different versions of the libraries.
> The current behaviour is that the symlinks becomes 0 byte sized files.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MDEP-68) Make dependency:unpack of tar files support symlinks

Posted by "Oleg Alexeyev (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MDEP-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=142411#action_142411 ] 

Oleg Alexeyev commented on MDEP-68:
-----------------------------------

Another use case: Java runtime is packed as a tar.bz2 archive and is a maven module, other modules have dependency on it. Sun's JRE contains symlinks, so use of unpack-dependencies results in broken JRE :(.

> Make dependency:unpack of tar files support symlinks
> ----------------------------------------------------
>
>                 Key: MDEP-68
>                 URL: http://jira.codehaus.org/browse/MDEP-68
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Improvement
>          Components: unpack, unpack-dependencies
>            Reporter: Steinar Bang
>            Assignee: Brian Fox
>
> Could dependency:unpack of tar file be made to support symlinks?  The use case is deploying unix/linux shared libraries, with symlinks between different versions of the libraries.
> The current behaviour is that the symlinks becomes 0 byte sized files.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MDEP-68) Make dependency:unpack of tar files support symlinks

Posted by "Brian Fox (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MDEP-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Fox updated MDEP-68:
--------------------------

    Component/s: unpack-dependencies

> Make dependency:unpack of tar files support symlinks
> ----------------------------------------------------
>
>                 Key: MDEP-68
>                 URL: http://jira.codehaus.org/browse/MDEP-68
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Improvement
>          Components: unpack, unpack-dependencies
>            Reporter: Steinar Bang
>         Assigned To: Brian Fox
>
> Could dependency:unpack of tar file be made to support symlinks?  The use case is deploying unix/linux shared libraries, with symlinks between different versions of the libraries.
> The current behaviour is that the symlinks becomes 0 byte sized files.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira