Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
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 :
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
| This issue relates to: | ||||
| CASTOR-1020 | Maven plugin fails: Could not find org.exolab.castor.builder.SourceGenerator |
|
|
|
| This issue is superceded by: | ||||
| MPCASTOR-14 | update dependency to org.codehaus.castor and upgrade plugin to SourceGeneratorMain |
|
|
|
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?