Fix : copy users documentation from each subproject to build the pdf

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@158836 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
aheritier 2005-03-23 21:38:16 +00:00
parent ec784532af
commit cb91a43c4b

View File

@ -32,6 +32,15 @@
</ant:fileset>
</ant:copy>
</j:forEach>
<!-- We copy the generated files to use them in the pdf -->
<j:forEach var="reactorProject" items="${multiprojects}">
<j:set var="fromDir" value="${reactorProject.context.getVariable('maven.docs.src')}"/>
<ant:copy todir="${maven.build.dir}/pdf/${maven.multiproject.aggregateDir}${reactorProject.artifactId}">
<ant:fileset dir="${fromDir}" force="true">
<ant:include name="**/*.*"/>
</ant:fileset>
</ant:copy>
</j:forEach>
<attainGoal name="pdf"/>
<assert:assertFileExists file="${maven.docs.dest}/${pom.artifactId}.pdf"/>
</goal>