Index: src/main/java/org/castor/xmlctf/compiler/SunJavaCompiler.java =================================================================== --- src/main/java/org/castor/xmlctf/compiler/SunJavaCompiler.java (revision 7075) +++ src/main/java/org/castor/xmlctf/compiler/SunJavaCompiler.java (working copy) @@ -161,7 +161,13 @@ args.add(_javaVersion); } args.add("-classpath"); - args.add(System.getProperty("java.class.path") + ";" + destDir.getAbsolutePath()); + + String classPathOverride = System.getProperty("xmlctf.classpath.override"); + if (classPathOverride != null) { + args.add(classPathOverride + ";" + destDir.getAbsolutePath()); + } else { + args.add(System.getProperty("java.class.path") + ";" + destDir.getAbsolutePath()); + } args.add("-d"); args.add(destDir.getAbsolutePath()); args.add("-sourcepath"); Index: pom.xml =================================================================== --- pom.xml (revision 7075) +++ pom.xml (working copy) @@ -7,14 +7,14 @@ org.codehaus.castor castor-testsuite-xml 1.1.1-SNAPSHOT - - + --> jar Castor XML - test suite @@ -22,19 +22,19 @@ - + org.apache.maven.plugins maven-compiler-plugin 1.4 1.4 - + - + org.apache.maven.plugins maven-jar-plugin @@ -44,15 +44,28 @@ - + + org.codehaus.castor + castor-xmlctf-plugin + + + test + + text + + + + + + org.apache.maven.plugins maven-source-plugin true - + org.apache.maven.plugins @@ -65,10 +78,12 @@ - + + + - + @@ -85,7 +100,7 @@ org.codehaus.castor castor-codegen - 1.1.1-SNAPSHOT + 1.1.3-SNAPSHOT @@ -100,6 +115,13 @@ 3.8.2 + + oro + oro + 2.0.8 + + +