Hi,
I'm seeing the following errors in the build. Is it the same problem as
Simon Laws has reported before? It looks like the osgi jars are not on the
classpath.
Thanks,
Raymond
[INFO] Adding JAR artifact: org.codehaus.woodstox:wstx-asl:jar:3.2.4:compile
[FATAL ERROR]
org.apache.tuscany.maven.bundle.plugin.ModuleBundlesBuildMojo#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.apache.tuscany.maven.plugins:maven-bundle-plugin]
urls[0] =
file:/home/continuum/.m2/repository/org/apache/tuscany/maven/plugins/maven-bundle-plugin/1.0/maven-bundle-plugin-1.0.jar
urls[1] =
file:/home/continuum/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
[FATAL ERROR] Container realm = plexus.core
urls[0] = file:/opt/apache-maven-2.0.9/lib/maven-2.0.9-uber.jar
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] org/osgi/framework/Version
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NoClassDefFoundError: org/osgi/framework/Version
at
org.apache.tuscany.maven.bundle.plugin.BundleUtil.osgiVersion(BundleUtil.java:381)
at
org.apache.tuscany.maven.bundle.plugin.ModuleBundlesBuildMojo.execute(ModuleBundlesBuildMojo.java:460)
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)
--------------------------------------------------
From: "[email protected]" <[email protected]>
Sent: Tuesday, February 24, 2009 11:27 AM
To: <[email protected]>; <[email protected]>;
<[email protected]>
Subject: [continuum] BUILD FAILURE: Tuscany - Apache Tuscany SCA
Implementation Project -
Online report :
http://vmbuild.apache.org/continuum/buildResult.action?buildId=148225&projectId=277
Build statistics:
State: Failed
Previous State: Ok
Started at: Tue 24 Feb 2009 11:17:45 -0800
Finished at: Tue 24 Feb 2009 11:26:34 -0800
Total time: 8m 49s
Build Trigger: Forced
Build Number: 220
Exit code: 1
Building machine hostname: vmbuild.apache.org
Operating system : Linux(unknown)
Java Home version : java version "1.5.0_12"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.5.0_12-b04)
Java HotSpot(TM) Client VM (build 1.5.0_12-b04, mixed mode,
sharing)
Builder version :
Maven version: 2.0.9
Java version: 1.5.0_12
OS name: "linux" version: "2.6.20-16-server" arch: "i386" Family:
"unix"
****************************************************************************
SCM Changes:
****************************************************************************
Changed: rfeng @ Mon 23 Feb 2009 16:58:29 -0800
Comment: Minor clean up
Files changed:
/tuscany/java/sca/modules/definitions-xml/src/main/java/org/apache/tuscany/sca/definitions/xml/DefinitionsDocumentProcessor.java
( 747242 )
Changed: rfeng @ Mon 23 Feb 2009 20:51:49 -0800
Comment: Start to implement the @attachTo XPath functions
Files changed:
/tuscany/java/sca/modules/policy-xml/src/main/java/org/apache/tuscany/sca/policy/xml/PolicyXPathFunction.java
( 747275 )
/tuscany/java/sca/modules/policy-xml/src/main/java/org/apache/tuscany/sca/policy/xml/PolicyXPathFunctionResolver.java
( 747275 )
/tuscany/java/sca/modules/policy-xml/src/test/java/org/apache/tuscany/sca/policy/xml/PolicyXPathFunctionResolverTestCase.java
( 747275 )
/tuscany/java/sca/modules/policy-xml/src/test/resources/org/apache/tuscany/sca/policy/xml/Calculator.composite
( 747275 )
Changed: antelder @ Tue 24 Feb 2009 02:02:25 -0800
Comment: Start to bring up the implementation.bpel model in 2.x
Files changed:
/tuscany/java/sca/modules/implementation-bpel (from
/tuscany/branches/sca-equinox/modules/implementation-bpel:746974) (
747321 )
/tuscany/java/sca/modules/implementation-bpel/pom.xml ( 747321 )
Changed: antelder @ Tue 24 Feb 2009 02:03:02 -0800
Comment: Start to bring up the implementation.bpel runtime in 2.x
Files changed:
/tuscany/java/sca/modules/implementation-bpel-ode (from
/tuscany/branches/sca-equinox/modules/implementation-bpel-ode:746975) (
747322 )
/tuscany/java/sca/modules/implementation-bpel-ode/pom.xml ( 747322 )
/tuscany/java/sca/modules/implementation-bpel-ode/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/EmbeddedODEServer.java
( 747322 )
/tuscany/java/sca/modules/implementation-bpel-ode/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/TuscanyProcessConfImpl.java
( 747322 )
/tuscany/java/sca/modules/implementation-bpel-ode/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/provider/BPELImplementationProviderFactory.java
( 747322 )
/tuscany/java/sca/modules/implementation-bpel-ode/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/provider/BPELInvoker.java
( 747322 )
Changed: antelder @ Tue 24 Feb 2009 02:03:49 -0800
Comment: Start to bring up a bpel sample in 2.x
Files changed:
/tuscany/java/sca/samples/helloworld-bpel (from
/tuscany/branches/sca-equinox/samples/helloworld-bpel:747305) ( 747323 )
/tuscany/java/sca/samples/helloworld-bpel/pom.xml ( 747323 )
/tuscany/java/sca/samples/helloworld-bpel/src/main/java/helloworld/BPELClient.java
( 747323 )
/tuscany/java/sca/samples/helloworld-bpel/src/main/java/helloworld/Hello.java
( 747323 )
/tuscany/java/sca/samples/helloworld-bpel/src/main/resources/META-INF (
747323 )
/tuscany/java/sca/samples/helloworld-bpel/src/main/resources/META-INF/sca-contribution.xml
( 747323 )
/tuscany/java/sca/samples/helloworld-bpel/src/main/resources/deploy.xml
( 747323 )
/tuscany/java/sca/samples/helloworld-bpel/src/main/resources/helloworld.componentType
( 747323 )
/tuscany/java/sca/samples/helloworld-bpel/src/main/resources/helloworld.composite
( 747323 )
/tuscany/java/sca/samples/helloworld-bpel/src/test/java/helloworld/BPELHelloWorldTestCase.java
( 747323 )
Changed: antelder @ Tue 24 Feb 2009 02:42:01 -0800
Comment: Clean up some unused dependencies
Files changed:
/tuscany/java/sca/modules/implementation-bpel-ode/pom.xml ( 747331 )
Changed: antelder @ Tue 24 Feb 2009 05:19:00 -0800
Comment: TUSCANY-2869: work around the Saxon xpath jar meta-inf/services
problem
Files changed:
/tuscany/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/extensibility/ContextClassLoaderServiceDiscoverer.java
( 747374 )
Changed: antelder @ Tue 24 Feb 2009 06:33:30 -0800
Comment: Cleanup the bpel model manifest
Files changed:
/tuscany/java/sca/modules/implementation-bpel/META-INF/MANIFEST.MF (
747394 )
Changed: antelder @ Tue 24 Feb 2009 08:14:37 -0800
Comment: Clean up the ode dependencies and manifest
Files changed:
/tuscany/java/sca/modules/implementation-bpel-ode/META-INF/MANIFEST.MF
( 747411 )
/tuscany/java/sca/modules/implementation-bpel-ode/pom.xml ( 747411 )
Changed: antelder @ Tue 24 Feb 2009 09:07:47 -0800
Comment: Update to use just released 1.0 bundle plugin
Files changed:
/tuscany/java/sca/pom.xml ( 747442 )
Changed: antelder @ Tue 24 Feb 2009 09:08:11 -0800
Comment: Remove some commented out code
Files changed:
/tuscany/java/sca/modules/pom.xml ( 747443 )
Changed: antelder @ Tue 24 Feb 2009 09:15:06 -0800
Comment: Add implementation.bpel to the build
Files changed:
/tuscany/java/sca/modules/pom.xml ( 747447 )
Changed: antelder @ Tue 24 Feb 2009 09:16:46 -0800
Comment: Add bpel sample to build
Files changed:
/tuscany/java/sca/samples/pom.xml ( 747448 )
****************************************************************************
Dependencies Changes:
****************************************************************************
No dependencies changed
****************************************************************************
Build Definition:
****************************************************************************
POM filename: pom.xml
Goals: -fae clean install Arguments: --batch-mode
Build Fresh: false
Always Build: false
Default Build Definition: true
Schedule: ONCE_A_DAY_2_00_AM
Profile Name: Java 5
Description:
****************************************************************************
Test Summary:
****************************************************************************
Tests: 635
Failures: 0
Total time: 132.53299