Maven 1.x Castor Plugin

Could not find org.exolab.castor.builder.SourceGenerator

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    Maven v1.0.2
    MacOSX v10.3.8
    JDK v1.4.2
  • Number of attachments :
    0

Description

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

Issue Links

Activity

Hide
Gagan bajpai added a comment -

Hi Graham,

This plugin seems to be still broken. Is there a round about way for fixing this issue? can you guide me to that please?
is it somekind of class loader issue?

Show
Gagan bajpai added a comment - Hi Graham, This plugin seems to be still broken. Is there a round about way for fixing this issue? can you guide me to that please? is it somekind of class loader issue?
Hide
Gagan bajpai added a comment -

This happened on windows XP and JDK 1.5.

Show
Gagan bajpai added a comment - This happened on windows XP and JDK 1.5.
Hide
Werner Guttmann added a comment -

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. .. .

Show
Werner Guttmann added a comment - 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. .. .

People

Vote (1)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: