You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Javier Diaz (JIRA)" <ji...@codehaus.org> on 2010/08/31 17:15:40 UTC

[jira] Issue Comment Edited: (MNG-1683) type zip for packaging ?

    [ http://jira.codehaus.org/browse/MNG-1683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=233782#action_233782 ] 

Javier Diaz edited comment on MNG-1683 at 8/31/10 10:15 AM:
------------------------------------------------------------

We are interested in this ticket and we have tried the solution provided by Pino. We have used it succesfully for some time but now we need to add type zip as a dependency for another project but is not possible. We expect that maven treats the dependency as an overlay like it does with war type. Is it getting to complex? Does it makes sense?

Regards

      was (Author: jdiazch):
    We are interested in this ticket and we have tried the solution provided by Pino. We have used succesfully for some time but now we need to add type zip as a dependency for another project. Maven should treat it as a overlay like it does with war type. Is it getting to complex? Does it makes sense?

Regards
  
> type zip for packaging ?
> ------------------------
>
>                 Key: MNG-1683
>                 URL: http://jira.codehaus.org/browse/MNG-1683
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>         Environment: not significant
>            Reporter: Olivier Lamy
>             Fix For: Issues to be reviewed for 3.x
>
>         Attachments: archive+file-plugins.tar.bz2, maven-war-plugin.tar.gz, maven-zip-plugin.tar.gz, MNG-1683.tar.gz, patch1, temp-test_version.zip
>
>
> 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