From fa0950ed0c750ab307042cc1f66e5cd252be1ae2 Mon Sep 17 00:00:00 2001 From: huangjian Date: Tue, 20 Sep 2016 19:26:42 +0800 Subject: Output Linux distribution package Change-Id: Ibb7c081f2ea3379817d1c54ea0d30349aba25a12 Issue-id: OCS-57 Signed-off-by: huangjian --- .../wso2bpel-core/distribution/standalone/pom.xml | 127 +++++++++++++-------- .../wso2bpel-parent/wso2bpelparent-lite/pom.xml | 23 +++- 2 files changed, 102 insertions(+), 48 deletions(-) diff --git a/wso2bpel-ext/wso2bpel-core/distribution/standalone/pom.xml b/wso2bpel-ext/wso2bpel-core/distribution/standalone/pom.xml index af35250..efc892c 100644 --- a/wso2bpel-ext/wso2bpel-core/distribution/standalone/pom.xml +++ b/wso2bpel-ext/wso2bpel-core/distribution/standalone/pom.xml @@ -1,3 +1,4 @@ + + openo/commonservice/commonutilities/distribution/standalone pom - openo-commonservice-commonutilities + openo-commonservice-commonutilities-wso2bpel-ext + linux64 + win64 + target/assembly/${linux64id} + target/assembly/${win64id} + target/version @@ -37,13 +43,13 @@ maven-resources-plugin - copy-resources + copy-resources-${linux64id} process-resources copy-resources - ${basedir}/target/assembly/ + ${linux64outputdir} src/main/assembly/ @@ -51,6 +57,32 @@ **/* + + **/*.bat + + + + true + + + + copy-resources-${win64id} + process-resources + + copy-resources + + + ${win64outputdir} + + + src/main/assembly/ + false + + **/* + + + **/*.sh + true @@ -63,7 +95,7 @@ maven-dependency-plugin - copy-jar + copy-jar-${linux64id} copy @@ -75,66 +107,69 @@ wso2bpel-mgr jar true - target/assembly/ + ${linux64outputdir} wso2bpel-service.jar - - - - org.apache.maven.plugins - maven-antrun-plugin - - zip - package + copy-jar-${win64id} - run + copy + prepare-package - - - - - - - - - - - - - - - - - - - - + + + org.openo.common-services.common-utilities + wso2bpel-mgr + jar + true + ${win64outputdir} + wso2bpel-service.jar + + - org.codehaus.mojo - build-helper-maven-plugin + org.apache.maven.plugins + maven-antrun-plugin - attach-artifacts + distribution package - attach-artifact + run - - - target/${packagename}-${project.version}.zip - zip - - + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/wso2bpel-ext/wso2bpel-parent/wso2bpelparent-lite/pom.xml b/wso2bpel-ext/wso2bpel-parent/wso2bpelparent-lite/pom.xml index 4dc3709..739cd76 100644 --- a/wso2bpel-ext/wso2bpel-parent/wso2bpelparent-lite/pom.xml +++ b/wso2bpel-ext/wso2bpel-parent/wso2bpelparent-lite/pom.xml @@ -1,3 +1,4 @@ + + openo/commonservice/commonutilities/wso2bpelparent-lite pom @@ -38,6 +39,20 @@ lifecycle-mapping 1.0.0 + + org.apache.maven.plugins + maven-compiler-plugin + 3.3 + + true + true + 1.7 + 1.7 + 1.7 + UTF-8 + true + + org.apache.maven.plugins maven-jar-plugin @@ -96,6 +111,10 @@ license-maven-plugin 3.0.rc1 + + maven-antrun-plugin + 1.8 + -- cgit 1.2.3-korg