Open johnnybigoode-zz opened 7 years ago
Probably late now, but:
You need grunt-cli installed as your project dependency. It is already listed in your package.json.
In the pom.xml - instead of installing grunt only under npm, use install
- to install all package.json dependencies.
The linked article also uses npm install
.
Change the npm install execution section to look like this:
<execution>
<id>npm Install</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>install</arguments>
</configuration>
</execution>
I'm sorry for making yet another topic on the subject, but the current solutions aren't working for me.
I got the whole thing working, then I installed a 'grunt-front-end-loader', which seems like a bad idea in retrospect (https://www.npmjs.com/package/grunt-front-end-modules)
This is my mvn clean install output:
The frontend-maven-plugin part:
And the package.json part
Just a FYI, I was using this to guide me in transcoding some JS. http://mabboud.net/how-to-uglify-and-transpile-ecma6-javascript-with-a-maven-war-build/