Thursday, October 28, 2010

Maven Exec Plugin not using system path on windows?

Programmer Question

How can this not work in windows?




org.codehaus.mojo
exec-maven-plugin
1.2


deploy-dev-ssh
install

exec




echo

hello




I get this when I run it:



[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec (do-this) on project : Command execution failed. Cannot run program "echo" (in directory ""): CreateProcess error=2, The system cannot find the file specified -> [Help 1]



How can echo not be on the PATH?



Find the answer here

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails