mirror of
https://github.com/apache/maven.git
synced 2025-02-11 20:45:41 +00:00
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. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162736 13f79535-47bb-0310-9956-ffa450edef68
25 lines
849 B
Bash
Executable File
25 lines
849 B
Bash
Executable File
#!/bin/sh
|
|
|
|
rm -rf target
|
|
|
|
# Generate the sources from the model
|
|
modello --model=maven.mdo --version=4.0.0 --mode=java --dir=target/generated-sources
|
|
|
|
# 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=.
|
|
|
|
# Generate XDoc
|
|
modello --model=maven.mdo --version=4.0.0 --mode=xdoc --dir=target/generated-xdocs
|
|
|
|
# Build the sources
|
|
mboot --install
|