Created
May 12, 2016 13:45
-
-
Save davidtruchet/487be31bb41e333a50aba1f19e9ebf37 to your computer and use it in GitHub Desktop.
Running Grunt with Maven
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<properties> | |
.... | |
.... | |
<grunt.executable>grunt</grunt.executable> | |
.... | |
.... | |
</properties> | |
<build> | |
<pluginManagement> | |
<!-- MAVEN --> | |
<plugins> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>exec-maven-plugin</artifactId> | |
<version>1.3.2</version> | |
<executions> | |
<execution> | |
<id>build</id> | |
<phase>compile</phase> | |
<goals> | |
<goal>exec</goal> | |
</goals> | |
<configuration> | |
<executable>${grunt.executable}</executable> | |
<arguments> | |
<argument>##taskName##</argument> | |
</arguments> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
<pluginManagement> | |
<build> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment