geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dain Sundstrom <d...@coredevelopers.net>
Subject Re: Maven 1.0rc2 now works
Date Wed, 07 Apr 2004 15:05:34 GMT
On Apr 6, 2004, at 5:52 PM, Jacek Laskowski wrote:

> Dain Sundstrom wrote:
>> I have fixed our problems with maven rc2 and now our build works with 
>> both rc1 and rc2.  The problem were:
> ...
>> If you do update to maven rc2, you may have to blow away your local 
>> maven repository.  You may also have to run the build twice before 
>> getting the build to complete as rc2 seems to be more touchy the rc1.
>
> Hi Dain,
>
> I believe I've already seen the same error message I'm getting.
>
> /geronimo
> > maven build
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc2
> ...
> Geronimo maven deployment plugin
> +----------------------------------------
> | Executing (default): Geronimo :: Servlet Specification
> | Memory: 4M/6M
> +----------------------------------------
>
> BUILD FAILED
> File...... file:/c:/projects/geronimo/maven.xml
> Element... maven:reactor
> Line...... 180
> Column.... 27
> Unable to obtain goal [default] -- 
> file:/C:/projects/geronimo/etc/maven.xml:50:41: <attainGoal> No goal 
> [java:jar-resources]
> Total time: 19 seconds
> Finished at: Wed Apr 07 00:44:54 CEST 2004
>
> I can't build Geronimo and can't find the answer to my problem. What's 
> the solution?
>
> Maven repository has been cleaned up, so no geronimo plugins as well 
> as geronimo directories (in repository dir) exist.

When you get this type of error, it means maven is really messed up.  
The only way I have ever gotten pass this type of problem it to delete 
the entire maven repo (rm -r ~/.maven).  Even then sometimes maven 
still can't recover and you have to do a reinstall of from the binary 
(this is because maven will updates jars in the maven install).

-dain


Mime
View raw message