[ 
http://jira.codehaus.org/browse/MASSEMBLY-348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=145894#action_145894
 ] 

Stefano Bagnara commented on MASSEMBLY-348:
-------------------------------------------

@John:  I guess this is the META-INF/plexus/components.xml file with something 
like this:
{code:xml} 
<component-set>
  <components>
    <!-- Archiver -->
    <component>
      <role>org.codehaus.plexus.archiver.Archiver</role>
      <role-hint>sar</role-hint>
      
<implementation>org.codehaus.plexus.archiver.bzip2.JarArchiver</implementation>
      <instantiation-strategy>per-lookup</instantiation-strategy>
    </component> 
    <component>
      <role>org.codehaus.plexus.archiver.UnArchiver</role>
      <role-hint>sar</role-hint>
      
<implementation>org.codehaus.plexus.archiver.zip.ZipUnArchiver</implementation>
      <instantiation-strategy>per-lookup</instantiation-strategy>
    </component>
    <component>
      
<role>org.codehaus.plexus.components.io.resources.PlexusIoResourceCollection</role>
      <role-hint>sar</role-hint>
<implementation>org.codehaus.plexus.components.io.resources.PlexusIoZipFileResourceCollection</implementation>
      <instantiation-strategy>per-lookup</instantiation-strategy>
    </component> 
  </components>
</component-set>
{code}
will this work also for already defined extensions? (e.g: use the ziparchiver 
to create a file with a war extension)



> Configuration option to define a different extension.
> -----------------------------------------------------
>
>                 Key: MASSEMBLY-348
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-348
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.2-beta-2
>            Reporter: Stefano Bagnara
>             Fix For: 2.2-beta-3
>
>         Attachments: MASSEMBLY-348.diff
>
>
> I have to create a "Avalon Phoenix" SAR file. It is a zip/jar, with a 
> different extension.
> The assembly plugin allow me to create a zip or a jar, let me choose the 
> name, but I cannot alter the extension.

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

        

Reply via email to