Installs and run node, npm, bower, grunt, gulp and karma as part of your maven build.
View the Project on GitHub sdorra/buildfrontend-maven-plugin
Installs and run node, npm, bower, grunt, gulp and karma as part of your maven build.
A demo project can be found here.
<build>
<plugins>
<plugin>
<groupId>com.github.sdorra</groupId>
<artifactId>buildfrontend-maven-plugin</artifactId>
<version>1.0.2</version>
<configuration>
<karmaConfig>test/conf/karma.conf</karmaConfig>
</configuration>
<executions>
<execution>
<id>gulp</id>
<phase>process-resources</phase>
<goals>
<goal>npm-install</goal>
<goal>bower-install</goal>
<goal>gulp</goal>
</goals>
</execution>
<execution>
<id>karma</id>
<phase>test</phase>
<goals>
<goal>karma</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>