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

local archetype catalog not correctly updated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.0-alpha-3
    • 2.0-alpha-4
    • Plugin
    • None
    • Windows XP, java 1.5

    Description

      The archetype:update-local-catalog step is not correctly updating the archetype-catalog.xml file.

      It is taking the <name> element from the POM of the archetype and writing it as the <description> in the archetype-catalog.xml file.

      Shouldn't it be using the <description> element itself (if provided, which is is)?

      Eg, given this from the POM of the archetype:

      <name>Project Accelerator - Sample Project.</name>
      <description>WarpSpeed archetype for creating multi module project that has our EAR, EJB, WAR and Resource projects defined for us.</description>

      The archetype-catalog.xml file is written out as:

      <archetype>
      <groupId>au.com.warpspeed.archetypes</groupId>
      <artifactId>sample-project</artifactId>
      <version>1.0-SNAPSHOT</version>
      <description>Project Accelerator - Sample Project.</description>
      </archetype>

      Attachments

        Activity

          People

            Unassigned Unassigned
            chrisgwarp Chris Graham
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: