From f1e9c646787225109f6c7ee66a088889056f89ee Mon Sep 17 00:00:00 2001 From: "Saravanan, Madheswaran" Date: Wed, 7 Nov 2018 18:36:41 -0500 Subject: Bootstrapping hybrid app (Angular v1 and v6) Issue-ID: PORTAL-356 Change-Id: I1ee7f6a51eb71dff2128a112afdefff5776f2ffe Change-Id: I1ee7f6a51eb71dff2128a112afdefff5776f2ffe Signed-off-by: Saravanan, Madheswaran --- ecomp-sdk/epsdk-app-os/pom.xml | 123 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 121 insertions(+), 2 deletions(-) (limited to 'ecomp-sdk/epsdk-app-os/pom.xml') diff --git a/ecomp-sdk/epsdk-app-os/pom.xml b/ecomp-sdk/epsdk-app-os/pom.xml index 21f75af3..7ccc1776 100644 --- a/ecomp-sdk/epsdk-app-os/pom.xml +++ b/ecomp-sdk/epsdk-app-os/pom.xml @@ -41,6 +41,17 @@ ${project.artifactId} + + maven-clean-plugin + 3.0.0 + + + + ${basedir}/ngapp/app/dist + + + + org.apache.maven.plugins maven-surefire-plugin @@ -120,13 +131,120 @@ + + maven-resources-plugin + 2.5 + + + copy-angularjs-step1 + process-resources + + copy-resources + + + ${basedir}/ngapp + + + ../epsdk-app-overlay/src/main/webapp/ngapp + + + + + + + + + com.github.eirslett + frontend-maven-plugin + 1.6 + + + v8.11.3 + 5.6.0 + ${basedir}/ngapp + + + + install node and npm + compile + + install-node-and-npm + + - + + npm install + compile + + npm + + + + + npm run build + compile + + npm + + + + run build + + + + + + + maven-resources-plugin + 2.5 + + + + copy-angular-final-step2 + prepare-package + + copy-resources + + + ${basedir}/target/epsdk-app-os/app + + + ${basedir}/ngapp/dist + + + + + + + + + org.apache.maven.plugins maven-war-plugin - 2.0.2 + 3.2.2 @@ -143,6 +261,7 @@ epsdk-app-overlay + **/ngapp -- cgit 1.2.3-korg