mirror of
https://github.com/apache/maven.git
synced 2025-02-07 10:38:47 +00:00
- 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
22 lines
1.2 KiB
XML
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> |