From Arnaud Heritier :

- Customize the debug flag for the FOP command from the plugin property �maven.pdf.debug� (unintentionally removed in the last commit)
- From now when the pdf is generated, it is automatically copied into the ${maven.docs.dest} directory.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114607 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
evenisse committed 2004-01-26 05:54:29 +00:00
1 parent 2a3ec3b9bf
commit 00f8e33f37
1 file changed
+5 -2
+5 -2
View File
@@ -69,7 +69,7 @@
<include name="**/*.jpg"/>
<include name="**/*.png"/>
</fileset>
</copy>
</copy>
<!-- Finally, copy the FOP config file and all of the fonts -->
<copy todir="${docsPdf}" force="true">
<fileset dir="${plugin.resources}">
@@ -91,12 +91,15 @@
</classpath>
<arg value="-c"/>
<arg value="${docsPdf}/userconfig.xml"/>
<arg value="-d"/>
<if test="${debug}">
<arg value="-d"/>
</if>
<arg value="-fo"/>
<arg value="${docsPdf}/project.fo"/>
<arg value="-pdf"/>
<arg value="${docsPdf}/project.pdf"/>
<sysproperty key="javax.xml.transform.TransformerFactory" value="org.apache.xalan.processor.TransformerFactoryImpl"/>
</java>
<copy todir="${docsDest}" file="${docsPdf}/project.pdf"/>
</goal>
</project>