Is it possible to compile grunt project from maven?

后端 未结 9 1284
滥情空心
滥情空心 2021-01-30 16:55

I\'m trying to execute grunt tasks from within maven without needing to install Node.js or anything. This is because I wan\'t my artifact to be packaged by Jenkins and I can\'t

9条回答
  •  后悔当初
    2021-01-30 17:06

    You can use grunt-maven-plugin. It allows you to easily integrate Grunt tasks into Maven build process. No dirty hacks.

    This is what I use in my current project and it works just perfect.

提交回复
热议问题