Uploaded image for project: 'Maven Archetype'
  1. Maven Archetype
  2. ARCHETYPE-302

Have a custom packaging type for achetypes

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Auto Closed
    • None
    • None
    • Creator
    • None

    Description

      Currently if you want to create an archetype from a existing project you need a two step process. First you have to run 'mvn archetype:create-from-project' and then you have to install/deploy the archetype generated in target/generated-sources/archetype. Wouldn't it be possible to have a new packaging type, eg archetype?

      For example, imagine you have an aggregator (multi module) project, where one module is supposed to be the template for the archetype. When you deploy/release the whole project you would like the archetype creation be part of the the 'mvn deploy' or 'mvn release:perform' process. Currently you will have to go through the mentioned two step process.

      Thoughts?

      Attachments

        Activity

          People

            Unassigned Unassigned
            hardy.ferentschik Hardy Ferenschik
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: