[ xframe-Bugs-1165772 ] xsddoc maven plugin fails with Java 1.5
"SourceForge.net" <[email protected]> Thu, 17 Mar 2005 22:05:41 -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 (Comment added) made by prunge You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=454391&aid=1165772&group_id=48863 Category: maven Group: None >Status: Deleted 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. ---------------------------------------------------------------------- >Comment By: Peter Runge (prunge) Date: 2005-03-18 17:05 Message: Logged In: YES user_id=416534 (using plugin version 0.7) Sorry, should have read '[ 1123251 ] maven plugin can't find xalan' before submitting this bug. ---------------------------------------------------------------------- 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