Last active
March 16, 2020 19:01
-
-
Save steinarb/f9f131fdf1e8119316098a799b506745 to your computer and use it in GitHub Desktop.
frontend-karaf-plugin config for putting bundle.js on the target jar classpath
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
<project> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>com.github.eirslett</groupId> | |
<artifactId>frontend-maven-plugin</artifactId> | |
<version>1.6</version> | |
<configuration> | |
<nodeVersion>v10.4.0</nodeVersion> | |
<workingDirectory>src/main/frontend</workingDirectory> | |
<installDirectory>target</installDirectory> | |
</configuration> | |
<executions> | |
<execution> | |
<id>install node and npm</id> | |
<goals> | |
<goal>install-node-and-npm</goal> | |
</goals> | |
</execution> | |
<execution> | |
<id>npm install</id> | |
<goals> | |
<goal>npm</goal> | |
</goals> | |
</execution> | |
<execution> | |
<id>webpack build</id> | |
<goals> | |
<goal>webpack</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment