Manuel,
Looks like it's trying to run the tests, make sure you have the
<maven.test.skip>true</maven.test.skip>
element in your root pom.xml file.
-mbs
On 10/31/06, Manuel López <[EMAIL PROTECTED]> wrote:
Hello,
I'm trying to compile ODE, but in the compilation I get de following
errors:
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] ODE
[INFO] ODE :: JBI Integration Examples
[INFO] ODE :: Utilities
[INFO] ODE :: Compiled BPEL Object Model
[INFO] ODE :: BPEL Deployment Descriptor
[INFO] ODE :: BPEL API
[INFO] ODE :: Universal JCA Resource Adapter (Client-Side) Library
[INFO] ODE :: BPEL Schemas
[INFO] ODE :: BPEL Test Scripts
[INFO] ODE :: BPEL Compiler
[INFO] ODE :: Command Line Tools
[INFO] ODE :: Tools / Shell Scripts
[INFO] ODE :: Java Concurrent Objects (JACOB)
[INFO] ODE :: BPEL Query Language
[INFO] ODE :: BPEL DAO
[INFO] ODE :: Hibernate DAO Implementation
[INFO] ODE :: BPEL Common EPR Implementations
[INFO] ODE :: Universal JCA Server
[INFO] ODE :: BPEL API (JCA)
[INFO] ODE :: BPEL Connector
[INFO] ODE :: BPEL Scheduler - Quartz
[INFO] ODE :: Simple JNDI
[INFO] ODE :: Hibernate DAO Derby Database
[INFO] ODE :: Minerva JDBC Pool
[INFO] ODE :: BPEL Runtime
[INFO] ODE :: AXIS2 Integration Layer
[INFO] ODE :: BPEL XPath 2.0
[INFO] ODE :: Axis2 WAR
[INFO] ODE :: Axis2 Examples
[INFO] ODE :: BPEL Tests
[INFO] ODE :: JBI Component for Process Engine
[INFO] ODE :: Universal JCA Resource Adapter Archive (RAR)
[INFO] ODE :: Axis2-based Distribution
[INFO] ODE :: JBI Distribution
[INFO]
----------------------------------------------------------------------------
[INFO] Building ODE
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing /home/mlopez/ode/pom.xml to
/home/mlopez/.m2/repository/org/apache/ode/ode/2.0-SNAPSHOT/ode-
2.0-SNAPSHOT.pom
[INFO]
----------------------------------------------------------------------------
[INFO] Building ODE :: JBI Integration Examples
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
tarball:
[tar] Nothing to do:
/home/mlopez/ode/jbi-examples/target/tarball.tar is up to date.
[INFO] Executed tasks
[INFO] [site:attach-descriptor]
[INFO] [build-helper:attach-artifact {execution: attach-artifacts}]
[INFO] [install:install]
[INFO] Installing /home/mlopez/ode/jbi-examples/pom.xml to
/home/mlopez/.m2/repository/org/apache/ode/ode-jbi-examples/2.0-SNAPSHOT/ode-
jbi-examples-2.0-SNAPSHOT.pom
[INFO] Installing /home/mlopez/ode/jbi-examples/target/tarball.tar to
/home/mlopez/.m2/repository/org/apache/ode/ode-jbi-examples/2.0-SNAPSHOT/ode-
jbi-examples-2.0-SNAPSHOT-tar.tar
[INFO]
----------------------------------------------------------------------------
[INFO] Building ODE :: Utilities
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory:
/home/mlopez/ode/utils/target/surefire-reports
org.apache.maven.surefire.booter.SurefireExecutionException:
org.apache.ode.utils.xsd.SchemaCaptureTest; nested exception is
java.lang.NoClassDefFoundError: org.apache.ode.utils.xsd.SchemaCaptureTest
java.lang.NoClassDefFoundError: org.apache.ode.utils.xsd.SchemaCaptureTest
at java.lang.Class.initializeClass(libgcj.so.7)
at java.lang.Class.isAssignableFrom(libgcj.so.7)
at
org.apache.maven.surefire.junit.JUnitDirectoryTestSuite.createTestSet(
JUnitDirectoryTestSuite.java:55)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTestSets(
AbstractDirectoryTestSuite.java:93)
at
org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire.java
:147)
at org.apache.maven.surefire.Surefire.run(Surefire.java:108)
at java.lang.reflect.Method.invoke(libgcj.so.7)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(
SurefireBooter.java:225)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java
:747)
Caused by: java.lang.ClassNotFoundException:
com.sun.org.apache.xerces.internal.xni.parser.XMLEntityResolver not
found in
org.apache.maven.surefire.booter.IsolatedClassLoader{urls=
[file:/home/mlopez/ode/utils/target/classes/,file:/home/mlopez/ode/utils/target/test-classes/,file:/home/mlopez/.m2/repository/commons-logging/commons-logging/1.0.3/commons-
logging-1.0.3.jar
,file:/home/mlopez/.m2/repository/wsdl4j/wsdl4j/1.5.2/wsdl4j-1.5.2.jar
,file:/home/mlopez/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
,file:/home/mlopez/.m2/repository/commons-collections/commons-collections/2.1/commons-
collections-2.1.jar
,file:/home/mlopez/.m2/repository/commons-lang/commons-lang/2.1/commons-
lang-2.1.jar
,file:/home/mlopez/.m2/repository/commons-pool/commons-pool/1.2/commons-
pool-1.2.jar,file:/home/mlopez/.m2/repository/log4j/log4j/1.2.13/log4j-
1.2.13.jar],
parent=gnu.gcj.runtime.SystemClassLoader{urls=
[file:/home/mlopez/.m2/repository/org/apache/maven/surefire/surefire-api/2.0/surefire-
api-2.0.jar
,file:/home/mlopez/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-
utils-1.1.jar
,file:/home/mlopez/.m2/repository/org/apache/maven/surefire/surefire-booter/2.0/surefire-
booter-2.0.jar],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[],
parent=null}}}
at java.net.URLClassLoader.findClass(libgcj.so.7)
at java.lang.ClassLoader.loadClass(libgcj.so.7)
at java.lang.ClassLoader.loadClass(libgcj.so.7)
at
org.apache.maven.surefire.booter.IsolatedClassLoader.loadClass(
IsolatedClassLoader.java:100)
at java.lang.Class.initializeClass(libgcj.so.7)
...8 more
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Tue Oct 31 10:27:46 CET 2006
[INFO] Final Memory: 11M/19M
[INFO]
------------------------------------------------------------------------
Can somebody help me?
Thanks
Manu López