Re: [castor-dev] [Fwd: [castor-scm] [Bamboo] Castor - JDK5 - Castor main (super) project build 449 has FAILED (0 tests failed). Change made by rjoachim]

Ralf Joachim <[email protected]> Fri, 24 Jul 2009 10:15:59 +0200
Newsgroups gmane.comp.java.castor.devel
Organization Syscon Ingenieurbüro GmbH
Message-ID <[email protected]>
Hi Werner,

mvn clean install with an empty repository still fails for me at XML
module. See maven output below. Let me know if you need more info.

Regards

Ralf

[INFO]
------------------------------------------------------------------------

[INFO] Building Castor XML - core

[INFO] task-segment: [install]

[INFO]
------------------------------------------------------------------------

[WARNING] Attempting to build MavenProject instance for Artifact
(org.codehaus.mojo:castor-maven-plugin:2.0-20090723.115451-13) of type:
maven-plugin; constructing POM artifact instead.

Downloading:
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-api/1.5.1/plexus-compiler-api-1.5.1.pom

6K downloaded

Downloading:
http://repo1.maven.org/maven2/junit/junit/3.8.2/junit-3.8.2.pom

747b downloaded

Downloading:
http://repo1.maven.org/maven2/org/codehaus/castor/castor-codegen/1.3/castor-codegen-1.3.pom

4K downloaded

Downloading:
http://repo1.maven.org/maven2/org/codehaus/castor/castor/1.3/castor-1.3.pom

22K downloaded

Downloading:
http://repo1.maven.org/maven2/org/codehaus/castor/castor-core/1.3/castor-core-1.3.pom

1K downloaded

Downloading:
http://repo1.maven.org/maven2/org/codehaus/castor/castor-xml/1.3/castor-xml-1.3.pom

4K downloaded

Downloading:
http://repo1.maven.org/maven2/org/codehaus/castor/castor-xml-schema/1.3/castor-xml-schema-1.3.pom

4K downloaded

Downloading:
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-api/1.5.1/plexus-compiler-api-1.5.1.jar

22K downloaded

Downloading:
http://repo1.maven.org/maven2/org/codehaus/castor/castor-codegen/1.3/castor-codegen-1.3.jar

497K downloaded

Downloading:
http://snapshots.repository.codehaus.org/org/codehaus/castor/castor-core/1.3/castor-core-1.3.jar

Downloading:
https://maven-repository.dev.java.net/nonav/repository/org.codehaus.castor/jars/castor-core-1.3.jar

Downloading:
https://maven2-repository.dev.java.net/nonav/repository/org/codehaus/castor/castor-core/1.3/castor-core-1.3.jar

377b downloaded

