archetype-catalog
ArchetypeCatalog
These are standard catalog files which contain information about Archetypes so that users
can be presented with a list of archetypes from any number of catalogs to generate new
projects.
package
org.apache.maven.archetype.catalog
ArchetypeCatalog
archetypes
Archetype
*
Archetype
groupId
String
true
artifactId
String
true
version
String
true
repository
String
true
description
String
true
goals
String
*
properties
Properties
String
*
" + repository : "") + "]";
}
public int hashCode ()
{
return groupId.hashCode () + 17 * artifactId.hashCode ();
}
public boolean equals (Object object)
{
if (object == null || !(object instanceof Archetype) )
{
return false;
}
else
{
Archetype a = (Archetype) object;
return org.codehaus.plexus.util.StringUtils.equals( groupId, a.getGroupId () ) &&
org.codehaus.plexus.util.StringUtils.equals( artifactId, a.getArtifactId () );
}
}
]]>