[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 <yikaifei1@gmail.com>
Signed-off-by: fwang12 <fwang12@ebay.com>
This commit is contained in:
Yikf 2022-12-30 19:56:42 +08:00 committed by fwang12
parent 4942a53470
commit 05e400dff0

View File

@ -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>