From 1ee339f8d62cef6cfafbbcef78e4bd550c72a812 Mon Sep 17 00:00:00 2001 From: tangpeng Date: Wed, 22 Feb 2017 10:41:00 +0800 Subject: [PATCH] Make zip for holmes-engine Change-Id: Ifabcba34f18b8dc385d72f2832f0dae887f05d1c Issue-Id: HOLMES-45 Signed-off-by: tangpeng --- engine-d-standalone/linux64-assembly.xml | 31 ++++ engine-d-standalone/pom.xml | 298 ++++++++++++++++--------------- engine-d-standalone/win64-assembly.xml | 31 ++++ 3 files changed, 214 insertions(+), 146 deletions(-) create mode 100644 engine-d-standalone/linux64-assembly.xml create mode 100644 engine-d-standalone/win64-assembly.xml diff --git a/engine-d-standalone/linux64-assembly.xml b/engine-d-standalone/linux64-assembly.xml new file mode 100644 index 0000000..4bb9c11 --- /dev/null +++ b/engine-d-standalone/linux64-assembly.xml @@ -0,0 +1,31 @@ + + + linux64 + + zip + + false + + + target/assembly/linux64 + + + + diff --git a/engine-d-standalone/pom.xml b/engine-d-standalone/pom.xml index b6b14e1..dc573d1 100644 --- a/engine-d-standalone/pom.xml +++ b/engine-d-standalone/pom.xml @@ -16,153 +16,159 @@ limitations under the License. --> - - - org.openo.holmes.engine-management - holmes-engine-parent - 1.1.0-SNAPSHOT - + + + org.openo.holmes.engine-management + holmes-engine-parent + 1.1.0-SNAPSHOT + - holmes-engine-d-standalone - 4.0.0 - holmes-engine/holmes-engine-d-standalone - pom + holmes-engine-d-standalone + 4.0.0 + holmes-engine/holmes-engine-d-standalone + pom - - - - maven-resources-plugin - - - copy-resources-${linux64id} - process-resources - - copy-resources - - - ${linux64outputdir} - - - src/main/assembly/ - false - - **/* - - - **/*.bat - - - - true - - - - copy-resources-${win64id} - process-resources - - copy-resources - - - ${win64outputdir} - - - src/main/assembly/ - false - - **/* - - - **/*.sh - - - - true - - - - - - org.apache.maven.plugins - maven-dependency-plugin - - - copy-jar-${linux64id} - - copy - - prepare-package - - - - org.openo.holmes.engine-management - holmes-engine-d - jar - true - ${linux64outputdir} - holmes-engine-d.jar - - - - - - copy-jar-${win64id} - - copy - - prepare-package - - - - org.openo.holmes.engine-management - holmes-engine-d - jar - true - ${win64outputdir} - holmes-engine-d.jar - - - - - - - - org.apache.maven.plugins - maven-antrun-plugin - - - distribution - package - - run - - - - - - - - - - - - - - - - - - - - - - - + + + + maven-resources-plugin + + + copy-resources-${linux64id} + process-resources + + copy-resources + + + ${linux64outputdir} + + + src/main/assembly/ + false + + **/* + + + **/*.bat + + + + true + + + + copy-resources-${win64id} + process-resources + + copy-resources + + + ${win64outputdir} + + + src/main/assembly/ + false + + **/* + + + **/*.sh + + + + true + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + copy-jar-${linux64id} + + copy + + prepare-package + + + + org.openo.holmes.engine-management + holmes-engine-d + jar + true + ${linux64outputdir} + holmes-engine-d.jar + + + + + + copy-jar-${win64id} + + copy + + prepare-package + + + + org.openo.holmes.engine-management + holmes-engine-d + jar + true + ${win64outputdir} + holmes-engine-d.jar + + + + + + + + org.apache.maven.plugins + maven-assembly-plugin + + + linux64 + + + linux64-assembly.xml + + true + target/version + + package + + attached + + + + win64 + + + win64-assembly.xml + + true + target/version + + package + + attached + + + + + + - - - org.openo.holmes.engine-management - holmes-engine-d - ${project.version} - - + + + org.openo.holmes.engine-management + holmes-engine-d + ${project.version} + + diff --git a/engine-d-standalone/win64-assembly.xml b/engine-d-standalone/win64-assembly.xml new file mode 100644 index 0000000..daa3177 --- /dev/null +++ b/engine-d-standalone/win64-assembly.xml @@ -0,0 +1,31 @@ + + + win64 + + zip + + false + + + target/assembly/win64 + + + + -- 2.16.6