diff --git a/pom.xml b/pom.xml index 9e9513d..79f017a 100644 --- a/pom.xml +++ b/pom.xml @@ -15,6 +15,8 @@ Demo project for Spring Boot 11 + v17.6.0 + 7.20.6 @@ -78,7 +80,62 @@ + + com.github.eirslett + frontend-maven-plugin + 1.11.3 + + ${nodeVersion} + ${npmVersion} + src/main/webapp/ + + + + install node and npm + + install-node-and-npm + + + + npm install + + npm + + + + prod + + npm + + + run-script build + + generate-resources + + + + + maven-resources-plugin + + + copy-resources + process-resources + + copy-resources + + + ${project.build.directory}/classes/static + + + ${project.basedir}/src/main/webapp/dist/demo + + + + true + + + + -