Skip to content

Commit

Permalink
refactor assmbly deploy (intel-analytics#5753)
Browse files Browse the repository at this point in the history
  • Loading branch information
Le-Zheng authored and ForJadeForest committed Sep 20, 2022
1 parent 20f773c commit df0789e
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions scala/assembly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>${maven-assembly-plugin.version}</version>
<configuration>
<descriptors>
<descriptor>src/main/assembly/assembly.xml</descriptor>
<descriptor>src/main/assembly/fat-assembly.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>make-dist-all</id>
Expand All @@ -114,6 +108,24 @@
<goals>
<goal>assembly</goal>
</goals>
<configuration>
<descriptors>
<descriptor>src/main/assembly/assembly.xml</descriptor>
</descriptors>
</configuration>
</execution>
<execution>
<id>make-fat-assembly</id>
<inherited>false</inherited>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>src/main/assembly/fat-assembly.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
Expand Down Expand Up @@ -143,7 +155,6 @@
<artifacts>
<artifact>
<file>target/${pom.artifactId}-${pom.version}-dist-all.zip</file>
<file>target/${pom.artifactId}-${pom.version}-fat-jars.zip</file>
<type>zip</type>
</artifact>
</artifacts>
Expand Down

0 comments on commit df0789e

Please sign in to comment.