git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113087 13f79535-47bb-0310-9956-ffa450edef68
46 lines
1.4 KiB
XML
46 lines
1.4 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<project
|
|
xmlns:j="jelly:core"
|
|
xmlns:define="jelly:define"
|
|
xmlns:util="jelly:util"
|
|
xmlns:doc="doc">
|
|
|
|
<goal name="maven-changes-plugin:register">
|
|
<property name="maven.docs.src" value="${pom.getPluginContext('maven-xdoc-plugin').getVariable('maven.docs.src')}"/>
|
|
<util:file var="changes" name="${maven.docs.src}/changes.xml"/>
|
|
<j:if test="${changes.exists()}">
|
|
<doc:registerReport
|
|
name="Changes"
|
|
pluginName="maven-changes-plugin"
|
|
link="changes-report"
|
|
description="Report on the project changes."/>
|
|
</j:if>
|
|
</goal>
|
|
|
|
<goal name="maven-changes-plugin:deregister">
|
|
<doc:deregisterReport name="Changes"/>
|
|
</goal>
|
|
|
|
<!-- ================================================================== -->
|
|
<!-- C H A N G E S R E P O R T -->
|
|
<!-- ================================================================== -->
|
|
|
|
<goal
|
|
name="maven-changes-plugin:report"
|
|
description="Generate a changes report">
|
|
<property name="maven.docs.src" value="${pom.getPluginContext('maven-xdoc-plugin').getVariable('maven.docs.src')}"/>
|
|
|
|
<doc:jsl
|
|
input="${maven.docs.src}/changes.xml"
|
|
output="changes-report.xml"
|
|
stylesheet="${plugin.resources}/changes.jsl"
|
|
encoding="${maven.docs.outputencoding}"
|
|
omitXmlDeclaration="false"
|
|
outputMode="xml"
|
|
prettyPrint="true"
|
|
/>
|
|
|
|
</goal>
|
|
</project>
|