Tag: maven plugin

exec-maven-plugin说无法运行指定的程序,即使它在PATH上

编辑20140716 : find解决scheme tl; dr = exec-maven-plugin 不能识别.cmd文件,而只能识别.bat文件,作为可执行脚本。 重命名grunt.cmd –> grunt.bat , bower.cmd –> bower.bat等作为解决方法。 在我的系统上完成npm install -g grunt-cli , grunt肯定是在PATH 当我运行maven install但是,这似乎并没有注册。 [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (build-spa-bower) on project foobar: Command execution failed. Cannot run program "grunt" (in directory "C:\workspace\foobar\src\main\spa"): CreateProcess error=2, The system cannot find the file specified -> [Help 1] […]