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

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


The following commit(s) were added to refs/heads/dev by this push:
     new cfe50ff0f4 [Fix][UI] Optimize UI package (#9884)
cfe50ff0f4 is described below

commit cfe50ff0f4f4bd50565b5baabbc50f73aa1b89de
Author: zhangdonghao <[email protected]>
AuthorDate: Tue Sep 23 08:21:18 2025 +0800

    [Fix][UI] Optimize UI package (#9884)
---
 seatunnel-engine/seatunnel-engine-ui/pom.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/seatunnel-engine/seatunnel-engine-ui/pom.xml 
b/seatunnel-engine/seatunnel-engine-ui/pom.xml
index 0ac5f9954b..8b1f7a7301 100644
--- a/seatunnel-engine/seatunnel-engine-ui/pom.xml
+++ b/seatunnel-engine/seatunnel-engine-ui/pom.xml
@@ -57,8 +57,6 @@
                             <commandlineArgs>${args.rm.clean} ${dist.dir} 
${nodemodules.dir} ${deployed.dir}</commandlineArgs>
                             <successCodes>
                                 <successCode>0</successCode>
-                                <successCode>1</successCode>
-                                <successCode>2</successCode>
                             </successCodes>
                         </configuration>
                     </execution>
@@ -126,7 +124,9 @@
                 <executable.npm>cmd</executable.npm>
                 <args.npm>/C npm</args.npm>
                 <executable.rmdir>cmd</executable.rmdir>
-                <args.rm.clean>/C rmdir /S /Q</args.rm.clean>
+                <args.rm.clean>/C if exist "${dist.dir}" rmdir /S /Q 
"${dist.dir}" &amp;
+                    if exist "${nodemodules.dir}" rmdir /S /Q 
"${nodemodules.dir}" &amp;
+                    if exist "${deployed.dir}" rmdir /S /Q 
"${deployed.dir}"</args.rm.clean>
                 <executable.shell>cmd</executable.shell>
                 <fileextension.shell>cmd</fileextension.shell>
                 <args.shell>/C</args.shell>
@@ -151,7 +151,7 @@
                 <executable.npm>npm</executable.npm>
                 <args.npm />
                 <executable.rmdir>rm</executable.rmdir>
-                <args.rm.clean>-rf</args.rm.clean>
+                <args.rm.clean>-rf ${dist.dir} ${nodemodules.dir} 
${deployed.dir}</args.rm.clean>
                 <executable.shell>sh</executable.shell>
                 <fileextension.shell>sh</fileextension.shell>
                 <args.shell />

Reply via email to