Skip to content

Commit

Permalink
bigdl all in one jar (#5703)
Browse files Browse the repository at this point in the history
* bigdl all in one jar

* update
  • Loading branch information
Le-Zheng authored Sep 9, 2022
1 parent df3651b commit b035e30
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 17 deletions.
20 changes: 19 additions & 1 deletion scala/assembly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>

<artifactId>bigdl-assembly-spark_${spark.version}</artifactId>
<packaging>pom</packaging>
<packaging>jar</packaging>

<properties>
<bigdl.basedir>${project.parent.basedir}</bigdl.basedir>
Expand Down Expand Up @@ -149,6 +149,24 @@
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>without-spark</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>jar-with-dependencies</shadedClassifierName>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down
18 changes: 2 additions & 16 deletions scala/assembly/src/main/assembly/fat-assembly.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,23 +94,9 @@
</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>
<directory>${project.parent.basedir}/assembly/target</directory>
<includes>
<include>bigdl-friesian*-jar-with-dependencies.jar</include>
<include>bigdl-assembly*-jar-with-dependencies.jar</include>
</includes>
</fileSet>
</fileSets>
Expand Down

0 comments on commit b035e30

Please sign in to comment.