Trunk build failure with jdk 1.5
--------------------------------
Key: MCASTOR-21
URL: http://jira.codehaus.org/browse/MCASTOR-21
Project: Maven 2.x Castor Plugin
Issue Type: Bug
Components: Core MOJOs
Environment: maven 2.0.8
jdk 1.5.0_11
Reporter: Jerome Lacoste
Priority: Critical
Attachments: MCASTOR-fix_jdk15_build.patch
Results :
Tests in error:
testGenerate(org.codehaus.mojo.castor.MappingsMojoTest)
testGenerate(org.codehaus.mojo.castor.MappingMojoTest)
Tests run: 15, Failures: 0, Errors: 2, Skipped: 0
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
$ cat target/surefire-reports/*.txt
-------------------------------------------------------------------------------
Test set: org.codehaus.mojo.castor.GenerateMojoTest
-------------------------------------------------------------------------------
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.746 sec
-------------------------------------------------------------------------------
Test set: org.codehaus.mojo.castor.MappingMojoTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.244 sec <<<
FAILURE!
testGenerate(org.codehaus.mojo.castor.MappingMojoTest) Time elapsed: 0.239 sec
<<< ERROR!
org.apache.maven.plugin.MojoExecutionException: Failed to generate mapping for
org.codehaus.mojo.castor.Request
at
org.codehaus.mojo.castor.AbstractMappingMojo.execute(AbstractMappingMojo.java:113)
at
org.codehaus.mojo.castor.MappingMojoTest.testGenerate(MappingMojoTest.java:37)
Caused by: org.exolab.castor.mapping.MappingException: Nested error:
java.lang.RuntimeException: Could not instantiate serializer
org.apache.xml.serialize.XMLSerializer: java.lang.ClassNotFoundException:
org.apache.xml.serialize.XMLSerializer
at org.exolab.castor.tools.MappingTool.write(MappingTool.java:466)
at
org.codehaus.mojo.castor.AbstractMappingMojo.execute(AbstractMappingMojo.java:109)
... 27 more
-------------------------------------------------------------------------------
Test set: org.codehaus.mojo.castor.MappingsMojoTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.832 sec <<<
FAILURE!
testGenerate(org.codehaus.mojo.castor.MappingsMojoTest) Time elapsed: 0.788
sec <<< ERROR!
org.apache.maven.plugin.MojoExecutionException: Failed to generate mapping for
org.codehaus.mojo.castor.Request
at
org.codehaus.mojo.castor.AbstractMappingMojo.execute(AbstractMappingMojo.java:113)
at org.codehaus.mojo.castor.MappingsMojo.execute(MappingsMojo.java:64)
at
org.codehaus.mojo.castor.MappingsMojoTest.testGenerate(MappingsMojoTest.java:37)
Caused by: org.exolab.castor.mapping.MappingException: Nested error:
java.lang.RuntimeException: Could not instantiate serializer
org.apache.xml.serialize.XMLSerializer: java.lang.ClassNotFoundException:
org.apache.xml.serialize.XMLSerializer
at org.exolab.castor.tools.MappingTool.write(MappingTool.java:466)
at
org.codehaus.mojo.castor.AbstractMappingMojo.execute(AbstractMappingMojo.java:109)
... 28 more
$ svn info
Path: .
URL: https://svn.codehaus.org/mojo/trunk/mojo/castor-maven-plugin
Repository Root: https://svn.codehaus.org/mojo
Repository UUID: 52ab4f32-60fc-0310-b215-8acea882cd1b
Revision: 6816
Node Kind: directory
Schedule: normal
Last Changed Author: bentmann
Last Changed Rev: 6745
Last Changed Date: 2008-04-13 11:12:18 +0200 (Sun, 13 Apr 2008)
I've made a simple copy paste of the jdk14 profile for jdk 15 and it fixes my
build.
Do you guys build with 1.4 only ?
--
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 from this list, please visit:
http://xircles.codehaus.org/manage_email