Author: simonetripodi
Date: Mon Jul 15 13:29:06 2013
New Revision: 1503235
URL: http://svn.apache.org/r1503235
Log:
defined all needed components for textual console configuration
Modified:
onami/sandbox/console/src/main/mdo/console.mdo
Modified: onami/sandbox/console/src/main/mdo/console.mdo
URL:
http://svn.apache.org/viewvc/onami/sandbox/console/src/main/mdo/console.mdo?rev=1503235&r1=1503234&r2=1503235&view=diff
==============================================================================
--- onami/sandbox/console/src/main/mdo/console.mdo (original)
+++ onami/sandbox/console/src/main/mdo/console.mdo Mon Jul 15 13:29:06 2013
@@ -39,12 +39,6 @@
<name>Console</name>
<version>1.0.0+</version>
<fields>
- <field xml.attribute="true">
- <name>name</name>
- <type>String</type>
- <version>1.0.0+</version>
- <required>true</required>
- </field>
<field java.setter="false">
<name>properties</name>
<version>1.0.0+</version>
@@ -54,6 +48,147 @@
<multiplicity>*</multiplicity>
</association>
</field>
+ <field>
+ <name>artifacts</name>
+ <description>Additional artifacts that this console needs to
introduce.</description>
+ <version>1.0.0+</version>
+ <association>
+ <type>Artifact</type>
+ <multiplicity>*</multiplicity>
+ </association>
+ </field>
+ </fields>
+ </class>
+
+ <class java.toString="true">
+ <name>Artifact</name>
+ <version>1.0.0+</version>
+ <description>
+ <![CDATA[
+ The <code><dependency></code> element contains information about
a dependency
+ of the project.
+ ]]>
+ </description>
+ <fields>
+ <field>
+ <name>groupId</name>
+ <version>1.0.0+</version>
+ <required>true</required>
+ <description>
+ <![CDATA[
+ The project group that produced the dependency, e.g.
+ <code>org.apache.maven</code>.
+ ]]>
+ </description>
+ <type>String</type>
+ </field>
+ <field>
+ <name>artifactId</name>
+ <version>1.0.0+</version>
+ <required>true</required>
+ <description>
+ <![CDATA[
+ The unique id for an artifact produced by the project group, e.g.
+ <code>maven-artifact</code>.
+ ]]>
+ </description>
+ <type>String</type>
+ </field>
+ <field>
+ <name>version</name>
+ <version>1.0.0+</version>
+ <description>
+ <![CDATA[
+ The version of the dependency, e.g. <code>3.2.1</code>. In Maven
2, this can also be
+ specified as a range of versions.
+ ]]>
+ </description>
+ <type>String</type>
+ </field>
+ <field>
+ <name>url</name>
+ <version>1.0.0+</version>
+ <description>This url will be provided to the user if the jar file
cannot be downloaded
+ from the central repository.</description>
+ <type>String</type>
+ </field>
+ <field>
+ <name>type</name>
+ <version>1.0.0+</version>
+ <description>
+ <![CDATA[
+ The type of dependency. While it
+ usually represents the extension on the filename of the dependency,
+ that is not always the case. A type can be mapped to a different
+ extension and a classifier.
+ The type often corresponds to the packaging used, though this is
also
+ not always the case.
+ Some examples are <code>jar</code>, <code>war</code>,
<code>ejb-client</code>
+ and <code>test-jar</code>: see <a
href="../maven-core/artifact-handlers.html">default
+ artifact handlers</a> for a list.
+ New types can be defined by plugins that set
+ <code>extensions</code> to <code>true</code>, so this is not a
complete list.
+ ]]>
+ </description>
+ <type>String</type>
+ <defaultValue>jar</defaultValue>
+ </field>
+ <field>
+ <name>classifier</name>
+ <version>1.0.0+</version>
+ <description>
+ <![CDATA[
+ The classifier of the dependency. It is appended to
+ the filename after the version. This allows:
+ <ul>
+ <li>refering to attached artifact, for example
<code>sources</code> and <code>javadoc</code>:
+ see <a href="../maven-core/artifact-handlers.html">default
artifact handlers</a> for a list,</li>
+ <li>distinguishing two artifacts
+ that belong to the same POM but were built differently.
+ For example, <code>jdk14</code> and <code>jdk15</code>.</li>
+ </ul>
+ ]]>
+ </description>
+ <type>String</type>
+ <required>false</required>
+ </field>
+ <field>
+ <name>exclusions</name>
+ <version>1.0.0+</version>
+ <description>Lists a set of artifacts that should be excluded from
this dependency's
+ artifact list when it comes to calculating transitive
dependencies.</description>
+ <association>
+ <type>Exclusion</type>
+ <multiplicity>*</multiplicity>
+ </association>
+ </field>
+ </fields>
+ </class>
+
+ <class java.toString="true">
+ <name>Exclusion</name>
+ <version>1.0.0+</version>
+ <description>
+ <![CDATA[
+ The <code><exclusion></code> element contains informations
required to exclude
+ an artifact to the project.
+ ]]>
+ </description>
+ <fields>
+ <field>
+ <name>groupId</name>
+ <version>1.0.0+</version>
+ <description>The group ID of the artifact to exclude.</description>
+ <type>String</type>
+ <required>true</required>
+ </field>
+ <field>
+ <name>artifactId</name>
+ <version>1.0.0+</version>
+ <description>The artifact ID of the artifact to
exclude.</description>
+ <type>String</type>
+ <required>true</required>
+ </field>
</fields>
</class>
</classes>