From ed64b5edff15e702493df21aa3230b81593e6133 Mon Sep 17 00:00:00 2001 From: Michael Lando Date: Fri, 9 Jun 2017 03:19:04 +0300 Subject: [SDC-29] catalog 1707 rebase commit. Change-Id: I43c3dc5cf44abf5da817649bc738938a3e8388c1 Signed-off-by: Michael Lando --- catalog-ui/pom.xml | 386 +++++++++++++++++++++++++++++------------------------ 1 file changed, 210 insertions(+), 176 deletions(-) (limited to 'catalog-ui/pom.xml') diff --git a/catalog-ui/pom.xml b/catalog-ui/pom.xml index 1825fd3f2c..9923a6bfa5 100644 --- a/catalog-ui/pom.xml +++ b/catalog-ui/pom.xml @@ -5,7 +5,7 @@ org.openecomp.sdc catalog-ui - pom + pom @@ -25,165 +25,35 @@ maven-clean-plugin 2.6.1 - - - clean.fe.webapp.folder - initialize - - clean - - + + + clean.fe.webapp.folder + initialize + + clean + + - - - ${project.parent.basedir}/catalog-fe/src/main/webapp - - **/* - * - - - META-INF/* - WEB-INF/* - - false - - - - - + + + ${project.parent.basedir}/catalog-fe/src/main/webapp + + **/* + * + + + META-INF/* + WEB-INF/* + + false + + + + + - - io.wcm.maven.plugins - nodejs-maven-plugin - - - compile - - run - - - - - - - ${project.basedir} - - - ${project.basedir} - bower - - install - - - - ${project.basedir} - grunt - - build - - - - - - - - - maven-resources-plugin 2.7 @@ -198,7 +68,7 @@ ${project.parent.basedir}/catalog-fe/src/main/webapp - ${project.basedir}/app/dist + ${project.basedir}/dist false @@ -206,14 +76,56 @@ + + com.github.eirslett + frontend-maven-plugin + 1.4 + + + + + install node and npm + + install-node-and-npm + + + + v6.9.5 + 3.10.10 + + + + + npm install + + npm + + + + install + + + + + npm run build + + npm + + + run build:prod + + + + + - + - not-minified + CI false @@ -230,27 +142,12 @@ copy-resources + ${project.parent.basedir}/catalog-fe/src/main/webapp - ${project.basedir}/app - - languages/** - scripts/** - styles/** - third-party/** - index.html - robots.txt - favicon.png - - false - - - ${project.basedir} - - bower_components/** - + ${project.basedir}/dist false @@ -258,9 +155,146 @@ + + + + + + + + org.codehaus.mojo + exec-maven-plugin + 1.4.0 + + + + + set.script.permissions + generate-sources + + exec + + + + ${project.basedir} + /bin/chmod + + 755 + ./build_catalog_ui.sh + + + + + + + execute grant build + generate-sources + + exec + + + + ${project.basedir} + ./build_catalog_ui.sh + + + + + + undo.checkout.script + generate-sources + + exec + + + + ${project.basedir} + /usr/bin/git + + checkout + -- + ./build_catalog_ui.sh + + + + + + + + + Fortify + + false + + + + + + com.fortify.ps.maven.plugin + sca-maven-plugin + 4.30 + + 1.8 + ${project.parent.artifactId} + ${project.parent.artifactId} + + + + + + + + not-minified + + false + + + + + + maven-resources-plugin + 2.7 + + + copy-resources + package + + copy-resources + + + ${project.parent.basedir}/catalog-fe/src/main/webapp + + + ${project.basedir}/app + + languages/** + scripts/** + styles/** + third-party/** + index.html + robots.txt + favicon.png + + false + + + ${project.basedir} + + bower_components/** + + false + + + + + + + + + -- cgit 1.2.3-korg