You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by ki...@apache.org on 2022/01/17 15:25:48 UTC

[incubator-seatunnel] branch dev updated: [SeaTunnel#1021] make maven-shade-plugin only applied to core modules (#1022)

This is an automated email from the ASF dual-hosted git repository.

kirs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-seatunnel.git


The following commit(s) were added to refs/heads/dev by this push:
     new e0c7fa9  [SeaTunnel#1021] make maven-shade-plugin only applied to core modules (#1022)
e0c7fa9 is described below

commit e0c7fa9a2cf05530630764ac1c6899c1cbd1bda4
Author: CenterCode <yx...@users.noreply.github.com>
AuthorDate: Mon Jan 17 23:25:43 2022 +0800

    [SeaTunnel#1021] make maven-shade-plugin only applied to core modules (#1022)
---
 pom.xml                                     |  5 -----
 seatunnel-core/seatunnel-core-flink/pom.xml |  6 ++++++
 seatunnel-core/seatunnel-core-spark/pom.xml |  6 ++++++
 seatunnel-core/seatunnel-core-sql/pom.xml   | 11 +++++++++++
 4 files changed, 23 insertions(+), 5 deletions(-)

diff --git a/pom.xml b/pom.xml
index c9dc72c..15c5aa1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -791,11 +791,6 @@
 
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-shade-plugin</artifactId>
-            </plugin>
-
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-surefire-plugin</artifactId>
             </plugin>
 
diff --git a/seatunnel-core/seatunnel-core-flink/pom.xml b/seatunnel-core/seatunnel-core-flink/pom.xml
index bbb819a..213edb8 100644
--- a/seatunnel-core/seatunnel-core-flink/pom.xml
+++ b/seatunnel-core/seatunnel-core-flink/pom.xml
@@ -124,6 +124,12 @@
 
     <build>
         <finalName>${project.name}</finalName>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-shade-plugin</artifactId>
+            </plugin>
+        </plugins>
     </build>
 
     <profiles>
diff --git a/seatunnel-core/seatunnel-core-spark/pom.xml b/seatunnel-core/seatunnel-core-spark/pom.xml
index bde5f98..b8ac55e 100644
--- a/seatunnel-core/seatunnel-core-spark/pom.xml
+++ b/seatunnel-core/seatunnel-core-spark/pom.xml
@@ -175,6 +175,12 @@
 
     <build>
         <finalName>${project.name}</finalName>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-shade-plugin</artifactId>
+            </plugin>
+        </plugins>
     </build>
 
     <profiles>
diff --git a/seatunnel-core/seatunnel-core-sql/pom.xml b/seatunnel-core/seatunnel-core-sql/pom.xml
index 53c46ee..db70c43 100644
--- a/seatunnel-core/seatunnel-core-sql/pom.xml
+++ b/seatunnel-core/seatunnel-core-sql/pom.xml
@@ -71,4 +71,15 @@
             <artifactId>junit</artifactId>
         </dependency>
     </dependencies>
+
+    <build>
+        <finalName>${project.name}</finalName>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-shade-plugin</artifactId>
+            </plugin>
+        </plugins>
+    </build>
+
 </project>