jvanzyl 2004/06/05 22:52:30
Modified: maven-model build.sh
Log:
o generate the sources for the v3 model
o generate the sources for the v3 xpp3 reader/writer
both of these necessary in order to adapt the v3 POM into a v4 POM
so that m2 can slurp up v3 POMs to build m1 projects transparently.
Revision Changes Path
1.8 +6 -0 maven-components/maven-model/build.sh
Index: build.sh
===================================================================
RCS file: /home/cvs/maven-components/maven-model/build.sh,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- build.sh 6 Jun 2004 04:49:37 -0000 1.7
+++ build.sh 6 Jun 2004 05:52:30 -0000 1.8
@@ -8,6 +8,12 @@
# Generate the source for the xpp3 marshaller and unmarshaller
modello --model=maven.mdo --version=4.0.0 --mode=xpp3 --dir=target/generated-sources
+# Generate the 3.0.0 source from the model
+modello --model=maven.mdo --version=3.0.0 --mode=java
--dir=target/generated-sources --package-with-version
+
+# Generate the 3.0.0 source for the xpp3 marshaller and unmarshaller
+modello --model=maven.mdo --version=3.0.0 --mode=xpp3
--dir=target/generated-sources --package-with-version
+
# Generate XML Schema
modello --model=maven.mdo --version=4.0.0 --mode=xsd --dir=.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]