You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Werner Guttmann (JIRA)" <ji...@codehaus.org> on 2006/01/24 15:08:06 UTC

[jira] Commented: (MPCASTOR-7) Could not find org.exolab.castor.builder.SourceGenerator

    [ http://jira.codehaus.org/browse/MPCASTOR-7?page=comments#action_56783 ] 

Werner Guttmann commented on MPCASTOR-7:
----------------------------------------

Hi, can I provide you with any help to get his resolved ? I am one of the Castor committers, so feel free to throw any questions towards myself. .. ;-).

> Could not find org.exolab.castor.builder.SourceGenerator
> --------------------------------------------------------
>
>          Key: MPCASTOR-7
>          URL: http://jira.codehaus.org/browse/MPCASTOR-7
>      Project: maven-castor-plugin
>         Type: Bug

>  Environment: Maven v1.0.2
> MacOSX v10.3.8
> JDK v1.4.2
>     Reporter: Graham Leggett

>
>
> After following the instructions for configuring castor, and getting the following pregoal:
>   <preGoal name="java:compile">
>     <attainGoal name="castor:prepare-filesystem"/>
>     <castor:generate schema="src/xsd/eod.xsd"
>                      package="za.co.xxx.ia.eod"
>                      types="j2"/>
>   </preGoal>
> Castor source generation fails claiming that castor is missing from the classpath. Checking the maven repository shows the castor jar is there, and if you remove the castor jar, maven downloads the castor jar correctly.
> Has anybody got the castor plugin to work within maven v1.0.2, or is the castor plugin known to be broken?
> 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: 4 seconds
> Finished at: Mon Feb 21 12:20:15 SAST 2005

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org