Describe the bug
Observer error message when loading the invalid jar package:
The class org/apache/arrow/adapter/jdbc/JdbcToArrowConfig was not replaced by the source code in this repo.
MVN 3.8.9 works well.
Environment
Fast reproduce steps
build external table jar package with mvn 3.9 and test the package with observer.
Expected behavior
No response
Actual behavior
No response
Additional context
The unpack was executed when build the package:
[INFO] ------------< com.oceanbase.external:external-plugin-jdbc >-------------
[INFO] Building external-plugin-jdbc 1.0.0 [3/5]
[INFO] from plugin/jdbc/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- clean:3.2.0:clean (default-clean) @ external-plugin-jdbc ---
[INFO]
[INFO] --- dependency:3.6.1:unpack (unpack) @ external-plugin-jdbc ---
[INFO] Configured Artifact: org.apache.arrow:arrow-jdbc:?:jar
[INFO]
The java class org/apache/arrow/adapter/jdbc/JdbcToArrowConfig is defined by ARROW but we add a new method, so we use maven-dependency-plugin plugin to unpack arrow-jdbc and the java class JdbcToArrowConfig will be replaced at last. But it doesn't work with mvn 3.9.
Describe the bug
Observer error message when loading the invalid jar package:
The class
org/apache/arrow/adapter/jdbc/JdbcToArrowConfigwas not replaced by the source code in this repo.MVN 3.8.9 works well.
Environment
Fast reproduce steps
build external table jar package with mvn 3.9 and test the package with observer.
Expected behavior
No response
Actual behavior
No response
Additional context
The
unpackwas executed when build the package:The java class
org/apache/arrow/adapter/jdbc/JdbcToArrowConfigis defined byARROWbut we add a new method, so we usemaven-dependency-pluginplugin to unpackarrow-jdbcand the java classJdbcToArrowConfigwill be replaced at last. But it doesn't work with mvn 3.9.