Created
August 8, 2015 17:46
-
-
Save juanpicado/3ba937fb1411c1cacbe0 to your computer and use it in GitHub Desktop.
grunt and 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
<plugin> | |
<groupId>com.github.eirslett</groupId> | |
<artifactId>frontend-maven-plugin</artifactId> | |
<version>0.0.23</version> | |
<configuration> | |
<workingDirectory>src/main/resources/resource</workingDirectory> | |
</configuration> | |
<executions> | |
<execution> | |
<id>install node and npm</id> | |
<goals> | |
<goal>install-node-and-npm</goal> | |
</goals> | |
<configuration> | |
<nodeVersion>v0.12.2</nodeVersion> | |
<npmVersion>2.7.6</npmVersion> | |
</configuration> | |
</execution> | |
<execution> | |
<id>npm install</id> | |
<goals> | |
<goal>npm</goal> | |
</goals> | |
<!-- Optional configuration which provides for running any npm command --> | |
<configuration> | |
<arguments>install</arguments> | |
</configuration> | |
</execution> | |
<execution> | |
<id>bower install</id> | |
<goals> | |
<goal>bower</goal> | |
</goals> | |
<configuration> | |
<arguments>install</arguments> | |
</configuration> | |
</execution> | |
<execution> | |
<id>grunt intern-test</id> | |
<goals> | |
<goal>grunt</goal> | |
</goals> | |
<configuration> | |
<arguments>--no-color</arguments> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment