Add maven-jdiff-plugin:report, maven-jdiff-plugin:register and maven-jdiff-plugin:deregister goals for add jdiff report in site generation.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115484 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
ab68ac5494
commit
1d0760e64c
3 files changed
+29
-2
No files matched your search
+25
-1
@@ -21,14 +21,38 @@
|
||||
<project
|
||||
xmlns:j="jelly:core"
|
||||
xmlns:maven="jelly:maven"
|
||||
xmlns:doc="doc"
|
||||
xmlns:ant="jelly:ant">
|
||||
|
||||
<goal name="maven-jdiff-plugin:register">
|
||||
<j:if test="${context.getVariable('maven.mode.online') == null}">
|
||||
<j:set var="maven.mode.online" value="true" />
|
||||
</j:if>
|
||||
<j:if test="${maven.mode.online}">
|
||||
<doc:registerReport
|
||||
name="JDiff"
|
||||
pluginName="maven-jdiff-plugin"
|
||||
link="jdiff/changes"
|
||||
target="_blank"
|
||||
description="Report on the api difference report between versions."/>
|
||||
</j:if>
|
||||
</goal>
|
||||
|
||||
<goal name="maven-jdiff-plugin:deregister">
|
||||
<doc:deregisterReport name="JDiff"/>
|
||||
</goal>
|
||||
|
||||
<!-- ================================================================== -->
|
||||
<!-- P R O J E C T D O C U M E N T A T I O N -->
|
||||
<!-- ================================================================== -->
|
||||
|
||||
<goal name="maven-jdiff-plugin:report"
|
||||
prereqs="jdiff"
|
||||
description="Generate an api difference report between versions">
|
||||
</goal>
|
||||
|
||||
<goal name="jdiff" prereqs="xdoc:init"
|
||||
description="generate an api difference report between versions">
|
||||
description="Generate an api difference report between versions">
|
||||
|
||||
<ant:property name="maven.jdiff.dir" value="${maven.build.dir}/jdiff"/>
|
||||
<ant:mkdir dir="${maven.jdiff.dir}"/>
|
||||
|
||||
Reference in new issue
Block a user