mirror of https://github.com/apache/maven.git
41 lines
1.9 KiB
XML
41 lines
1.9 KiB
XML
<!--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
|
|
<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> |