archetype-descriptorArchetypeDescriptor
This is a reference for the Archetype descriptor used to describe archetypes's metadata.
The metadata about an archetype is stored in the archetype-metadata.xml file located
in the META-INF/maven directory of its jar file.
]]>
packageorg.apache.maven.archetype.metadataArchetypeDescriptor1.0.0+AbstractArchetypeDescriptorname1.0.0+StringtrueName of the Archetype, that will be displayed to the user when choosing an archetype.partial1.0.0+booleanfalseIs this archetype representing a full Maven project or only parts?requiredProperties1.0.0+List of required properties to generate a project from this archetype.RequiredProperty*ModuleDescriptor1.0.0+AbstractArchetypeDescriptorid1.0.0+StringtrueThe module's artifactId.dir1.0.0+StringtrueThe module's directory.name1.0.0+StringtrueThe module's name.AbstractArchetypeDescriptor1.0.0+fileSets1.0.0+FileSet*trueFile sets definition.modules1.0.0+ModuleDescriptor*falseModules definition.FileSet1.0.0+__property__ pattern, it is replaced with corresponding property value.
]]>filtered1.0.0+booleanfalseVelocity templates.
They can be non-filtered, which means the selected files will be copied without modification.
]]>packaged1.0.0+booleanfalseFilesets can be packaged, which means the selected files will be generated/copied in a directory
structure that is prepended by the package property. They can be non-packaged, which means that the selected
files will be generated/copied without that prepend.encoding1.0.0+StringfalseEncoding to use when filtering content.directory1.0.0+StringtrueThe directory where the files will be searched for, which is also the directory where the
project's files will be generated.includes1.0.0+String*falseInclusion definition "à la" Ant.excludes1.0.0+String*falseExclusion definition "à la" Ant.RequiredProperty1.0.0+Definition of a property required when generating a project from this archetype.key1.0.0+StringtrueKey value of the property.defaultValueStringfalseDefault value of the property.validationRegex1.1.0+StringfalseA regular expression used to validate the property.