You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Yousuf Haider (JIRA)" <ji...@codehaus.org> on 2008/10/09 00:10:09 UTC

[jira] Created: (MDEP-183) Unpack goal cannot unpack sar files.

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


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

        

[jira] Closed: (MDEP-183) Unpack goal cannot unpack sar files.

Posted by "Brian Fox (JIRA)" <ji...@codehaus.org>.
     [ 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