Skip to content

Commit

Permalink
[ARCHETYPE-554] created version 1.1.0 (and marked previous as 1.0.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
hboutemy committed Aug 11, 2018
1 parent 494acc8 commit ef783de
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions archetype-models/archetype-descriptor/pom.xml
Expand Up @@ -48,6 +48,7 @@
<groupId>org.codehaus.modello</groupId>
<artifactId>modello-maven-plugin</artifactId>
<configuration>
<version>1.1.0</version>
<models>
<model>src/main/mdo/archetype-descriptor.mdo</model>
</models>
Expand Down
Expand Up @@ -42,22 +42,26 @@
<classes>
<class rootElement="true" xml.tagName="archetype-descriptor">
<name>ArchetypeDescriptor</name>
<version>1.0.0+</version>
<superClass>AbstractArchetypeDescriptor</superClass>
<fields>
<field xml.attribute="true">
<name>name</name>
<version>1.0.0+</version>
<type>String</type>
<required>true</required>
<description>Name of the Archetype, that will be displayed to the user when choosing an archetype.</description>
</field>
<field xml.attribute="true">
<name>partial</name>
<version>1.0.0+</version>
<type>boolean</type>
<required>false</required>
<description>Is this archetype representing a full Maven project or only parts?</description>
</field>
<field>
<name>requiredProperties</name>
<version>1.0.0+</version>
<description>List of required properties to generate a project from this archetype.</description>
<association>
<type>RequiredProperty</type>
Expand All @@ -69,22 +73,26 @@

<class>
<name>ModuleDescriptor</name>
<version>1.0.0+</version>
<superClass>AbstractArchetypeDescriptor</superClass>
<fields>
<field xml.attribute="true">
<name>id</name>
<version>1.0.0+</version>
<type>String</type>
<required>true</required>
<description>The module's artifactId.</description>
</field>
<field xml.attribute="true">
<name>dir</name>
<version>1.0.0+</version>
<type>String</type>
<required>true</required>
<description>The module's directory.</description>
</field>
<field xml.attribute="true">
<name>name</name>
<version>1.0.0+</version>
<type>String</type>
<required>true</required>
<description>The module's name.</description>
Expand All @@ -94,9 +102,11 @@

<class>
<name>AbstractArchetypeDescriptor</name>
<version>1.0.0+</version>
<fields>
<field xdoc.separator="blank">
<name>fileSets</name>
<version>1.0.0+</version>
<association>
<type>FileSet</type>
<multiplicity>*</multiplicity>
Expand All @@ -106,6 +116,7 @@
</field>
<field xdoc.separator="blank">
<name>modules</name>
<version>1.0.0+</version>
<association>
<type>ModuleDescriptor</type>
<multiplicity>*</multiplicity>
Expand All @@ -118,13 +129,15 @@

<class>
<name>FileSet</name>
<version>1.0.0+</version>
<description><![CDATA[
A fileset defines the way the project's files located in the jar file are used by the Archetype Plugin to generate a project.
If file or directory name contains <code>__<i>property</i>__</code> pattern, it is replaced with corresponding property value.
]]></description>
<fields>
<field xml.attribute="true">
<name>filtered</name>
<version>1.0.0+</version>
<type>boolean</type>
<required>false</required>
<description><![CDATA[
Expand All @@ -135,6 +148,7 @@
</field>
<field xml.attribute="true">
<name>packaged</name>
<version>1.0.0+</version>
<type>boolean</type>
<required>false</required>
<description>Filesets can be packaged, which means the selected files will be generated/copied in a directory
Expand All @@ -143,19 +157,22 @@
</field>
<field xml.attribute="true">
<name>encoding</name>
<version>1.0.0+</version>
<type>String</type>
<required>false</required>
<description>Encoding to use when filtering content.</description>
</field>
<field>
<name>directory</name>
<version>1.0.0+</version>
<type>String</type>
<required>true</required>
<description>The directory where the files will be searched for, which is also the directory where the
project's files will be generated.</description>
</field>
<field>
<name>includes</name>
<version>1.0.0+</version>
<association>
<type>String</type>
<multiplicity>*</multiplicity>
Expand All @@ -165,6 +182,7 @@
</field>
<field>
<name>excludes</name>
<version>1.0.0+</version>
<association>
<type>String</type>
<multiplicity>*</multiplicity>
Expand Down Expand Up @@ -197,10 +215,12 @@

<class>
<name>RequiredProperty</name>
<version>1.0.0+</version>
<description>Definition of a property required when generating a project from this archetype.</description>
<fields>
<field xml.attribute="true">
<name>key</name>
<version>1.0.0+</version>
<type>String</type>
<required>true</required>
<description>Key value of the property.</description>
Expand All @@ -213,6 +233,7 @@
</field>
<field>
<name>validationRegex</name>
<version>1.1.0+</version>
<type>String</type>
<required>false</required>
<description>A regular expression used to validate the property.</description>
Expand Down

0 comments on commit ef783de

Please sign in to comment.