Register linkcheck report
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112794 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -11,6 +11,13 @@
|
||||
<j:set var="maven.linkcheck.enable" value="true"/>
|
||||
</j:if>
|
||||
|
||||
<goal name="maven-linkcheck-plugin:register">
|
||||
<doc:registerReport
|
||||
name="Link Check Report"
|
||||
link="linkcheck"
|
||||
description="Report on the validity of all links in the documentation."/>
|
||||
</goal>
|
||||
|
||||
<define:taglib uri="linkcheck">
|
||||
<define:jellybean
|
||||
name="linkcheck"
|
||||
@@ -29,7 +36,7 @@
|
||||
|
||||
<goal name="maven-linkcheck-plugin:report">
|
||||
<echo>This run of linkcheck does nothing except create a template linkcheck file</echo>
|
||||
<copy fromFile="${plugin.resources}/linkcheck-temp.xml" toFile="${maven.build.dir}/linkcheck.xml"/>
|
||||
<copy file="${plugin.resources}/linkcheck-temp.xml" toFile="${maven.build.dir}/linkcheck.xml"/>
|
||||
</goal>
|
||||
|
||||
<postGoal name="xdoc:jelly-transform">
|
||||
|
||||
Reference in New Issue
Block a user