From 7e152ad2c0eb0e950ea95fe8fc695dc4473ee8bb Mon Sep 17 00:00:00 2001
From: Le-Zheng <30695225+Le-Zheng@users.noreply.github.com>
Date: Fri, 2 Sep 2022 11:19:09 +0800
Subject: [PATCH] split assembly (#5564)
* split assembly
* update
* update
---
scala/assembly/pom.xml | 4 +-
scala/assembly/src/main/assembly/assembly.xml | 28 -----
.../src/main/assembly/fat-assembly.xml | 118 ++++++++++++++++++
3 files changed, 120 insertions(+), 30 deletions(-)
create mode 100644 scala/assembly/src/main/assembly/fat-assembly.xml
diff --git a/scala/assembly/pom.xml b/scala/assembly/pom.xml
index 804cfd74015..fedafa30bc1 100644
--- a/scala/assembly/pom.xml
+++ b/scala/assembly/pom.xml
@@ -102,8 +102,8 @@
${maven-assembly-plugin.version}
- src/main/assembly/assembly.xml
-
+ src/main/assembly/assembly.xml
+ src/main/assembly/fat-assembly.xml
diff --git a/scala/assembly/src/main/assembly/assembly.xml b/scala/assembly/src/main/assembly/assembly.xml
index 6d25a4f692b..6c10473bad7 100644
--- a/scala/assembly/src/main/assembly/assembly.xml
+++ b/scala/assembly/src/main/assembly/assembly.xml
@@ -120,34 +120,6 @@
/**
-
- /assembly
- ${project.parent.basedir}/dllib/target
-
- bigdl-dllib*-jar-with-dependencies.jar
-
-
-
- /assembly
- ${project.parent.basedir}/orca/target
-
- bigdl-orca*-jar-with-dependencies.jar
-
-
-
- /assembly
- ${project.parent.basedir}/friesian/target
-
- bigdl-friesian*-jar-with-dependencies.jar
-
-
-
- /assembly
- ${project.parent.basedir}/ppml/target
-
- bigdl-ppml*-jar-with-dependencies.jar
-
-
/python
${project.parent.basedir}/../python/ppml/scripts
diff --git a/scala/assembly/src/main/assembly/fat-assembly.xml b/scala/assembly/src/main/assembly/fat-assembly.xml
new file mode 100644
index 00000000000..9cc69da14b3
--- /dev/null
+++ b/scala/assembly/src/main/assembly/fat-assembly.xml
@@ -0,0 +1,118 @@
+
+ fat-jars
+
+ dir
+ zip
+
+ false
+
+
+ /conf
+ ${project.parent.basedir}/dllib/src/main/resources
+
+ spark-bigdl.conf
+
+
+
+ /bin
+ ${project.parent.basedir}/../scripts
+
+ *with-dllib.sh
+
+
+
+ /apps
+ ${project.parent.basedir}/../apps
+
+ **/*
+
+
+
+ /python
+ ${project.parent.basedir}/dllib/target
+
+ bigdl-dllib*-python-api.zip
+
+
+
+ /python
+ ${project.parent.basedir}/orca/target
+
+ bigdl-orca*-python-api.zip
+
+
+
+ /python
+ ${project.parent.basedir}/friesian/target
+
+ bigdl-friesian*-python-api.zip
+
+
+
+ /python
+ ${project.parent.basedir}/target
+
+ bigdl*-python-api.zip
+
+
+
+ /examples/dllib
+ ${project.parent.basedir}/../python/dllib/examples
+
+ /**
+
+
+
+ /examples/orca
+ ${project.parent.basedir}/../python/orca/example
+
+ /**
+
+
+
+ /examples/chronos
+ ${project.parent.basedir}/../python/chronos/example
+
+ /**
+
+
+
+ /examples/friesian
+ ${project.parent.basedir}/../python/friesian/example
+
+ /**
+
+
+
+ /
+ ${project.parent.basedir}/tpp
+
+ /**
+
+
+
+ /jars
+ ${project.parent.basedir}/dllib/target
+
+ bigdl-dllib*-jar-with-dependencies.jar
+
+
+
+ /jars
+ ${project.parent.basedir}/orca/target
+
+ bigdl-orca*-jar-with-dependencies.jar
+
+
+
+ /jars
+ ${project.parent.basedir}/friesian/target
+
+ bigdl-friesian*-jar-with-dependencies.jar
+
+
+
+
+