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:
parent
ec784532af
commit
cb91a43c4b
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user