You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampark.apache.org by be...@apache.org on 2022/12/15 13:37:31 UTC

[incubator-streampark] branch assembly created (now 2412b0671)

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

benjobs pushed a change to branch assembly
in repository https://gitbox.apache.org/repos/asf/incubator-streampark.git


      at 2412b0671 [Improve] assembly plugin improvement

This branch includes the following new commits:

     new 2412b0671 [Improve] assembly plugin improvement

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[incubator-streampark] 01/01: [Improve] assembly plugin improvement

Posted by be...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

benjobs pushed a commit to branch assembly
in repository https://gitbox.apache.org/repos/asf/incubator-streampark.git

commit 2412b067137336013d77f502b52ffc83c434dbd2
Author: benjobs <be...@apache.org>
AuthorDate: Thu Dec 15 21:37:16 2022 +0800

    [Improve] assembly plugin improvement
---
 .../streampark-console-service/pom.xml             | 40 +++++++++++++---------
 .../src/assembly/assembly.xml                      |  2 +-
 2 files changed, 25 insertions(+), 17 deletions(-)

diff --git a/streampark-console/streampark-console-service/pom.xml b/streampark-console/streampark-console-service/pom.xml
index 2dd9268bc..b5a5b02a4 100644
--- a/streampark-console/streampark-console-service/pom.xml
+++ b/streampark-console/streampark-console-service/pom.xml
@@ -539,26 +539,29 @@
                     </plugin>
 
                     <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
                         <artifactId>maven-assembly-plugin</artifactId>
                         <version>3.1.1</version>
-                        <configuration>
-                            <tarLongFileMode>gnu</tarLongFileMode>
-                            <appendAssemblyId>false</appendAssemblyId>
-                            <descriptors>
-                                <descriptor>${project.basedir}/src/assembly/assembly.xml</descriptor>
-                            </descriptors>
-                        </configuration>
                         <executions>
                             <execution>
-                                <id>make-assembly</id>
+                                <id>dist</id>
                                 <phase>package</phase>
                                 <goals>
                                     <goal>single</goal>
                                 </goals>
+                                <configuration>
+                                    <tarLongFileMode>gnu</tarLongFileMode>
+                                    <appendAssemblyId>false</appendAssemblyId>
+                                    <skipAssembly>false</skipAssembly>
+                                    <attach>false</attach>
+                                    <finalName>apache-streampark_${scala.binary.version}-${project.version}-incubating-bin</finalName>
+                                    <descriptors>
+                                        <descriptor>${project.basedir}/src/assembly/assembly.xml</descriptor>
+                                    </descriptors>
+                                </configuration>
                             </execution>
                         </executions>
                     </plugin>
-
                 </plugins>
             </build>
         </profile>
@@ -616,21 +619,26 @@
                     </plugin>
 
                     <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
                         <artifactId>maven-assembly-plugin</artifactId>
                         <version>3.1.1</version>
-                        <configuration>
-                            <appendAssemblyId>false</appendAssemblyId>
-                            <descriptors>
-                                <descriptor>${project.basedir}/src/assembly/assembly.xml</descriptor>
-                            </descriptors>
-                        </configuration>
                         <executions>
                             <execution>
-                                <id>make-assembly</id>
+                                <id>dist</id>
                                 <phase>package</phase>
                                 <goals>
                                     <goal>single</goal>
                                 </goals>
+                                <configuration>
+                                    <tarLongFileMode>gnu</tarLongFileMode>
+                                    <appendAssemblyId>false</appendAssemblyId>
+                                    <skipAssembly>false</skipAssembly>
+                                    <attach>false</attach>
+                                    <finalName>apache-streampark_${scala.binary.version}-${project.version}-incubating-bin</finalName>
+                                    <descriptors>
+                                        <descriptor>${project.basedir}/src/assembly/assembly.xml</descriptor>
+                                    </descriptors>
+                                </configuration>
                             </execution>
                         </executions>
                     </plugin>
diff --git a/streampark-console/streampark-console-service/src/assembly/assembly.xml b/streampark-console/streampark-console-service/src/assembly/assembly.xml
index fe0afc2bd..553c64fa5 100644
--- a/streampark-console/streampark-console-service/src/assembly/assembly.xml
+++ b/streampark-console/streampark-console-service/src/assembly/assembly.xml
@@ -20,7 +20,7 @@
         <format>tar.gz</format>
     </formats>
     <includeBaseDirectory>true</includeBaseDirectory>
-    <baseDirectory>${project.build.finalName}_${scala.binary.version}-bin</baseDirectory>
+    <baseDirectory>apache-streampark_${scala.binary.version}-${project.version}-bin</baseDirectory>
 
     <dependencySets>
         <dependencySet>