maven-xsddoc-plugin plugin.jelly,1.4,1.5
Kurt Riede <[email protected]> Wed, 22 Dec 2004 15:31:22 +0000
| Newsgroups | gmane.text.xml.xframe.xsddoc.devel |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/xframe/maven-xsddoc-plugin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23296
Modified Files:
plugin.jelly
Log Message:
applied patch from u302320: [1089703] [maven-xsddoc-plugin] fails if maven.xsddoc.src not present
Index: plugin.jelly
===================================================================
RCS file: /cvsroot/xframe/maven-xsddoc-plugin/plugin.jelly,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** plugin.jelly 22 Dec 2004 15:20:51 -0000 1.4
--- plugin.jelly 22 Dec 2004 15:31:14 -0000 1.5
***************
*** 28,36 ****
<goal name="maven-xsddoc-plugin:register">
! <doc:registerReport
! name="XML Schema Documentation"
! link="xsddoc-report"
! pluginName="maven-xsddoc-plugin"
! description="XML Schema documentation"/>
</goal>
--- 28,47 ----
<goal name="maven-xsddoc-plugin:register">
! <!-- only register report, if at least one file exists on which the report may work. -->
! <u:available file="${maven.xsddoc.src}">
! <ant:fileScanner var="xsdFiles">
! <ant:fileset dir="${maven.xsddoc.src}">
! <ant:patternset includes="${maven.xsddoc.include}"/>
! </ant:fileset>
! </ant:fileScanner>
!
! <j:if test="${xsdFiles.iterator().hasNext()}">
! <doc:registerReport
! name="XML Schema Documentation"
! link="xsddoc-report"
! pluginName="maven-xsddoc-plugin"
! description="XML Schema documentation"/>
! </j:if>
! </u:available>
</goal>
***************
*** 109,113 ****
<goal name="maven-xsddoc-plugin:deregister">
! <doc:deregisterReport name="XML Schema Documentation"/>
</goal>
--- 120,135 ----
<goal name="maven-xsddoc-plugin:deregister">
! <!-- only deregister report, if at least one file exists on which the report has been invoked. -->
! <u:available file="${maven.xsddoc.src}">
! <ant:fileScanner var="xsdFiles">
! <ant:fileset dir="${maven.xsddoc.src}">
! <ant:patternset includes="${maven.xsddoc.include}"/>
! </ant:fileset>
! </ant:fileScanner>
!
! <j:if test="${xsdFiles.iterator().hasNext()}">
! <doc:deregisterReport name="XML Schema Documentation"/>
! </j:if>
! </u:available>
</goal>
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/