Skip to content

Commit

Permalink
split assembly (intel-analytics#5564)
Browse files Browse the repository at this point in the history
* split assembly

* update

* update
  • Loading branch information
Le-Zheng authored and ForJadeForest committed Sep 20, 2022
1 parent ae6bdec commit 7e152ad
Show file tree
Hide file tree
Showing 3 changed files with 120 additions and 30 deletions.
4 changes: 2 additions & 2 deletions scala/assembly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@
<version>${maven-assembly-plugin.version}</version>
<configuration>
<descriptors>
<descriptor>src/main/assembly/assembly.xml
</descriptor>
<descriptor>src/main/assembly/assembly.xml</descriptor>
<descriptor>src/main/assembly/fat-assembly.xml</descriptor>
</descriptors>
</configuration>
<executions>
Expand Down
28 changes: 0 additions & 28 deletions scala/assembly/src/main/assembly/assembly.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,34 +120,6 @@
<include>/**</include>
</includes>
</fileSet>
<fileSet>
<outputDirectory>/assembly</outputDirectory>
<directory>${project.parent.basedir}/dllib/target</directory>
<includes>
<include>bigdl-dllib*-jar-with-dependencies.jar</include>
</includes>
</fileSet>
<fileSet>
<outputDirectory>/assembly</outputDirectory>
<directory>${project.parent.basedir}/orca/target</directory>
<includes>
<include>bigdl-orca*-jar-with-dependencies.jar</include>
</includes>
</fileSet>
<fileSet>
<outputDirectory>/assembly</outputDirectory>
<directory>${project.parent.basedir}/friesian/target</directory>
<includes>
<include>bigdl-friesian*-jar-with-dependencies.jar</include>
</includes>
</fileSet>
<fileSet>
<outputDirectory>/assembly</outputDirectory>
<directory>${project.parent.basedir}/ppml/target</directory>
<includes>
<include>bigdl-ppml*-jar-with-dependencies.jar</include>
</includes>
</fileSet>
<fileSet>
<outputDirectory>/python</outputDirectory>
<directory>${project.parent.basedir}/../python/ppml/scripts</directory>
Expand Down
118 changes: 118 additions & 0 deletions scala/assembly/src/main/assembly/fat-assembly.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
<id>fat-jars</id>
<formats>
<format>dir</format>
<format>zip</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
<fileSet>
<outputDirectory>/conf</outputDirectory>
<directory>${project.parent.basedir}/dllib/src/main/resources</directory>
<includes>
<include>spark-bigdl.conf</include>
</includes>
</fileSet>
<fileSet>
<outputDirectory>/bin</outputDirectory>
<directory>${project.parent.basedir}/../scripts</directory>
<includes>
<include>*with-dllib.sh</include>
</includes>
</fileSet>
<fileSet>
<outputDirectory>/apps</outputDirectory>
<directory>${project.parent.basedir}/../apps</directory>
<includes>
<include>**/*</include>
</includes>
</fileSet>
<fileSet>
<outputDirectory>/python</outputDirectory>
<directory>${project.parent.basedir}/dllib/target</directory>
<includes>
<include>bigdl-dllib*-python-api.zip</include>
</includes>
</fileSet>
<fileSet>
<outputDirectory>/python</outputDirectory>
<directory>${project.parent.basedir}/orca/target</directory>
<includes>
<include>bigdl-orca*-python-api.zip</include>
</includes>
</fileSet>
<fileSet>
<outputDirectory>/python</outputDirectory>
<directory>${project.parent.basedir}/friesian/target</directory>
<includes>
<include>bigdl-friesian*-python-api.zip</include>
</includes>
</fileSet>
<fileSet>
<outputDirectory>/python</outputDirectory>
<directory>${project.parent.basedir}/target</directory>
<includes>
<include>bigdl*-python-api.zip</include>
</includes>
</fileSet>
<fileSet>
<outputDirectory>/examples/dllib</outputDirectory>
<directory>${project.parent.basedir}/../python/dllib/examples</directory>
<includes>
<include>/**</include>
</includes>
</fileSet>
<fileSet>
<outputDirectory>/examples/orca</outputDirectory>
<directory>${project.parent.basedir}/../python/orca/example</directory>
<includes>
<include>/**</include>
</includes>
</fileSet>
<fileSet>
<outputDirectory>/examples/chronos</outputDirectory>
<directory>${project.parent.basedir}/../python/chronos/example</directory>
<includes>
<include>/**</include>
</includes>
</fileSet>
<fileSet>
<outputDirectory>/examples/friesian</outputDirectory>
<directory>${project.parent.basedir}/../python/friesian/example</directory>
<includes>
<include>/**</include>
</includes>
</fileSet>
<fileSet>
<outputDirectory>/</outputDirectory>
<directory>${project.parent.basedir}/tpp</directory>
<includes>
<include>/**</include>
</includes>
</fileSet>
<fileSet>
<outputDirectory>/jars</outputDirectory>
<directory>${project.parent.basedir}/dllib/target</directory>
<includes>
<include>bigdl-dllib*-jar-with-dependencies.jar</include>
</includes>
</fileSet>
<fileSet>
<outputDirectory>/jars</outputDirectory>
<directory>${project.parent.basedir}/orca/target</directory>
<includes>
<include>bigdl-orca*-jar-with-dependencies.jar</include>
</includes>
</fileSet>
<fileSet>
<outputDirectory>/jars</outputDirectory>
<directory>${project.parent.basedir}/friesian/target</directory>
<includes>
<include>bigdl-friesian*-jar-with-dependencies.jar</include>
</includes>
</fileSet>
</fileSets>
</assembly>

0 comments on commit 7e152ad

Please sign in to comment.