[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'0ae9f9d3645ad5110e5bae4c10a9330930050f81'; remote = '<!DOCTYPE' -
RETRYING

Downloading:
https://maven2-repository.dev.java.net/nonav/repository/org/codehaus/castor/castor-core/1.3/castor-core-1.3.jar

377b downloaded

[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'0ae9f9d3645ad5110e5bae4c10a9330930050f81'; remote = '<!DOCTYPE' -
IGNORING

Downloading:
http://snapshots.repository.codehaus.org/org/codehaus/castor/castor-xml/1.3/castor-xml-1.3.jar

Downloading:
https://maven-repository.dev.java.net/nonav/repository/org.codehaus.castor/jars/castor-xml-1.3.jar

Downloading:
https://maven2-repository.dev.java.net/nonav/repository/org/codehaus/castor/castor-xml/1.3/castor-xml-1.3.jar

375b downloaded

[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'a84fe394e12c118c0de02aa8c9a3b0ad3e428737'; remote = '<!DOCTYPE' -
RETRYING

Downloading:
https://maven2-repository.dev.java.net/nonav/repository/org/codehaus/castor/castor-xml/1.3/castor-xml-1.3.jar

375b downloaded

[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'a84fe394e12c118c0de02aa8c9a3b0ad3e428737'; remote = '<!DOCTYPE' -
IGNORING

Downloading:
http://snapshots.repository.codehaus.org/org/codehaus/castor/castor-xml-schema/1.3/castor-xml-schema-1.3.jar

Downloading:
https://maven-repository.dev.java.net/nonav/repository/org.codehaus.castor/jars/castor-xml-schema-1.3.jar

Downloading:
https://maven2-repository.dev.java.net/nonav/repository/org/codehaus/castor/castor-xml-schema/1.3/castor-xml-schema-1.3.jar

389b downloaded

[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'4518b4248a24637208aca6ce4d3d1e8dd44d5918'; remote = '<!DOCTYPE' -
RETRYING

Downloading:
https://maven2-repository.dev.java.net/nonav/repository/org/codehaus/castor/castor-xml-schema/1.3/castor-xml-schema-1.3.jar

389b downloaded

[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'4518b4248a24637208aca6ce4d3d1e8dd44d5918'; remote = '<!DOCTYPE' -
IGNORING

[INFO] [castor:generate {execution: default}]

[FATAL ERROR] org.codehaus.mojo.castor.GenerateMojo#execute() caused a
linkage error (java.lang.NoClassDefFoundError) and may be out-of-date.
Check the realms:

[FATAL ERROR] Plugin realm =
app0.child-container[org.codehaus.mojo:castor-maven-plugin]

urls[0] =
file:/home/ralf/.m2/repository/org/codehaus/mojo/castor-maven-plugin/2.0-SNAPSHOT/castor-maven-plugin-2.0-SNAPSHOT.jar

urls[1] =
file:/home/ralf/.m2/repository/org/codehaus/plexus/plexus-compiler-api/1.5.1/plexus-compiler-api-1.5.1.jar

urls[2] =
file:/home/ralf/.m2/repository/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar

urls[3] =
file:/home/ralf/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar

urls[4] =
file:/home/ralf/.m2/repository/org/codehaus/castor/castor-codegen/1.3/castor-codegen-1.3.jar

urls[5] =
file:/home/ralf/.m2/repository/org/codehaus/castor/castor-core/1.3/castor-core-1.3.jar

urls[6] =
file:/home/ralf/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar

urls[7] =
file:/home/ralf/.m2/repository/org/codehaus/castor/castor-xml/1.3/castor-xml-1.3.jar

urls[8] =
file:/home/ralf/.m2/repository/org/codehaus/castor/castor-xml-schema/1.3/castor-xml-schema-1.3.jar

[FATAL ERROR] Container realm = plexus.core

urls[0] = file:/usr/share/maven2/lib/commons-cli.jar

urls[1] = file:/usr/share/maven2/lib/plexus-interactivity-api.jar

urls[2] = file:/usr/share/maven2/lib/wagon-provider-api.jar

urls[3] = file:/usr/share/maven2/lib/wagon-http-lightweight.jar

urls[4] = file:/usr/share/maven2/lib/wagon-ssh.jar

urls[5] = file:/usr/share/maven2/lib/maven2.jar

urls[6] = file:/usr/share/maven2/lib/wagon-ssh-external.jar

urls[7] = file:/usr/share/maven2/lib/wagon-ssh-common.jar

urls[8] = file:/usr/share/maven2/lib/xml-apis.jar

urls[9] = file:/usr/share/maven2/lib/jsch.jar

urls[10] = file:/usr/share/maven2/lib/wagon-http-shared.jar

urls[11] = file:/usr/share/maven2/lib/jtidy.jar

urls[12] = file:/usr/share/maven2/lib/wagon-file.jar

urls[13] = file:/usr/share/maven2/lib/plexus-container-default.jar

urls[14] = file:/usr/share/maven2/lib/doxia-sink-api.jar

urls[15] = file:/usr/share/maven2/lib/plexus-utils.jar

[INFO]
------------------------------------------------------------------------

[ERROR] FATAL ERROR

[INFO]
------------------------------------------------------------------------

[INFO] org/castor/xml/InternalContext

[INFO]
------------------------------------------------------------------------

[INFO] Trace

java.lang.NoClassDefFoundError: org/castor/xml/InternalContext

at
org.codehaus.mojo.castor.GenerateMojo.config(GenerateMojo.java:338)

at
org.codehaus.mojo.castor.GenerateMojo.execute(GenerateMojo.java:220)

at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)

at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)

at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)

at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)

at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)

at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)

at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)

at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)

at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)

at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)

at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

[INFO]
------------------------------------------------------------------------

[INFO] Total time: 5 minutes 52 seconds

[INFO] Finished at: Fri Jul 24 10:09:03 CEST 2009

[INFO] Final Memory: 16M/32M

[INFO]
------------------------------------------------------------------------

Werner Guttmann schrieb:

Odd, build runs fine for me, and I just (manually) triggered the Bamboo
build for Java 5.0, and it finished without any problems.

Regards
Werner

Ralf Joachim wrote:

Hi Werner,

problem is still the same.

Regards
Ralf

