Hi all,
While trying to run castor from within the maven plugin, I am getting the
error that SourceGenerator could not be found in the classpath.
I understand that the maven castor plugin (or maven itself) should
download it's dependancies itself, which leaves me confused.
I have set up castor as a pregoal of java:compile in maven.xml like so:
<project
default="build"
xmlns:j="jelly:core"
xmlns:u="jelly:util"
xmlns:castor="castor">
<preGoal name="java:compile">
<attainGoal name="castor:prepare-filesystem"/>
<castor:generate schema="src/xsd/eod.xsd"
package="za.co.standardbank.ia.eod"
types="j2"/>
</preGoal>
</project>
Can anybody see what I might be doing incorrectly?
Graham-Leggetts-Computer:~/src/standard/monaco-xml minfrin$ maven
java:compile
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
[propertyfile] Updating property file:
/Users/minfrin/src/standard/monaco-xml/src/conf/version.properties
build:start:
java:prepare-filesystem:
java:compile:
castor:prepare-filesystem:
[echo] Generating sources for src/xsd/eod.xsd
BUILD FAILED
File...... /Users/minfrin/.maven/cache/maven-castor-plugin-1.2/plugin.jelly
Element... ant:java
Line...... 92
Column.... 38
Could not find org.exolab.castor.builder.SourceGenerator. Make sure you
have it in your classpath
Total time: 6 seconds
Finished at: Fri Feb 18 17:44:51 SAST 2005
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user