-----Original Message-----
From: Pinaki Poddar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 28, 2007 1:47 PM
To: open-jpa-dev@incubator.apache.org
Subject: RE: error building openjpa
Some of the attendees in a traininng course also experienced the
same
error involving SurefireBooter.
The solution was to run "mvn package -Dtest=false" target few (3, in
this case) times.
Pinaki Poddar
BEA Systems
415.402.7317
-----Original Message-----
From: Marc Prud'hommeaux [mailto:[EMAIL PROTECTED] On Behalf
Of Marc Prud'hommeaux
Sent: Wednesday, March 28, 2007 3:47 AM
To: open-jpa-dev@incubator.apache.org
Subject: Re: error building openjpa
That's a pretty weird error ... it looks more like Maven isn't
installed correctly. Are you able to build any other projects using
maven?
If you re-install maven and delete (or move aside) your ~/.m2/
directory, do you still get the error?
On Mar 28, 2007, at 12:24 AM, Xibin Zeng wrote:
Hi -
I just downloaded the source through svn and failed at building
openjpa. It failed at a NoClassDefFoundError for
SurefireBooter. What
did I miss?
This is the output:
$ mvn package -Dtest=false
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] OpenJPA
[INFO] OpenJPA Utilities
[INFO] OpenJPA Kernel
[INFO] OpenJPA JDBC
[INFO] OpenJPA XML Store
[INFO] OpenJPA Kernel 1.5
[INFO] OpenJPA JDBC 1.5
[INFO] OpenJPA JPA
[INFO] OpenJPA JPA JDBC
[INFO] OpenJPA Aggregate Jar
[INFO] OpenJPA Persistence Examples
[INFO] OpenJPA Distribution
[INFO] OpenJPA Integration Tests
[INFO] OpenJPA Examples Integration Tests
[INFO] OpenJPA JPA TCK Integration Tests
[INFO]
--------------------------------------------------------------------
--
---
[INFO] Building OpenJPA
[INFO] task-segment: [package]
[INFO]
--------------------------------------------------------------------
--
---
[INFO] [site:attach-descriptor]
[INFO]
--------------------------------------------------------------------
--
---
[INFO] Building OpenJPA Utilities
[INFO] task-segment: [package]
[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]
[antrun:run {execution: set subversion revision}] [INFO] Executing
tasks
[echo] Revision: 406193:523071
[INFO] Executed tasks
[INFO] [antrun:run {execution: delete sun.misc.Perf}]
[INFO] Executing
tasks [INFO] Executed tasks [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:
c:\Development\openjpa\openjpa-lib\target\sure
orts
[INFO] Building jar: c:\DOCUME~1\xibin\LOCALS~1\Temp
\surefirebooter17408.jar
java.lang.NoClassDefFoundError:
org/apache/maven/surefire/booter/SurefireBooter
Exception in thread "main"
[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: Wed Mar 28 00:09:14 PDT 2007 [INFO]
Final Memory:
8M/15M [INFO]
--------------------------------------------------------------------
--
--
Thanks
- Xibin
Notice: This email message, together with any attachments, may
contain information of BEA Systems, Inc., its subsidiaries and
affiliated entities, that may be confidential, proprietary,
copyrighted and/or legally privileged, and is intended solely
for the