2004-12-17 08:09:54 -05:00
|
|
|
<project xmlns:modello="modello" xmlns:ant="jelly:ant" xmlns:maven="jelly:maven" xmlns:j="jelly:core">
|
|
|
|
<preGoal name="java:compile">
|
|
|
|
<ant:path id="modello.sources" location="target/generated-sources" />
|
|
|
|
<maven:addPath id="maven.compile.src.set" refid="modello.sources" />
|
|
|
|
<j:set var="sourcesPresent" value="true" />
|
|
|
|
|
2005-06-02 03:17:52 -04:00
|
|
|
<modello:generate model="maven.mdo" type="java" packageWithVersion="false" version="3.0.0" targetDirectory="target/generated-sources" />
|
|
|
|
<modello:generate model="maven.mdo" type="xpp3-reader" packageWithVersion="false" version="3.0.0" targetDirectory="target/generated-sources" />
|
|
|
|
<modello:generate model="maven.mdo" type="xpp3-writer" packageWithVersion="false" version="3.0.0" targetDirectory="target/generated-sources" />
|
|
|
|
|
|
|
|
<!-- Need the original package as well -->
|
|
|
|
<ant:copy tofile="target/maven.mdo.m1" file="maven.mdo" />
|
|
|
|
<ant:replace file="target/maven.mdo.m1" token="org.apache.maven.model" value="org.apache.maven.project" />
|
|
|
|
|
2004-12-17 08:09:54 -05:00
|
|
|
<modello:generate model="target/maven.mdo.m1" type="java" packageWithVersion="false" version="3.0.0" targetDirectory="target/generated-sources" />
|
|
|
|
<modello:generate model="target/maven.mdo.m1" type="xpp3-reader" packageWithVersion="false" version="3.0.0" targetDirectory="target/generated-sources" />
|
|
|
|
<modello:generate model="target/maven.mdo.m1" type="xpp3-writer" packageWithVersion="false" version="3.0.0" targetDirectory="target/generated-sources" />
|
|
|
|
</preGoal>
|
|
|
|
</project>
|
|
|
|
|