www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: [Hudson] Command "mvn" not found
Date Sun, 28 Feb 2010 09:52:02 GMT
Hi,

On Fri, Feb 26, 2010 at 7:44 PM, sebb <sebbaz@gmail.com> wrote:
> The M2 build includes an Ant task, which in turn invokes "mvn" in
> order to do an install.
>
> This fails on Hudson.

That's because "mvn" is not on the default PATH. The latest Maven 2
executable is at ~hudson/tools/maven/latest2/bin/mvn.

> Or perhaps a Maven guru can suggest how to rewrite the BSF pom
> eliminate the nested Maven call ?

As commented in the build.xml file, using the Maven Assembly plugin
for this seems like the obvious solution.

BR,

Jukka Zitting

Mime
View raw message