Remove unnecessary prereq
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@279358 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
ce0ce73af8
commit
9ad85adad1
1 file changed
+10
-1
+10
-1
@@ -17,12 +17,14 @@
|
||||
*/
|
||||
-->
|
||||
<project xmlns:j="jelly:core" xmlns:u="jelly:util" xmlns:ant="jelly:ant" xmlns:maven="jelly:maven" xmlns:doc="doc">
|
||||
|
||||
<goal name="maven-pdf-plugin:register" description="Register the pdf generation during site goal.">
|
||||
<doc:registerReport name="PDF" pluginName="maven-pdf-plugin" target="_blank" description="Documentation in PDF format."/>
|
||||
</goal>
|
||||
<goal name="maven-pdf-plugin:deregister" description="Deregister the pdf generation.">
|
||||
<doc:deregisterReport name="PDF"/>
|
||||
</goal>
|
||||
|
||||
<goal name="maven-pdf-plugin:report" description="Called by xdoc to execute the pdf goal.">
|
||||
<!--
|
||||
using a postgoal so that maven generated reports are on place
|
||||
@@ -32,6 +34,7 @@
|
||||
<attainGoal name="pdf"/>
|
||||
</postGoal>
|
||||
</goal>
|
||||
|
||||
<goal name="pdf:init" prereqs="xdoc:init">
|
||||
<!-- xdoc plugin properties -->
|
||||
<maven:get var="maven.xdoc.src" plugin="maven-xdoc-plugin" property="maven.docs.src"/>
|
||||
@@ -110,7 +113,9 @@ maven_version = [${maven_version}]
|
||||
<!-- Create working directory -->
|
||||
<mkdir dir="${internal_pdf_workingDir}"/>
|
||||
</goal>
|
||||
|
||||
<goal name="fo" prereqs="fo:fo" description="This simply pre-requisites the fo:fo goal. "/>
|
||||
|
||||
<goal name="fo:fo" prereqs="pdf:prepare" description="Generates an fo xml document from the ${maven.pdf.navigationFile} file supplied as part of the documentation.">
|
||||
<echo>Generating ${internal_pdf_workingDir}/project.fo from ${maven.pdf.navigationFilePath}/${maven.pdf.navigationFile} ...</echo>
|
||||
<available file="${maven.pdf.navigationFilePath}/${maven.pdf.navigationFile}" property="maven.fo.navigation.available"/>
|
||||
@@ -184,7 +189,9 @@ maven_version = [${maven_version}]
|
||||
</classpath>
|
||||
</java>
|
||||
</goal>
|
||||
<goal name="pdf" prereqs="fo:fo,pdf:prepare,pdf:pdf" description="This is the default goal of the plugin and simply pre-requisites the pdf:pdf goal. "/>
|
||||
|
||||
<goal name="pdf" prereqs="fo:fo,pdf:pdf" description="This is the default goal of the plugin and simply pre-requisites the pdf:pdf goal. "/>
|
||||
|
||||
<goal name="pdf:prepare" prereqs="pdf:init" description="Stages all files needed to generate the PDF">
|
||||
<!-- First, copy all of the generated xdocs -->
|
||||
<copy todir="${internal_pdf_workingDir}" force="true" overwrite="true">
|
||||
@@ -214,6 +221,7 @@ maven_version = [${maven_version}]
|
||||
</fileset>
|
||||
</copy>
|
||||
</goal>
|
||||
|
||||
<goal name="pdf:pdf" description="Generates a PDF document containing all project documentation. The PDF is generated from the .fo file generated in the fo:fo goal." prereqs="pdf:prepare">
|
||||
<echo>Generating ${internal_pdf_workingDir}/${maven.pdf.pdfName} ...</echo>
|
||||
<echo>Config file: ${internal_pdf_workingDir}/userconfig.xml</echo>
|
||||
@@ -261,4 +269,5 @@ maven_version = [${maven_version}]
|
||||
</java>
|
||||
<copy todir="${maven.xdoc.dest}" file="${internal_pdf_workingDir}/${maven.pdf.pdfName}"/>
|
||||
</goal>
|
||||
|
||||
</project>
|
||||
Reference in new issue
Block a user