maven/maven-model/maven.xml
Arnaud Heritier 502703ae99 Update M1 build :
- Use the latest snapshot of modello-plugin
- Update the documentation which will be deployed here : http://maven.apache.org/maven-1.x/reference/maven-model/${pom.currentVersion}/

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@494673 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 00:59:34 +00:00

22 lines
1.2 KiB
XML

<project xmlns:modello="modello" xmlns:ant="jelly:ant" xmlns:maven="jelly:maven" xmlns:j="jelly:core">
<preGoal name="java:compile">
<attainGoal name="modello:modello"/>
<!-- Need the original package as well -->
<ant:copy tofile="${basedir}/target/maven.mdo.m1" file="${maven.modello.model}" />
<ant:replace file="${basedir}/target/maven.mdo.m1" token="org.apache.maven.model" value="org.apache.maven.project" />
<maven:set plugin="maven-modello-plugin" property="maven.modello.model" value="${basedir}/target/maven.mdo.m1"/>
<attainGoal name="modello:modello"/>
</preGoal>
<!-- We need to have the generated code before to compute the javadoc -->
<preGoal name="maven-javadoc-plugin:register">
<attainGoal name="modello:modello"/>
<!-- Need the original package as well -->
<ant:copy tofile="${basedir}/target/maven.mdo.m1" file="${maven.modello.model}" />
<ant:replace file="${basedir}/target/maven.mdo.m1" token="org.apache.maven.model" value="org.apache.maven.project" />
<maven:set plugin="maven-modello-plugin" property="maven.modello.model" value="${basedir}/target/maven.mdo.m1"/>
<attainGoal name="modello:modello"/>
</preGoal>
</project>