[ http://jira.codehaus.org/browse/MNG-1683?page=comments#action_79259 ] 
            
Shelley L commented on MNG-1683:
--------------------------------

The situation described throughout this issue describes a very specific use 
case that may have been able to be resolved through another means, but there 
are other situations where a zip file is the only desired artifact to be 
packaged.  The assembly plugin can be used to generate ZIP files, but in such 
cases, this requires the project to specify an arbitrary packaging type (jar, 
ear, etc), producing an unnecessary main artifact.  It would be beneficial to 
include a zip packaging type in the maven core using a standard 
maven-zip-plugin.

> type zip for packaging ?
> ------------------------
>
>                 Key: MNG-1683
>                 URL: http://jira.codehaus.org/browse/MNG-1683
>             Project: Maven 2
>          Issue Type: Improvement
>         Environment: not significant
>            Reporter: Olivier Lamy
>         Attachments: maven-war-plugin.tar.gz, maven-zip-plugin.tar.gz, 
> MNG-1683.tar.gz
>
>
> Hi,
> I don't know if the artifact type zip exists (I think not after few test).
> But I want to separate the html content and the webapp content (classes, 
> configuration files and so on).
> The use case is to separate this different works (html designer and java 
> developpement) and production installation (one is to an http server and the 
> other is on an app server) in two artifacts with separate versionning.
> But the <packaging>zip</packaging> is not recognized.
> Then I would like to use it as an artifact with maven's features (snapshot, 
> pom, version, goals : install, deploy release and all others).
> Add it to the webapp dependencies (needed only for developpment or unit 
> tests).
> With this type of dependency the zip content could be unpacked to a directory 
> in the exploded webapp. (certainly need hack on the maven-war-plugin).
> I have certainly the workaround to declare this as jar and using the assembly 
> plugin to generate a zip. 
> But I can't use install release deploy or something else to manage the 
> generated zip which is not an artifact.
> Thanks for help or workaround.
> - Olivier 

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