Hi,

On 8/23/06, Kenney Westerhof <[EMAIL PROTECTED]> wrote:
You probably have a settings.xml with
<localRepository>~/.m2/repository</localRepository>
in there.

Yup, that was the problem.

After about a dozen tries I seem to have a successful build ...
however ... Maven doesn't get installed so the integration tests all
fail. I get

<snip/>
it0000... FAILED
----- Standard Out -----
Command: /home/maven/bin/maven/current/bin/mvn -e --no-plugin-registry
--batch-mode -Dmaven.repo.local=/home/maven/.m2/repository clean:clean
package

Error Stacktrace:
org.apache.maven.it.VerificationException:
org.codehaus.plexus.util.cli.CommandLineException: Error while
executing process.
       at org.apache.maven.it.Verifier.executeGoals(Verifier.java:721)
       at org.apache.maven.it.Verifier.main(Verifier.java:964)
Caused by: org.codehaus.plexus.util.cli.CommandLineException: Error
while executing process.
       at org.codehaus.plexus.util.cli.Commandline.execute(Commandline.java:645)
       at 
org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:72)
       at 
org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:59)
       at org.apache.maven.it.Verifier.executeGoals(Verifier.java:715)
       ... 1 more
Caused by: java.io.IOException: java.io.IOException:
/home/maven/bin/maven/current/bin/mvn: not found
       at java.lang.UNIXProcess.<init>(UNIXProcess.java:143)
       at java.lang.Runtime.execInternal(Native Method)
       at java.lang.Runtime.exec(Runtime.java:566)
       at org.codehaus.plexus.util.cli.Commandline.execute(Commandline.java:640)
       ... 4 more
<<<<<< Error Stacktrace
Log file contents:
0/101 passed
Failed tests: [it0105, <snip/>, it0000]

(note the "/home/maven/bin/maven/current/bin/mvn: not found").

So the build knows where to look (as per the M2_HOME variable) but
Maven hasn't been installed there. I've rerun the build several times
just to be sure but no joy.

Cheers,
Hilco

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to