[ xframe-Bugs-1089703 ] [maven-xsddoc-plugin] fails if maven.xsddoc.src not present

"SourceForge.net" <[email protected]> Fri, 25 Feb 2005 05:44:14 -0800
Newsgroups gmane.text.xml.xframe.xsddoc
Message-ID <[email protected]>
Bugs item #1089703, was opened at 2004-12-22 13:23
Message generated for change (Comment added) made by kriede
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=454391&aid=1089703&group_id=48863

>Category: maven
>Group: xsddoc-0.6-beta
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Matthias Kerkhoff (u302320)
>Assigned to: Kurt Riede (kriede)
Summary: [maven-xsddoc-plugin] fails if maven.xsddoc.src not present

Initial Comment:
Currently, the maven-xsddoc-plugin will cause a build 
failure if ${maven.xsddoc.src} does not exist.

IMHO, a better way to handle such situations is the one 
implemented from for example the clover plugin. That 
plugin checks if java sources are present. If not, it 
doesn't register itsself.
This allows in subproject/reactor builds to define the 
clover report in the parent project. The report will be 
generated only for those subprojects with java sources.

I'll attach a modified plugin.jelly which does the same for 
the maven-xsddoc-plugin. The report will be registered 
only if a) ${maven.xsddoc.src} exists and b) at least 
one file is included from the resulting fileset. 

Please have a look at the patched file and include it in 
the upcoming 0.7 version, if you like it.


----------------------------------------------------------------------

>Comment By: Kurt Riede (kriede)
Date: 2005-02-25 14:44

Message:
Logged In: YES 
user_id=484961

fixed with oncoming release 0.7

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2004-12-22 16:32

Message:
Logged In: NO 

Thank you for the report and your patch. Your change is 
commited to CVS.

Regards
Kurt

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=454391&aid=1089703&group_id=48863


-------------------------------------------------------
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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click