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

nicholasjiang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/paimon-webui.git


The following commit(s) were added to refs/heads/main by this push:
     new 774e1912 [Improvement] Optimize packaging (#520)
774e1912 is described below

commit 774e19120f4f6d381663e60f36a8ef9c73e0f02c
Author: yangyang zhong <[email protected]>
AuthorDate: Tue Aug 13 21:08:24 2024 +0800

    [Improvement] Optimize packaging (#520)
---
 paimon-web-dist/src/main/assembly/paimon-web-bin.xml      | 4 ++++
 paimon-web-server/pom.xml                                 | 7 -------
 paimon-web-server/src/main/assembly/paimon-web-server.xml | 4 ----
 3 files changed, 4 insertions(+), 11 deletions(-)

diff --git a/paimon-web-dist/src/main/assembly/paimon-web-bin.xml 
b/paimon-web-dist/src/main/assembly/paimon-web-bin.xml
index d98699ba..7b8c156d 100644
--- a/paimon-web-dist/src/main/assembly/paimon-web-bin.xml
+++ b/paimon-web-dist/src/main/assembly/paimon-web-bin.xml
@@ -30,6 +30,10 @@
             
<directory>${basedir}/../paimon-web-server/target/paimon-web-server</directory>
             <outputDirectory>.</outputDirectory>
         </fileSet>
+        <fileSet>
+            <directory>${basedir}/../paimon-web-ui/dist</directory>
+            <outputDirectory>./ui</outputDirectory>
+        </fileSet>
         <fileSet>
             <directory>${basedir}/../script/sql</directory>
             <outputDirectory>conf/sql</outputDirectory>
diff --git a/paimon-web-server/pom.xml b/paimon-web-server/pom.xml
index 9bd9c433..941bc742 100644
--- a/paimon-web-server/pom.xml
+++ b/paimon-web-server/pom.xml
@@ -283,13 +283,6 @@ under the License.
                     <exclude>static/**</exclude>
                 </excludes>
             </resource>
-            <resource>
-                
<directory>${project.basedir}/../paimon-web-ui/dist/</directory>
-                <includes>
-                    <include>**</include>
-                </includes>
-                <targetPath>ui</targetPath>
-            </resource>
             <resource>
                 <filtering>false</filtering>
                 <directory>src/main/resources</directory>
diff --git a/paimon-web-server/src/main/assembly/paimon-web-server.xml 
b/paimon-web-server/src/main/assembly/paimon-web-server.xml
index 0a35f442..9ce12f30 100644
--- a/paimon-web-server/src/main/assembly/paimon-web-server.xml
+++ b/paimon-web-server/src/main/assembly/paimon-web-server.xml
@@ -42,10 +42,6 @@ under the License.
                 <include>**/*.properties</include>
             </includes>
         </fileSet>
-        <fileSet>
-            <directory>${basedir}/../paimon-web-ui/dist</directory>
-            <outputDirectory>./ui</outputDirectory>
-        </fileSet>
         <fileSet>
             <directory>${basedir}/../scripts</directory>
             <outputDirectory>./scripts</outputDirectory>

Reply via email to