Closed nalbion closed 10 years ago
gruntBuildDirectory is target-grunt in project root. This is the directory where npm
and grunt
executables are executed. Nothing gets executed in src/main/webapp
.
Property you are concerned about is there for other reasons, namely for GMP npm tasks that uses it internally.
I'm a bit confused... The docs say that
Gruntfile.js
andpackage.json
should be in src/main/webapp/static (jsSourceDirectory
) - because this is currently the only directory that is copied across totarget-grunt
. I can see thatAbstractExecutableMojo
adds the following to theexec
configuration:...so shouldn't all of the paths provided in the generated
grunt-maven.json
file be adjusted accordingly? ie, "../src/main/webapp" rather than "src/main/webapp"?