2 <finalName>eliot</finalName>
5 <groupId>com.github.eirslett</groupId>
6 <artifactId>frontend-maven-plugin</artifactId>
10 <workingDirectory>src/main/frontend</workingDirectory>
15 <id>install-node-and-npm</id>
17 <goal>install-node-and-npm</goal>
20 <nodeVersion>v12.9.0</nodeVersion>
30 <arguments>install</arguments>
39 <arguments>run buildProduction</arguments>
41 <phase>generate-resources</phase>
46 <artifactId>maven-war-plugin</artifactId>
47 <version>3.2.2</version>
49 <failOnMissingWebXml>false</failOnMissingWebXml>
51 <!-- Add frontend folder to war package -->
54 <directory>src/main/frontend/dist/frontend</directory>