Fixing/cleaning up some of the plugins.
o Removed extraneous <mkdir>s o Converted to new method of accessing properties git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112743 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
9f191912b7
commit
eabbe63ba0
7 files changed
+14
-9
No files matched your search
@@ -30,7 +30,6 @@
|
||||
<j:set var="_connection">${pom.repository.connection}</j:set>
|
||||
<j:if test="${!empty(_connection)}">
|
||||
<echo>Generating the changelog report</echo>
|
||||
<mkdir dir="${maven.gen.docs}"/>
|
||||
|
||||
<changelog:changelog
|
||||
basedir="${basedir}"
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
<j:set var="_connection">${pom.repository.connection}</j:set>
|
||||
<j:if test="${!empty(_connection)}">
|
||||
<echo>Generating the developer activity report</echo>
|
||||
<mkdir dir="${maven.gen.docs}"/>
|
||||
|
||||
<!--
|
||||
|
|
||||
|
||||
@@ -7,12 +7,16 @@
|
||||
<!-- ================================================================== -->
|
||||
<goal
|
||||
name="docbook:transform"
|
||||
prereqs="xdoc:init"
|
||||
description="Transform any docbook-simple source into xdocs for later use">
|
||||
|
||||
<j:set var="genDocs"
|
||||
value="${pom.getPluginContext('maven-xdoc-plugin').getVariable('maven.gen.docs')}"/>
|
||||
|
||||
${systemScope.setProperty('javax.xml.transform.TransformerFactory','org.apache.xalan.processor.TransformerFactoryImpl')}
|
||||
<style
|
||||
basedir="${maven.src.docbook.simple}"
|
||||
destdir="${maven.gen.docs}" extension=".xml"
|
||||
destdir="${genDocs}" extension=".xml"
|
||||
style="${plugin.resources}/docbook2document.xsl"
|
||||
includes="**/*.xml, **/*.sgml"
|
||||
/>
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
<j:set var="_connection">${pom.repository.connection}</j:set>
|
||||
<j:if test="${!empty(_connection)}">
|
||||
<echo>Generating the file activity report</echo>
|
||||
<mkdir dir="${maven.gen.docs}"/>
|
||||
|
||||
<!--
|
||||
|
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
<j:if test="${sourcesPresent == 'true'}">
|
||||
|
||||
<mkdir dir="${maven.javadoc.destdir}"/>
|
||||
<mkdir dir="${maven.gen.docs}" />
|
||||
|
||||
<!-- Get the year to display in the Javadocs -->
|
||||
<tstamp>
|
||||
|
||||
@@ -21,11 +21,12 @@
|
||||
|
||||
<goal
|
||||
name="license:transfer"
|
||||
prereqs="xdoc:init"
|
||||
description="Generate a xml file from your license.txt">
|
||||
|
||||
<mkdir dir="${maven.gen.docs}"/>
|
||||
|
||||
<j:set var="licenseX" value='${maven.license.licenseFile}X'/>
|
||||
<j:set var="genDocs"
|
||||
value="${pom.getPluginContext('maven-xdoc-plugin').getVariable('maven.gen.docs')}"/>
|
||||
|
||||
<j:choose>
|
||||
<j:when test="${licenseX != 'X'}">
|
||||
@@ -39,7 +40,7 @@
|
||||
<license:license
|
||||
description="Project License"
|
||||
input="${licenseFile}"
|
||||
output="${maven.gen.docs}/license.xml"
|
||||
output="${genDocs}/license.xml"
|
||||
outputEncoding="${maven.docs.outputencoding}"
|
||||
title="License"
|
||||
/>
|
||||
|
||||
@@ -12,15 +12,19 @@
|
||||
|
||||
<goal
|
||||
name="maven-tasklist-plugin:report"
|
||||
prereqs="xdoc:init"
|
||||
description="Generate a list of tasks from @todo tags in your code">
|
||||
|
||||
<j:set var="genDocs"
|
||||
value="${pom.getPluginContext('maven-xdoc-plugin').getVariable('maven.gen.docs')}"/>
|
||||
|
||||
<j:if test="${sourcesPresent == 'true'}">
|
||||
|
||||
<echo>Generating tasklist ...</echo>
|
||||
|
||||
<vdoclet:vdoclet
|
||||
srcDir="${pom.build.sourceDirectory}"
|
||||
destDir="${maven.gen.docs}"
|
||||
destDir="${genDocs}"
|
||||
template="plugin-resources/templates/tasklist.vm"
|
||||
outputFile="task-list.xml"
|
||||
/>
|
||||
|
||||
Reference in new issue
Block a user