Werner Guttmann schrieb:

Hi Ralf,

just redeployed 2.0-SNAPSHOT of the castor-maven-plugin a few minutes
ago, and a local build runs fine with me. Can you try it again, please ?

Regards
Werner

Werner Guttmann wrote:

Hmm, I have publically released version 1.5 of the castor-maven-plugin,
and not 2.0-SNAPSHOT. But interesting, ...

Werner

Ralf Joachim wrote:

Hi Werner,

build fails not only on bamboo but also locally at XML module. I haven't
changed anything at XML module for quite a while. At least not for the
last 2 month. Having said that full build with 'mvn install' on project
root worked for me about 1 week ago.

At local build it fails with:

.....

[FATAL ERROR] org.codehaus.mojo.castor.GenerateMojo#execute() caused a
linkage error (java.lang.NoClassDefFoundError) and may be out-of-date.
Check the realms:
[FATAL ERROR] Plugin realm =
app0.child-container[org.codehaus.mojo:castor-maven-plugin]

....

java.lang.NoClassDefFoundError: org/castor/xml/InternalContext
at org.codehaus.mojo.castor.GenerateMojo.config(GenerateMojo.java:338)
at org.codehaus.mojo.castor.GenerateMojo.execute(GenerateMojo.java:220)

....

May it be possible that changes to the castor-maven-plugin where we use
2.0-SNAPSHOT caused this problem. I also recognized that it downloaded
xercesImpl-2.6.0 and various castor-1.2 jars. For all the castor-1.2
jars I see checksum warnings here.

Regards
Ralf

Werner Guttmann schrieb:

Hallo,

it looks like one of the more recent commit sets broke the continous
build. Any idea why ?

Werner

-------- Original Message --------
Subject: [castor-scm] [Bamboo] Castor - JDK5 - Castor main (super)
project build 449 has FAILED (0 tests failed). Change made by rjoachim
Date: Wed, 22 Jul 2009 18:30:24 -0500 (CDT)
From: Codehaus Bamboo <[email protected]>
Reply-To: [email protected]
To: [email protected]

-----------------------------------------------------------
CASTOR-MAINJDK5-449 failed.
-----------------------------------------------------------
Code has been updated by rjoachim.
No failed tests found, a possible compilation error.

http://bamboo.ci.codehaus.org/browse/CASTOR-MAINJDK5-449/

--------------
Code Changes
--------------
rjoachim (8289):

Move SQLStatementStore org.castor.cpa.persistence.sql.engine and rename to SQLStatementUpdate (CASTOR-2764)

--------------
JIRA Issues
--------------
CASTOR-2764: Move SQLStatementStore
org.castor.cpa.persistence.sql.engine and rename to SQLStatementUpdate

--------------
Error Summary
--------------
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

/opt/j2ee/domains/ci.codehaus.org/bamboo/webapps/atlassian-bamboo/data/atlassian-bamboo-2.1.4/xml-data/build-dir/CASTOR-MAINJDK5/xml/target/generated-sources/castor/org/exolab/castor/mapping/xml/ClassMapping.java:[350,5]
method does not override a method from its superclass

/opt/j2ee/domains/ci.codehaus.org/bamboo/webapps/atlassian-bamboo/data/atlassian-bamboo-2.1.4/xml-data/build-dir/CASTOR-MAINJDK5/xml/target/generated-sources/castor/org/exolab/castor/mapping/xml/FieldMapping.java:[371,5]
method does not override a method from its superclass

[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch

--
This message is automatically generated by Atlassian Bamboo

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

--

Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
72127 Kusterdingen
Germany

Tel. +49 7071 3690 52
Mobil: +49 173 9630135
Fax +49 7071 3690 98

Internet: www.syscon.eu
E-Mail: [email protected]

Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Geschäftsleitung: Jens Joachim, Ralf Joachim

--------------------------------------------------------------------- To
unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

--

Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
72127 Kusterdingen
Germany

Tel. +49 7071 3690 52
Mobil: +49 173 9630135
Fax +49 7071 3690 98

Internet: www.syscon.eu
E-Mail: [email protected]

Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Geschäftsleitung: Jens Joachim, Ralf Joachim

--------------------------------------------------------------------- To
unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

--

Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
72127 Kusterdingen
Germany

Tel. +49 7071 3690 52
Mobil: +49 173 9630135
Fax +49 7071 3690 98

Internet: www.syscon.eu
E-Mail: [email protected]

Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Geschäftsleitung: Jens Joachim, Ralf Joachim

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email