Hi - I updated again and the build was successful this time. I saw the following commit: *svn commit: r523398 - /incubator/openjpa/trunk/pom.xml and that probably did the fix.* Thanks!
The following was the relavant output: Downloading: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-booter/2.0 /surefire-booter-2.0.pom 770b downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire/2.0/surefi re-2.0.pom 3K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-api/2.0/su refire-api-2.0.pom 741b downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-booter/2.0 /surefire-booter-2.0.jar 22K downloaded Downloading: http://www.ibiblio.org/maven2/org/apache/maven/surefire/surefire-api/2.0/su refire-api-2.0.jar On 3/28/07, Marc Prud'hommeaux <[EMAIL PROTECTED]> wrote:
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