www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [Hudson] Command "mvn" not found
Date Sun, 28 Feb 2010 13:37:59 GMT
On 28/02/2010, Jukka Zitting <jukka.zitting@gmail.com> wrote:
> 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.
>

OK, so how does one add this to the PATH?

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

The build file does quite a lot of complicated work; it's not at all
obvious to me how the assembly plugin can be persuaded to do it.

>  BR,
>
>
>  Jukka Zitting
>

Mime
View raw message