You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by jv...@apache.org on 2004/04/17 17:13:31 UTC
cvs commit: maven-components/maven-model build.sh maven.mdo
jvanzyl 2004/04/17 08:13:31
Modified: maven-model build.sh maven.mdo
Log:
o add versions so that the 4.0.0 version of the model is used to
output the source, xpp3 reader/writer, xdoc and XSD.
o more tweaks to the model for correct output.
Revision Changes Path
1.5 +4 -4 maven-components/maven-model/build.sh
Index: build.sh
===================================================================
RCS file: /home/cvs/maven-components/maven-model/build.sh,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- build.sh 9 Apr 2004 03:22:53 -0000 1.4
+++ build.sh 17 Apr 2004 15:13:31 -0000 1.5
@@ -1,16 +1,16 @@
#!/bin/sh
# Generate the sources from the model
-modello --model=maven.mdo --mode=java --dir=src/main/java
+modello --model=maven.mdo --version=4.0.0 --mode=java --dir=src/main/java
# Generate the source for the xpp3 marshaller and unmarshaller
-modello --model=maven.mdo --mode=xpp3 --dir=src/main/java
+modello --model=maven.mdo --version=4.0.0 --mode=xpp3 --dir=src/main/java
# Build the sources
mboot --install
# Generate XML Schema
-modello --model=maven.mdo --mode=xsd --dir=.
+modello --model=maven.mdo --version=4.0.0 --mode=xsd --dir=.
# Generate XDoc
-modello --model=maven.mdo --mode=xdoc --dir=./xdocs
+modello --model=maven.mdo --version=4.0.0 --mode=xdoc --dir=./xdocs
1.30 +28 -15 maven-components/maven-model/maven.mdo
Index: maven.mdo
===================================================================
RCS file: /home/cvs/maven-components/maven-model/maven.mdo,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- maven.mdo 17 Apr 2004 04:22:52 -0000 1.29
+++ maven.mdo 17 Apr 2004 15:13:31 -0000 1.30
@@ -59,14 +59,14 @@
</field>
<field>
<name>groupId</name>
- <version>3.0.0</version>
+ <version>3.0.0+</version>
<required>true</required>
<description>The primary grouping for your project.</description>
<type>String</type>
</field>
<field>
<name>artifactId</name>
- <version>3.0.0</version>
+ <version>3.0.0+</version>
<required>true</required>
<description>The identifier used when generating the artifact for your project.</description>
<type>String</type>
@@ -80,7 +80,7 @@
</field>
<field>
<name>name</name>
- <version>3.0.0</version>
+ <version>3.0.0+</version>
<required>true</required>
<description>Human readable name of the project.</description>
<type>String</type>
@@ -100,13 +100,13 @@
</field>
<field>
<name>shortDescription</name>
- <version>3.0.0</version>
+ <version>3.0.0+</version>
<description>An abbreviated description of the project.</description>
<type>String</type>
</field>
<field>
<name>description</name>
- <version>3.0.0</version>
+ <version>3.0.0+</version>
<description>
A detailed description of the project. This element is
usually specified as CDATA to enable the use of HTML tags
@@ -119,13 +119,13 @@
</field>
<field>
<name>url</name>
- <version>3.0.0</version>
+ <version>3.0.0+</version>
<description>The URL where the project can be found.</description>
<type>String</type>
</field>
<field>
<name>logo</name>
- <version>3.0.0</version>
+ <version>3.0.0+</version>
<description>The logo for the project.</description>
<type>String</type>
</field>
@@ -136,8 +136,14 @@
<type>String</type>
</field>
<field>
+ <name>issueManagement</name>
+ <version>4.0.0</version>
+ <description>The project's issue management information.</description>
+ <type>IssueManagement</type>
+ </field>
+ <field>
<name>inceptionYear</name>
- <version>3.0.0</version>
+ <version>3.0.0+</version>
<required>true</required>
<description>The year the project started.</description>
<type>String</type>
@@ -150,26 +156,26 @@
</field>
<field>
<name>siteAddress</name>
- <version>3.0.0</version>
+ <version>3.0.0+</version>
<description>The FQDN of the host where the project's site is uploaded.</description>
<type>String</type>
</field>
<field>
<name>siteDirectory</name>
- <version>3.0.0</version>
+ <version>3.0.0+</version>
<description>The directory on the site host where site documentation is placed when the site is uploaded.</description>
<type>String</type>
</field>
<field>
<name>distributionSite</name>
- <version>3.0.0</version>
+ <version>3.0.0+</version>
<description>The FQDN of the host where the project's artifacts are uploaded.</description>
<type>String</type>
<comment>This naming is inconsistent and distriubtion should occur from a repository structure.</comment>
</field>
<field>
<name>distributionDirectory</name>
- <version>3.0.0</version>
+ <version>3.0.0+</version>
<description>The directory on the distribution host where artifacts are placed when uploaded.</description>
<type>String</type>
<comment>This naming is inconsistent and distriubtion should occur from a repository structure.</comment>
@@ -302,6 +308,7 @@
<!-- We need this because we can't use package as a field name. -->
<codeSegments>
<codeSegment>
+ <version>3.0.0+</version>
<code>
private String packageName;
@@ -314,7 +321,11 @@
{
return packageName;
}
-
+ </code>
+ </codeSegment>
+ <codeSegment>
+ <version>4.0.0</version>
+ <code>
public String getId()
{
StringBuffer id = new StringBuffer();
@@ -328,6 +339,7 @@
</code>
</codeSegment>
<codeSegment>
+ <version>3.0.0</version>
<code>
public void setId( String id )
{
@@ -421,7 +433,7 @@
</field>
<field>
<name>aspectSourceDirectory</name>
- <version>3.0.0</version>
+ <version>3.0.0+</version>
<description>
This element specifies a directory containing Aspect
sources of the project. The generated build system will
@@ -614,6 +626,7 @@
</fields>
<codeSegments>
<codeSegment>
+ <version>3.0.0+</version>
<code>
public String getId()
{
@@ -1014,7 +1027,7 @@
</field>
<field>
<name>id</name>
- <version>3.0.0</version>
+ <version>3.0.0</version>
<description>
A unique identifier for a version. This ID is
used to specify the version that
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org