You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by fe...@apache.org on 2022/12/30 11:56:49 UTC

[kyuubi] branch master updated: [KYUUBI #4050] [BUILD] Suppress warnning of the maven-antrun-plugin echo

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

feiwang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kyuubi.git


The following commit(s) were added to refs/heads/master by this push:
     new 05e400dff [KYUUBI #4050] [BUILD] Suppress warnning of the maven-antrun-plugin echo
05e400dff is described below

commit 05e400dff0d17059e5cee673e72d852eba0dcd18
Author: Yikf <yi...@gmail.com>
AuthorDate: Fri Dec 30 19:56:42 2022 +0800

    [KYUUBI #4050] [BUILD] Suppress warnning of the maven-antrun-plugin echo
    
    ### _Why are the changes needed?_
    
    This pr aims to suppress warnning of the maven-antrun-plugin echo;
    
    before:
    ```log
    [WARNING]      [echo] unpacking netty jar
    [WARNING]      [echo] renaming netty native libraries
    [WARNING]      [echo] deleting META-INF/native-image folder
    [WARNING]      [echo] repackaging netty jar
    ```
    
    after:
    ```log
    [INFO]      [echo] unpacking netty jar
    [INFO]      [echo] renaming netty native libraries
    [INFO]      [echo] deleting META-INF/native-image folder
    [INFO]      [echo] repackaging netty jar
    ```
    
    ### _How was this patch tested?_
    - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible
    
    - [ ] Add screenshots for manual tests if appropriate
    
    - [ ] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request
    
    Closes #4050 from Yikf/echo.
    
    Closes #4050
    
    2729f7988 [Yikf] Suppress warnning of the maven-antrun-plugin echo
    
    Authored-by: Yikf <yi...@gmail.com>
    Signed-off-by: fwang12 <fw...@ebay.com>
---
 externals/kyuubi-spark-sql-engine/pom.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/externals/kyuubi-spark-sql-engine/pom.xml b/externals/kyuubi-spark-sql-engine/pom.xml
index 93a548d3e..0ea3aaaba 100644
--- a/externals/kyuubi-spark-sql-engine/pom.xml
+++ b/externals/kyuubi-spark-sql-engine/pom.xml
@@ -433,16 +433,16 @@
                         <phase>package</phase>
                         <configuration>
                             <target>
-                                <echo message="unpacking netty jar"></echo>
+                                <echo level="info">unpacking netty jar</echo>
                                 <unzip dest="${project.build.directory}/unpacked/" src="${project.build.directory}/${project.artifactId}-${project.version}.jar"></unzip>
-                                <echo message="renaming netty native libraries"></echo>
+                                <echo level="info">renaming netty native libraries</echo>
                                 <move includeemptydirs="false" todir="${project.build.directory}/unpacked/META-INF/native">
                                     <fileset dir="${project.build.directory}/unpacked/META-INF/native"></fileset>
                                     <mapper from="libnetty_transport_native_epoll_(aarch_64.so|x86_64.so)" to="liborg_apache_kyuubi_shade_netty_transport_native_epoll_\1" type="regexp"></mapper>
                                 </move>
-                                <echo message="deleting META-INF/native-image folder"></echo>
+                                <echo level="info">deleting META-INF/native-image folder</echo>
                                 <delete dir="${project.build.directory}/unpacked/META-INF/native-image"></delete>
-                                <echo message="repackaging netty jar"></echo>
+                                <echo level="info">repackaging netty jar</echo>
                                 <jar basedir="${project.build.directory}/unpacked" destfile="${project.build.directory}/${project.artifactId}-${project.version}.jar"></jar>
                             </target>
                         </configuration>