[ xframe-Bugs-1165772 ] xsddoc maven plugin fails with Java 1.5

"SourceForge.net" <[email protected]> Thu, 17 Mar 2005 21:53:04 -0800
Newsgroups gmane.text.xml.xframe.xsddoc
Message-ID <[email protected]>
Bugs item #1165772, was opened at 2005-03-18 16:53
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=454391&aid=1165772&group_id=48863

Category: maven
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Peter Runge (prunge)
Assigned to: Kurt Riede (kriede)
Summary: xsddoc maven plugin fails with Java 1.5

Initial Comment:
Attempting to run the xsddoc maven plugin with JDK 
1.5.0_02, using Maven 1.02.  The plugin runs, but results in 
the generated report indicating the xsddoc run failed.  
Clicking the log links on the report page indicate the 
following stack trace:

xsddoc failed with exception: Provider 
org.apache.xalan.processor.TransformerFactoryImpl not 
found
javax.xml.transform.TransformerFactoryConfigurationError: 
Provider 
org.apache.xalan.processor.TransformerFactoryImpl not 
found
	at 
javax.xml.transform.TransformerFactory.newInstance
(Unknown Source)
	at 
net.sf.xframe.xsddoc.Processor.initTransformers
(Processor.java:537)
	at net.sf.xframe.xsddoc.Processor.execute
(Processor.java:450)
	at net.sf.xframe.xsddoc.Processor.run
(Processor.java:475)
...

This seems to not just be a problem with the plugin as 
indicated by the following Maven bug:
http://jira.codehaus.org/browse/MAVEN-156

Since xalan is indeed a dependency of the xsddoc plugin, it 
is possibly a class loading issue with Maven.

A workaround would be to allow a project property to be set 
to override the default transformer.  In the maven-xsddoc-
plugin:report goal in plugin.jelly, the 
systemScope.setProperty line could be changed to read 
from a plugin property, which defaults to the current value.  
This would allow Java 1.5 people (or people who want to 
use other transformers) to use the xsddoc Maven plugin.


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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=454391&aid=1165772&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