From 3745bc06015df645d700c03d7ccbf221fedacc15 Mon Sep 17 00:00:00 2001 From: "koo.taejin" Date: Mon, 20 Jun 2016 18:05:59 +0900 Subject: [PATCH] Integrating Grunt's build into an existing Maven build. #1843 --- web/pom.xml | 44 +++++++++++++++++++++++++++++++------------- 1 file changed, 31 insertions(+), 13 deletions(-) diff --git a/web/pom.xml b/web/pom.xml index ac3d17b2f..bbf6b02da 100644 --- a/web/pom.xml +++ b/web/pom.xml @@ -14,7 +14,6 @@ 1.7 ${env.JAVA_7_HOME} - ${maven.build.timestamp} yyyyMMddHHmmss java17 @@ -348,11 +347,7 @@ true - true - src/main/webapp - - **/*.html - + target/main/webapp @@ -399,18 +394,41 @@ + + org.apache.maven.plugins + maven-antrun-plugin + 1.8 + + + prepare-grunt + + run + + generate-resources + + + + + + + + + + + + + + + com.github.eirslett frontend-maven-plugin 1.0 - ${basedir}/src - ${basedir}/src/main/webapp - ${basedir}/src/main/webapp - - ${project.basedir}/src/Gruntfile.js - ${project.basedir}/src/package.json - + ${basedir}/target + ${basedir}/target/main/webapp + ${basedir}/target/main/webapp + target