Hi,
I am new to maven (about 2 hours in), and I am working through a
tutorial that I download here;
http://www.lulu.com/content/1080910
I can run the Hello world app under eclipse.
However I am having a problem that when I run ;
$ mvn -e clean package
I get an error;
Hi,
As a starter, you should probably upgrade Maven as version 2.0.4 is
VERY old. You can tell from your attached output that there are newer
surefire plugin versions that can't be used with Maven 2.0.4.
Regarding your problem: Try running with -X (debug) instead of -e
and then check the output.
Hi,
Thanks for the reply, I've some comments in-lined below;
On 02/07/09 20:09, Anders Hammar wrote:
Hi,
As a starter, you should probably upgrade Maven as version 2.0.4 is
VERY old. You can tell from your attached output that there are newer
surefire plugin versions that can't be used with
Oh dear, maven seems to be using a different java to my eclipse
installation;
[t...@localhost simple]$
/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre/bin/java -version
java version 1.5.0
gij (GNU libgcj) version 4.4.0 20090506 (Red Hat 4.4.0-4)
Copyright (C) 2007 Free Software Foundation, Inc.
The surefire plugin forks by default. Possibly there is a bug in the
surefire plugin you're using (and you can't upgrade to the newest one
as it requires a newer Maven version than you're using, hence my
upgrade recommendation). I'm thinking that the class path isn't
correctly passed when forking.
On 02/07/09 21:26, Anders Hammar wrote:
The surefire plugin forks by default. Possibly there is a bug in the
surefire plugin you're using (and you can't upgrade to the newest one
as it requires a newer Maven version than you're using, hence my
upgrade recommendation). I'm thinking that the class