maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Fox (JIRA)" <j...@codehaus.org>
Subject [jira] Closed: (MDEP-183) Unpack goal cannot unpack sar files.
Date Mon, 03 Nov 2008 23:17:51 GMT

     [ http://jira.codehaus.org/browse/MDEP-183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brian Fox closed MDEP-183.
--------------------------

       Resolution: Fixed
    Fix Version/s: 2.1

> Unpack goal cannot unpack sar files.
> ------------------------------------
>
>                 Key: MDEP-183
>                 URL: http://jira.codehaus.org/browse/MDEP-183
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Bug
>          Components: unpack, unpack-dependencies
>            Reporter: Yousuf Haider
>            Assignee: Brian Fox
>             Fix For: 2.1
>
>
> If you specify a dependency with type=sar the plexus ArchiverManager throws a NoSuchArchiverException.
As a result the unpacking fails. I think the fix would be similar to that for the swc file
bug. 
> http://jira.codehaus.org/browse/MDEP-99
> Patch for src/main/resources/META-INF/plexus/components.xml:
> <component>
> +      <role>org.codehaus.plexus.archiver.UnArchiver</role>
> +      <role-hint>sar</role-hint>
> +      <!-- there is no implementaion of SARUnArchiver, but ZipUnArchive will do the
job -->
> +      <implementation>org.codehaus.plexus.archiver.zip.ZipUnArchiver</implementation>
> +      <instantiation-strategy>per-lookup</instantiation-strategy>
> +    </component>	  
> Note: sar files are the JBoss Service archives. Doing exploded deployment of sar archives
in JBoss using this plugin is the aim here.

-- 
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

        

Mime
View raw message