Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
2.0-alpha-3
-
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>