Skip to content

Instantly share code, notes, and snippets.

@ludo1026
Created May 29, 2015 12:31
Show Gist options
  • Save ludo1026/039702147c556223f699 to your computer and use it in GitHub Desktop.
Save ludo1026/039702147c556223f699 to your computer and use it in GitHub Desktop.
Maven & Yeoman - pom.xml - plugin yeoman-maven-plugin
<plugin>
<groupid>com.github.trecloux</groupid>
<artifactid>yeoman-maven-plugin</artifactid>
<version>0.4</version>
<executions>
<execution>
<id>run-frontend-build</id>
<phase>generate-resources</phase>
<goals>
<goal>build</goal>
</goals>
<configuration>
<buildtool>grunt</buildtool>
<buildargs>build --force --no-color</buildargs>
</configuration>
</execution>
</executions>
<configuration>
<yeomanprojectdirectory>${project.basedir}/yo</yeomanprojectdirectory>
</configuration>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment