Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-4941

Upgrade maven-archetype-plugin to the latest version for ZK Maven Archetype

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • None
    • None

      User Story

      https://www.zkoss.org/wiki/ZK_Installation_Guide/Quick_Start/Create_and_Run_Your_First_ZK_Application_with_Eclipse_and_Maven#Create_a_Maven_Project_with_a_Command_Line_Interface

      as the document above, we are using maven-archetype-plugin 2.4 as a fallback for specifying Catalog -  ARCHETYPE-519

       

      since we will publish all the archetypes to public maven, there is no need to specify Catalog location.

      It can be done with filter "-Dfilter=org.zkoss:"

      once we try to use maven-archetype-plugin 3.X to generate ZK Maven Archetype,

      specifying Catalog is not possible, see https://maven.apache.org/archetype/maven-archetype-plugin/archetype-repository.html

      Also the maven-archetype-plugin version in the ZK Maven Archetype project(2.2) is too old.

      Acceptance Criteria

      upgrade the maven-archetype-plugin version in the ZK Maven Archetype project to 3.X or later version.

      and update the document to let user generate archetypes with maven-archetype-plugin 3.X and filter instead of using maven-archetype-plugin 2.4 for specifying Catalog.

      Details

       

            Leon03 Leon03
            Leon03 Leon03
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: