Maven failure when I'm trying to build my project

View: New views
2 Messages — Rating Filter:   Alert me  

Maven failure when I'm trying to build my project

by Sench :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 Hi,
Well I've configured Continuum 1.1 under the tomcat 5.5.20.
After adding my pom.xml url , continuum checkouts my project as well. But
when I'm trying to build my project I'm getting failure like this

'mvn' is not recognized as an internal or external command,
operable program or batch file.

Why? I've also added system variable (maven-2.0.8/bin) to recognize
this command.

How can I solve this?

Thanks, Arsen

Re: Maven failure when I'm trying to build my project

by Emmanuel Venisse-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Jul 1, 2008 at 11:42 AM, Arsen Alexanyan <sench4@...> wrote:

>  Hi,
> Well I've configured Continuum 1.1 under the tomcat 5.5.20.
> After adding my pom.xml url , continuum checkouts my project as well. But
> when I'm trying to build my project I'm getting failure like this
>
> 'mvn' is not recognized as an internal or external command,
> operable program or batch file.
>
> Why? I've also added system variable (maven-2.0.8/bin) to recognize
> this command.


You have 2 solutions to resolve it:
1- Add mvn in the PATH used by tomcat user
2- Add an "Installation" from the menu in Continuum, then linked it to a
profile then link the profile to your build definition. I don't remember if
it is needed to link it to the build definition

Emmanuel

>
>
> How can I solve this?
>
> Thanks, Arsen
>
LightInTheBox - Buy quality products at wholesale price!