You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by Xibin Zeng <xi...@gmail.com> on 2007/03/28 09:24:40 UTC

error building openjpa

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

Re: error building openjpa

Posted by Xibin Zeng <xi...@gmail.com>.
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 <mp...@apache.org> 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
>
>

Re: error building openjpa

Posted by Xibin Zeng <xi...@gmail.com>.
I ran with -Dtest=false a few times last night, and it didn't look it was
going to fix the problem. Just my observation.

Thanks
- Xibin

On 3/28/07, Pinaki Poddar <pp...@bea.com> 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:plinskey@bea.com]
> Sent: Wednesday, March 28, 2007 4:17 PM
> To: open-jpa-dev@incubator.apache.org
> Subject: RE: error building openjpa
>
> What did that solution accomplish? It sounds like the .m2 repository was
> out-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 this
> by email and then delete it.
>
> > -----Original Message-----
> > From: Pinaki Poddar [mailto:ppoddar@bea.com]
> > 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:mprudhomapache@gmail.com] 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
>
> > 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.
> >
>
> 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.
>
> 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.
>

Re: error building openjpa

Posted by Marc Prud'hommeaux <mp...@apache.org>.
> Are we paid to debug maven or to create value?

You get paid for this? :)



On Mar 28, 2007, at 9:12 PM, Craig L Russell wrote:

> By the way, I've seen failure to download dependencies causing  
> build failures that are resolved by running mvn multiple times.  
> Each time more of the dependencies get loaded but failures occur on  
> subsequent download attempts.
>
> 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:plinskey@bea.com]
>> Sent: Wednesday, March 28, 2007 4:17 PM
>> To: open-jpa-dev@incubator.apache.org
>> Subject: RE: error building openjpa
>>
>> What did that solution accomplish? It sounds like the .m2  
>> repository was
>> out-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  
>> this
>> by email and then delete it.
>>
>>> -----Original Message-----
>>> From: Pinaki Poddar [mailto:ppoddar@bea.com]
>>> 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:mprudhomapache@gmail.com] 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
>>
>>> 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.
>>>
>>
>> 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.
>>
>> 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:Craig.Russell@sun.com
> P.S. A good JDO? O, Gasp!
>


Re: error building openjpa

Posted by Craig L Russell <Cr...@Sun.COM>.
By the way, I've seen failure to download dependencies causing build  
failures that are resolved by running mvn multiple times. Each time  
more of the dependencies get loaded but failures occur on subsequent  
download attempts.

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:plinskey@bea.com]
> Sent: Wednesday, March 28, 2007 4:17 PM
> To: open-jpa-dev@incubator.apache.org
> Subject: RE: error building openjpa
>
> What did that solution accomplish? It sounds like the .m2  
> repository was
> out-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  
> this
> by email and then delete it.
>
>> -----Original Message-----
>> From: Pinaki Poddar [mailto:ppoddar@bea.com]
>> 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:mprudhomapache@gmail.com] 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
>
>> 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.
>>
>
> 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.
>
> 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:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!


RE: error building openjpa

Posted by Pinaki Poddar <pp...@bea.com>.
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:plinskey@bea.com] 
Sent: Wednesday, March 28, 2007 4:17 PM
To: open-jpa-dev@incubator.apache.org
Subject: RE: error building openjpa

What did that solution accomplish? It sounds like the .m2 repository was
out-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 this
by email and then delete it. 

> -----Original Message-----
> From: Pinaki Poddar [mailto:ppoddar@bea.com]
> 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:mprudhomapache@gmail.com] 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

> 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.
> 

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.

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.

RE: error building openjpa

Posted by Patrick Linskey <pl...@bea.com>.
What did that solution accomplish? It sounds like the .m2 repository was
out-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 this
by email and then delete it. 

> -----Original Message-----
> From: Pinaki Poddar [mailto:ppoddar@bea.com] 
> 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:mprudhomapache@gmail.com] 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 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.
> 

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.

RE: error building openjpa

Posted by Pinaki Poddar <pp...@bea.com>.
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:mprudhomapache@gmail.com] 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 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.

Re: error building openjpa

Posted by Marc Prud'hommeaux <mp...@apache.org>.
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