You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by ga...@apache.org on 2022/09/23 07:02:10 UTC

[incubator-seatunnel] branch dev updated: [Binary-Package]The release binary package should contain seatunnel-starter (#2842)

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

gaojun2048 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 76bccbd8c [Binary-Package]The release binary package should contain seatunnel-starter (#2842)
76bccbd8c is described below

commit 76bccbd8c80585803022320a7c9b27494e82b1c4
Author: Kirs <ki...@apache.org>
AuthorDate: Fri Sep 23 15:02:02 2022 +0800

    [Binary-Package]The release binary package should contain seatunnel-starter (#2842)
    
    * [Binary-Package]The releads binary package should contain seatunnel-starter
    
    * add connector-v2 to package
    
    * Update pom.xml
---
 pom.xml                                           |  2 +-
 seatunnel-dist/pom.xml                            | 34 +++++++++++++++++++++++
 seatunnel-dist/src/main/assembly/assembly-bin.xml | 15 ++++++++++
 3 files changed, 50 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 4233ebcbf..e54d67d69 100644
--- a/pom.xml
+++ b/pom.xml
@@ -82,6 +82,7 @@
         <module>seatunnel-core</module>
         <module>seatunnel-transforms</module>
         <module>seatunnel-connectors</module>
+        <module>seatunnel-connectors-v2</module>
         <module>seatunnel-api</module>
         <module>seatunnel-translation</module>
         <module>seatunnel-plugin-discovery</module>
@@ -101,7 +102,6 @@
                 </property>
             </activation>
             <modules>
-                <module>seatunnel-connectors-v2</module>
                 <module>seatunnel-examples</module>
                 <module>seatunnel-e2e</module>
             </modules>
diff --git a/seatunnel-dist/pom.xml b/seatunnel-dist/pom.xml
index b9def6bc7..17a18a3bb 100644
--- a/seatunnel-dist/pom.xml
+++ b/seatunnel-dist/pom.xml
@@ -570,6 +570,40 @@
                     <value>true</value>
                 </property>
             </activation>
+            <dependencies>
+                <!-- starters -->
+                <dependency>
+                    <groupId>org.apache.seatunnel</groupId>
+                    <artifactId>seatunnel-flink-starter</artifactId>
+                    <version>${project.version}</version>
+                    <scope>provided</scope>
+                </dependency>
+                <dependency>
+                    <groupId>org.apache.seatunnel</groupId>
+                    <artifactId>seatunnel-spark-starter</artifactId>
+                    <version>${project.version}</version>
+                    <scope>provided</scope>
+                </dependency>
+                <dependency>
+                    <groupId>org.apache.seatunnel</groupId>
+                    <artifactId>seatunnel-core-flink</artifactId>
+                    <version>${project.version}</version>
+                    <scope>provided</scope>
+                </dependency>
+                <dependency>
+                    <groupId>org.apache.seatunnel</groupId>
+                    <artifactId>seatunnel-core-flink-sql</artifactId>
+                    <version>${project.version}</version>
+                    <scope>provided</scope>
+                </dependency>
+                <dependency>
+                    <groupId>org.apache.seatunnel</groupId>
+                    <artifactId>seatunnel-core-spark</artifactId>
+                    <version>${project.version}</version>
+                    <scope>provided</scope>
+                </dependency>
+
+            </dependencies>
             <build>
                 <plugins>
                     <plugin>
diff --git a/seatunnel-dist/src/main/assembly/assembly-bin.xml b/seatunnel-dist/src/main/assembly/assembly-bin.xml
index 2aafdd6ae..16f5aefe4 100644
--- a/seatunnel-dist/src/main/assembly/assembly-bin.xml
+++ b/seatunnel-dist/src/main/assembly/assembly-bin.xml
@@ -60,6 +60,17 @@
             <outputDirectory>/bin</outputDirectory>
             <fileMode>0755</fileMode>
         </fileSet>
+        <!--connector starter v2-->
+        <fileSet>
+            <directory>../seatunnel-core/seatunnel-flink-starter/src/main/bin</directory>
+            <outputDirectory>/bin</outputDirectory>
+            <fileMode>0755</fileMode>
+        </fileSet>
+        <fileSet>
+            <directory>../seatunnel-core/seatunnel-spark-starter/src/main/bin</directory>
+            <outputDirectory>/bin</outputDirectory>
+            <fileMode>0755</fileMode>
+        </fileSet>
 
         <fileSet>
             <directory>${project.build.directory}/bin</directory>
@@ -122,6 +133,10 @@
                 <include>org.apache.seatunnel:seatunnel-core-flink-sql:jar</include>
                 <!-- Spark starter -->
                 <include>org.apache.seatunnel:seatunnel-core-spark:jar</include>
+                <!-- Flink V2 starter -->
+                <include>org.apache.seatunnel:seatunnel-flink-starter:jar</include>
+                <!-- Spark V2 starter -->
+                <include>org.apache.seatunnel:seatunnel-spark-starter:jar</include>
             </includes>
             <outputFileNameMapping>${artifact.file.name}</outputFileNameMapping>
             <outputDirectory>/lib</outputDirectory>