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" />
|
2006-10-09 12:08:46 -04:00
|
|
|
<modello:generate model="maven.mdo" type="dom4j-reader" packageWithVersion="false" version="3.0.0" targetDirectory="target/generated-sources" />
|
|
|
|
<modello:generate model="maven.mdo" type="dom4j-writer" packageWithVersion="false" version="3.0.0" targetDirectory="target/generated-sources" />
|
2005-06-02 03:17:52 -04:00
|
|
|
|
|
|
|
<!-- 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" />
|
2006-10-09 12:08:46 -04:00
|
|
|
<modello:generate model="target/maven.mdo.m1" type="dom4j-reader" packageWithVersion="false" version="3.0.0" targetDirectory="target/generated-sources" />
|
|
|
|
<modello:generate model="target/maven.mdo.m1" type="dom4j-writer" packageWithVersion="false" version="3.0.0" targetDirectory="target/generated-sources" />
|
2004-12-17 08:09:54 -05:00
|
|
|
</preGoal>
|
|
|
|
</project>
|
|
|
|
|