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

<packaging>zip</packaging>

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      There is a widespread need to build ZIP archives as main artefacts. This can be done in several ways (like <packaging>zip</packaging> and providing an explicit artifact name ending on ".zip"), but while it a JAR can be built using a five-lines-POM, building a ZIP becomes a rather complex task in comparison and needs rather lengthy research in the manuals...

      So I want to propose to allow follow the most intuitive way in future maven releases: <packaging>zip</packaging>

      + This is the most intuitive way, particulary for new users. Virtually everybody would try this if he wants to get a ZIP. No need for any user documentation to use it.
      + This is the most simple way and concise way to write what one wants to get.
      + This should be most simple to code and test as it is the base code of <packaging>jar</packaging>.
      + It allows people to declare ZIP-PACKAGED instead of ZIP-NAMED artefacts, what is a semantic difference: A ZIP typically has no MANIFEST.MF file.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            mkarg Markus Karg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment