You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by David Jencks <da...@yahoo.com> on 2005/12/06 20:55:08 UTC

A successful build

While builds seem to work more often for me than many others, I'll 
still say what I did that worked for me:

svn up
(cd openejb; cvs -q up -dP)
rm -rf ~/.maven/cache
rm ~/.maven/plugins/geronimo-*
rm $MAVEN_HOME/plugins/geronimo-*
#that might not work if you are using maven 1.1

maven -o m:clean new

thanks
david jencks


Re: A successful build

Posted by Joe Bohn <jo...@earthlink.net>.
FWIW I was able to build successfully last night without running the 
tests (this was my first time with the new build structure).

I did a fresh checkout of geronimo
svn checkout http://svn.apache.org/repos/asf/geronimo/trunk geronimo

followed by a m:fresh-checkout
maven m:fresh-checkout

I then had some missteps building with tests enabled and without the 
clean option ... so there were 2 or 3 attempts that failed which may 
have indirectly helped with my ultimate success.

I was successful when I did both clean and new without the tests
maven m:clean new -Dmaven.test.skip=true -Dmaven.itest.skip=true

Joe


Donald Woods wrote:
> Moved up to Rev354678 from 9:54:42PM and Maven 1.1-Beta2 and still see 
> the following build failure even after running "new" twice (with new0, 
> new00 and new2 removed since I'm picking up prebuilt versions from the 
> Repos) on WinXP with the Sun 1.4.2_08 JDK -
> 
> +----------------------------------------
> | configurations Geronimo Configuration for performing service deployments
> | Memory: 24M/34M
> +----------------------------------------
> DEPRECATED: the default goal should be specified in the <build> section 
> of project.xml instead of maven.xml
> DEPRECATED: the default goal should be specified in the <build> section 
> of project.xml instead of maven.xml
> new4:
> build:start:
> 
> multiproject:install-callback:
>     [echo] Running car:install for Geronimo Configuration for performing 
> service deployments
> 
> BUILD FAILED
> File...... E:\Working\geronimo10\maven.xml
> Element... maven:reactor
> Line...... 58
> Column.... -1
> Unable to obtain goal [multiproject:install-callback] -- C:\Documents 
> and 
> Settings\drwoods\.maven\cache\maven-multiproject-plugin-1.4.1\plugin.jelly:256:-1: 
> <attainGoal> No goal [car:install]
> Total time   : 3 minutes 18 seconds
> Finished at  : Tuesday, December 6, 2005 11:49:02 PM EST
> 
> 
> -Donald
> 
> Donald Woods wrote:
> 
>> Followed your basic steps below (except I also started with a clean 
>> Repo) on WinXP using trunk Rev354618 from 6:47:15PM and Maven 1.0.2 - 
>> still seeing a build failure:
>>
>> +----------------------------------------
>> | configurations Geronimo Configuration for performing service 
>> deployments
>> | Memory: 56M/97M
>> +----------------------------------------
>> Attempting to download geronimo-system-1.0-SNAPSHOT.jar.
>> Attempting to download geronimo-common-1.0-SNAPSHOT.jar.
>> Attempting to download geronimo-deployment-1.0-SNAPSHOT.jar.
>> Attempting to download geronimo-j2ee-1.0-SNAPSHOT.jar.
>> Attempting to download geronimo-management-1.0-SNAPSHOT.jar.
>> Attempting to download geronimo-service-builder-1.0-SNAPSHOT.jar.
>> Attempting to download geronimo-deploy-tool-1.0-SNAPSHOT.jar.
>>
>> build:end:
>>
>> new4:
>> build:start:
>>
>> multiproject:install-callback:
>>     [echo] Running car:install for Geronimo Configuration for 
>> performing service deployments
>>
>> BUILD FAILED
>> File...... E:\Working\geronimo10\maven.xml
>> Element... maven:reactor
>> Line...... 58
>> Column.... 112
>> Unable to obtain goal [multiproject:install-callback] -- C:\Documents 
>> and 
>> Settings\drwoods\.maven\cache\maven-multiproject-plugin-1.4.1\plugin.jelly:256:30: 
>> <attainGoal> No goal [car:install]
>> Total time: 9 minutes 18 seconds
>> Finished at: Tue Dec 06 19:34:18 EST 2005
>>
>>
>> Do we have to use Maven 1.1b2 now?  I'll try a clean build with that 
>> next...
>>
>> -Donald
>>
>> David Jencks wrote:
>>
>>> While builds seem to work more often for me than many others, I'll 
>>> still say what I did that worked for me:
>>>
>>> svn up
>>> (cd openejb; cvs -q up -dP)
>>> rm -rf ~/.maven/cache
>>> rm ~/.maven/plugins/geronimo-*
>>> rm $MAVEN_HOME/plugins/geronimo-*
>>> #that might not work if you are using maven 1.1
>>>
>>> maven -o m:clean new
>>>
>>> thanks
>>> david jencks
>>>
>>>
>>>

-- 
Joe Bohn
joe.bohn@earthlink.net

"He is no fool who gives what he cannot keep, to gain what he cannot 
lose."   -- Jim Elliot

Re: A successful build

Posted by Donald Woods <dr...@yahoo.com>.
Moved up to Rev354678 from 9:54:42PM and Maven 1.1-Beta2 and still see 
the following build failure even after running "new" twice (with new0, 
new00 and new2 removed since I'm picking up prebuilt versions from the 
Repos) on WinXP with the Sun 1.4.2_08 JDK -

