Maybe there should be a flag (default to true) that retries continuously so you can at least tell that maven is trying to do something. I'd rather wait an extra few minutes than try to debug why a build failed. Are we paid to debug maven or to create value?
Craig On Mar 28, 2007, at 2:20 PM, Pinaki Poddar wrote:
After the third execution of "mvn package -Dtest=false" the target succeeded in creating the openjpa jars and zips. The attendee mentioned that he had run "svn update" before building. Pinaki Poddar BEA Systems 415.402.7317 -----Original Message----- From: Patrick Linskey [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 28, 2007 4:17 PM To: open-jpa-dev@incubator.apache.org Subject: RE: error building openjpaWhat did that solution accomplish? It sounds like the .m2 repository wasout-of-date or something. -Patrick -- Patrick Linskey BEA Systems, Inc.______________________________________________________________________ _ 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 use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return thisby email and then delete it.-----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 forSurefireBooter. 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 - XibinNotice: 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 theuse of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.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 use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return thisby email and then delete it.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 use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.
Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp!
smime.p7s
Description: S/MIME cryptographic signature