Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-1683

type zip for packaging ?

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • not significant
    • Patch

    Description

      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

      Attachments

        1. maven-zip-plugin.tar.gz
          5 kB
          Olivier Lamy
        2. maven-war-plugin.tar.gz
          55 kB
          Olivier Lamy
        3. MNG-1683.tar.gz
          24 kB
          Olivier Lamy
        4. patch1
          28 kB
          Peter Anning
        5. temp-test_version.zip
          0.5 kB
          Peter Anning
        6. archive+file-plugins.tar.bz2
          10 kB
          Pino Silvaggio

        Issue Links

          Activity

            People

              Unassigned Unassigned
              olamy Olivier Lamy
              Votes:
              41 Vote for this issue
              Watchers:
              44 Start watching this issue

              Dates

                Created:
                Updated: