From 23ade91cd5c18af93a6fc529f003b124fb6d0a6a Mon Sep 17 00:00:00 2001 From: YuanHu Date: Tue, 13 Feb 2018 11:22:10 +0800 Subject: Setup and Publish Backend Service. Setup backend service with dropwizard application framework. Integrate backend with frontend to one micro-service. Issue-ID: SDC-408 Change-Id: Ia6949302ee7c7ad6a4ce31e263f6a38183adfee3 Signed-off-by: YuanHu --- distribution/pom.xml | 241 +++++++++++++++++++++++++-------------------------- 1 file changed, 117 insertions(+), 124 deletions(-) (limited to 'distribution/pom.xml') diff --git a/distribution/pom.xml b/distribution/pom.xml index cf85df22..6b15fd2f 100644 --- a/distribution/pom.xml +++ b/distribution/pom.xml @@ -16,7 +16,7 @@ org.onap.sdc.sdc-workflow-designer sdc-workflow-designer - 1.0.0 + 1.1.0-SNAPSHOT 4.0.0 @@ -26,53 +26,60 @@ pom - sdc-workflow-designer + sdc-workflow-designer + sdc-workflow-designer.jar + src/main/assembly + src/main/docker linux64 win64 - target/assembly/${linux64id} - target/assembly/${win64id} + target/assembly/linux64 + target/assembly/win64 target/version + target - - - - org.apache.maven.plugins - maven-dependency-plugin + + + + + maven-assembly-plugin + + + + org.onap.sdc.workflowdesigner.WorkflowDesignerApp + + + + jar-with-dependencies + + - unpack-tomcat-to-temporary-dir - generate-resources + assembly-ui-and-backend + process-sources - unpack + single - - - - org.apache.tomcat - tomcat - zip - target/tomcat - - - + + maven-resources-plugin - copy-resources-${linux64id} + copy-assembly-and-jar-${linux64id} process-resources copy-resources ${linux64outputdir} + true - src/main/assembly/ + ${src.assembly} false **/* @@ -81,64 +88,35 @@ **/*.bat - - true - - - - - copy-tomcat-resources-${linux64id} - process-resources - - copy-resources - - - ${linux64outputdir}/tomcat - - ${basedir}/target/tomcat/apache-tomcat-${tomcat.version} - - **/* - - - **/*.bat - - - - - - - - copy-workflow-designer-resources-${linux64id} - process-resources - - copy-resources - - - ${linux64outputdir}/tomcat/webapps/ROOT - - - ${basedir}/../sdc-workflow-designer-ui/dist + ${target.dir} + false - **/* + *.jar - true - + + + + + + maven-resources-plugin + - copy-resources-${win64id} + copy-assembly-and-jar-${win64id} process-resources copy-resources ${win64outputdir} + true - src/main/assembly/ + ${src.assembly} false **/* @@ -147,76 +125,50 @@ **/*.sh - - true - - - - - copy-tomcat-resources-${win64id} - process-resources - - copy-resources - - - ${win64outputdir}/tomcat - - ${basedir}/target/tomcat/apache-tomcat-${tomcat.version} + ${target.dir} + false - **/* + *.jar - - **/*.sh - - + + + + + + com.coderplus.maven.plugins + copy-rename-maven-plugin + - copy-workflow-designer-resources-${win64id} + rename-jar-name-${linux64id} process-resources - copy-resources + rename - ${win64outputdir}/tomcat/webapps/ROOT - - - ${basedir}/../sdc-workflow-designer-ui/dist - - **/* - - - - true + ${linux64outputdir}/${project.name}-${project.version}-jar-with-dependencies.jar + ${linux64outputdir}/${project.jar} - - - copy-dockerfile + + rename-jar-name-${win64id} process-resources - copy-resources + rename - ${version.output} - - - src/main/assembly/ - false - - Dockerfile - - - - true + ${win64outputdir}/${project.name}-${project.version}-jar-with-dependencies.jar + ${win64outputdir}/${project.jar} - + + org.apache.maven.plugins maven-antrun-plugin @@ -229,28 +181,55 @@ - - + + - + - - - + + + - + + + + + maven-resources-plugin + + + copy-dockerfile + package + + copy-resources + + + ${version.output} + + + ${src.docker} + false + + Dockerfile + + + + true + + + + - - + + docker @@ -298,5 +277,19 @@ - + + + + org.onap.sdc.sdc-workflow-designer + sdc-workflow-designer-server + ${project.version} + + + + org.onap.sdc.sdc-workflow-designer + sdc-workflow-designer-ui + ${project.version} + + + -- cgit 1.2.3-korg