You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Dain Sundstrom <da...@coredevelopers.net> on 2004/04/05 21:10:29 UTC

Maven 1.0rc2 now works

I have fixed our problems with maven rc2 and now our build works with 
both rc1 and rc2.  The problem were:

o Installation of our logging code, because Bootstrap was referencing 
CommandLine (and command line installs our logging system in a static 
block).  The resolution was to move the manifest code (the only code 
neede by bootstrap) to a new class CommandLineManifiest.

o Installation of our xmlbeans maven plugin stopped working, which was 
cause by a change in the maven code that locates plugins.  I added code 
to install the plugins directly, but I am checking with brett on the 
proper way to install a plugin.

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.

-dain

/*************************
  * Dain Sundstrom
  * Partner
  * Core Developers Network
  *************************/


Re: Maven 1.0rc2 now works

Posted by Dain Sundstrom <da...@coredevelopers.net>.
On Apr 8, 2004, at 9:58 AM, Jeremy Boynes wrote:

> Dain Sundstrom wrote:
>
>> I have fixed our problems with maven rc2 and now our build works with 
>> both rc1 and rc2.
>
> Are we confident enough in this to switch to rc2 for good?

I already have.

-dain


Re: Maven 1.0rc2 now works

Posted by Jeremy Boynes <je...@coredevelopers.net>.
Dain Sundstrom wrote:

> I have fixed our problems with maven rc2 and now our build works with 
> both rc1 and rc2.

Are we confident enough in this to switch to rc2 for good?

--
Jeremy



Re: Maven 1.0rc2 now works

Posted by Jukka Uusisalo <ju...@dnainternet.net>.
----- Original Message ----- 
From: "Jacek Laskowski" <jl...@apache.org>
To: <ge...@incubator.apache.org>
Sent: Wednesday, April 07, 2004 1:52 AM
Subject: Re: Maven 1.0rc2 now works


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

I just updated maven to rc2 and first build was ok. Second time i got error
as above. I removed my ~/.maven directory and after that, no problem to
build.
Let see what happens next time. :)

- Jukka -


Re: Maven 1.0rc2 now works

Posted by Jacek Laskowski <jl...@apache.org>.
Dain Sundstrom wrote:

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

Hi Dain,

You're absolutelly right. Once the ~/.maven directory had been deleted, 
maven has finished successfully (the time is due to a dial-up connection).

  __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc2

...

BUILD SUCCESSFUL
Total time: 31 minutes 45 seconds
Finished at: Thu Apr 08 07:51:11 CEST 2004

> -dain

Jacek

Re: Maven 1.0rc2 now works

Posted by Dain Sundstrom <da...@coredevelopers.net>.
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


Re: Maven 1.0rc2 now works

Posted by Jacek Laskowski <jl...@apache.org>.
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.

> -dain

Jacek