Problems running xsddoc with maven.

"Helck, Christopher" <[email protected]> Fri, 11 Feb 2005 15:55:52 -0500
Newsgroups gmane.text.xml.xframe.xsddoc
Message-ID <[email protected]>
I'm able to run xsddoc from the command line with something like:

#!/bin/sh

java -Xmx500m \
        -classpath
~/.maven/repository/xsddoc/jars/xsddoc-0.6.jar:~/.maven/repository/xalan
/jars/xalan-2.6.0.jar \
        net.sf.xframe.xsddoc.Main \
        -v \
        -t MyTitle \
        -b Bottomline \
        -o test  ~/chelck-bps1/MarketData/pps/src/xsd/mrfv3.xsd

And it produces the desired report. Yet when I run it with maven I
noticed that xalan doesn't get included in the classpath when xsddoc is
invoked. Here's the important part of the output from 'maven site -X'

[java] [DEBUG] Execute:Java13CommandLauncher: Executing
'/apps/local/jdk1.5.0/jre/bin/java' with arguments:
'-Xmx500m'
'-classpath'
'/home/chelck/.maven/repository/xsddoc/jars/xsddoc-0.6.jar'
'net.sf.xframe.xsddoc.Main'
'-v'
'-t'
'mrfv3.xsd'
'-o'
'/home/chelck/chelck-bps1/MarketData/pps/target/docs/xsddocs/mrfv3.xsd'
'/home/chelck/chelck-bps1/MarketData/pps/src/xsd/mrfv3.xsd'


It is my understanding that the reason xalan is missing from the
classpath is because it was not listed as a dependency in the plugin's
property.xml file. A plugin's runtime dependencies are treated the same
way as build time dependencies and need to be specified in the plugin's
project.xml. Can this be fixed?

Also I noticed that when I run my script and I do not include the -b
switch I get the error "The value of param bottom must be a valid Java
Object" and nothing gets produced.

Thanks,
Christopher Helck





The information contained in this e-mail is confidential. This e-mail is intended only for the stated addressee.  If you are not an addressee, you must not disclose, copy, circulate or in any other way use or rely on the information contained in this e-mail. if you have received this e-mail in error, please inform us immediately and delete it and all copies from your system.

EBS Dealing Resources International Limited. Registered address: 10 Paternoster Square, London EC4M 7DY, United Kingdom. Registered number 2669861.

EBS Dealing Resources, Inc, registered in Delaware. Address: 535 Madison Avenue, 24th Floor, New York, NY 10022, USA, and One upper Pond road, Building F - Floor 3, Parsippany, NJ 07054, USA.

EBS Dealing Resources Japan Limited, a Japanese Corporation. Address: Asteer Kayabacho Bldg, 6th Floor, 1-6-1, Shinkawa, Chuo-Ku,  Tokyo 104-0033, Japan.