+----------------------------------------
| configurations Geronimo Configuration for performing service deployments
| Memory: 24M/34M
+----------------------------------------
DEPRECATED: the default goal should be specified in the <build> section 
of project.xml instead of maven.xml
DEPRECATED: the default goal should be specified in the <build> section 
of project.xml instead of maven.xml
new4:
build:start:

multiproject:install-callback:
     [echo] Running car:install for Geronimo Configuration for 
performing service deployments

BUILD FAILED
File...... E:\Working\geronimo10\maven.xml
Element... maven:reactor
Line...... 58
Column.... -1
Unable to obtain goal [multiproject:install-callback] -- C:\Documents 
and 
Settings\drwoods\.maven\cache\maven-multiproject-plugin-1.4.1\plugin.jelly:256:-1: 
<attainGoal> No goal [car:install]
Total time   : 3 minutes 18 seconds
Finished at  : Tuesday, December 6, 2005 11:49:02 PM EST


-Donald

Donald Woods wrote:
> Followed your basic steps below (except I also started with a clean 
> Repo) on WinXP using trunk Rev354618 from 6:47:15PM and Maven 1.0.2 - 
> still seeing a build failure:
> 
> +----------------------------------------
> | configurations Geronimo Configuration for performing service deployments
> | Memory: 56M/97M
> +----------------------------------------
> Attempting to download geronimo-system-1.0-SNAPSHOT.jar.
> Attempting to download geronimo-common-1.0-SNAPSHOT.jar.
> Attempting to download geronimo-deployment-1.0-SNAPSHOT.jar.
> Attempting to download geronimo-j2ee-1.0-SNAPSHOT.jar.
> Attempting to download geronimo-management-1.0-SNAPSHOT.jar.
> Attempting to download geronimo-service-builder-1.0-SNAPSHOT.jar.
> Attempting to download geronimo-deploy-tool-1.0-SNAPSHOT.jar.
> 
> build:end:
> 
> new4:
> build:start:
> 
> multiproject:install-callback:
>     [echo] Running car:install for Geronimo Configuration for performing 
> service deployments
> 
> BUILD FAILED
> File...... E:\Working\geronimo10\maven.xml
> Element... maven:reactor
> Line...... 58
> Column.... 112
> Unable to obtain goal [multiproject:install-callback] -- C:\Documents 
> and 
> Settings\drwoods\.maven\cache\maven-multiproject-plugin-1.4.1\plugin.jelly:256:30: 
> <attainGoal> No goal [car:install]
> Total time: 9 minutes 18 seconds
> Finished at: Tue Dec 06 19:34:18 EST 2005
> 
> 
> Do we have to use Maven 1.1b2 now?  I'll try a clean build with that 
> next...
> 
> -Donald
> 
> David Jencks wrote:
> 
>> While builds seem to work more often for me than many others, I'll 
>> still say what I did that worked for me:
>>
>> svn up
>> (cd openejb; cvs -q up -dP)
>> rm -rf ~/.maven/cache
>> rm ~/.maven/plugins/geronimo-*
>> rm $MAVEN_HOME/plugins/geronimo-*
>> #that might not work if you are using maven 1.1
>>
>> maven -o m:clean new
>>
>> thanks
>> david jencks
>>
>>
>>

Re: A successful build

Posted by Donald Woods <dr...@yahoo.com>.
Followed your basic steps below (except I also started with a clean 
Repo) on WinXP using trunk Rev354618 from 6:47:15PM and Maven 1.0.2 - 
still seeing a build failure:

+----------------------------------------
| configurations Geronimo Configuration for performing service deployments
| Memory: 56M/97M
+----------------------------------------
Attempting to download geronimo-system-1.0-SNAPSHOT.jar.
Attempting to download geronimo-common-1.0-SNAPSHOT.jar.
Attempting to download geronimo-deployment-1.0-SNAPSHOT.jar.
Attempting to download geronimo-j2ee-1.0-SNAPSHOT.jar.
Attempting to download geronimo-management-1.0-SNAPSHOT.jar.
Attempting to download geronimo-service-builder-1.0-SNAPSHOT.jar.
Attempting to download geronimo-deploy-tool-1.0-SNAPSHOT.jar.

build:end:

new4:
build:start:

multiproject:install-callback:
     [echo] Running car:install for Geronimo Configuration for 
performing service deployments

BUILD FAILED
File...... E:\Working\geronimo10\maven.xml
Element... maven:reactor
Line...... 58
Column.... 112
Unable to obtain goal [multiproject:install-callback] -- C:\Documents 
and 
Settings\drwoods\.maven\cache\maven-multiproject-plugin-1.4.1\plugin.jelly:256:30: 
<attainGoal> No goal [car:install]
Total time: 9 minutes 18 seconds
Finished at: Tue Dec 06 19:34:18 EST 2005


Do we have to use Maven 1.1b2 now?  I'll try a clean build with that next...

-Donald

David Jencks wrote:
> While builds seem to work more often for me than many others, I'll still 
> say what I did that worked for me:
> 
> svn up
> (cd openejb; cvs -q up -dP)
> rm -rf ~/.maven/cache
> rm ~/.maven/plugins/geronimo-*
> rm $MAVEN_HOME/plugins/geronimo-*
> #that might not work if you are using maven 1.1
> 
> maven -o m:clean new
> 
> thanks
> david jencks
> 
> 
>