Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using maven-shade-plugin to avoid break Java parental delegation #5788

Closed
wants to merge 1 commit into from

Conversation

tlzxsun
Copy link

@tlzxsun tlzxsun commented Aug 18, 2023

  • I have registered the PR changes.

Ⅰ. Describe what this PR did

Ⅱ. Does this pull request fix one issue?

Fixes #5786
Fixes #5781

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@CLAassistant
Copy link

CLAassistant commented Aug 18, 2023

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个测试用例能改造成是否能反射读到shade后的类不?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

似乎不行,因为改包名是编译打包流程中实现的,跑用例的时候还没改

@funky-eyes funky-eyes added the module/sqlparser sql-parser module label Aug 19, 2023
Copy link
Contributor

@funky-eyes funky-eyes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1692455511366_ca7f1395fb8707e9ea9968c1b3694a84
应该需要将需要把rm-datasource那块的druid也shade掉,还需要看下哪里也引入了druid需要都做掉,否则可能导致类型转换失败

@funky-eyes funky-eyes added this to the 2.0.0 milestone Aug 19, 2023
@tlzxsun
Copy link
Author

tlzxsun commented Aug 21, 2023

先撤回合并,需要调整shade实现

@tlzxsun tlzxsun closed this Aug 21, 2023
@jsbxyyx
Copy link
Member

jsbxyyx commented Aug 21, 2023

phase 改成install试试?

@slievrly slievrly removed this from the 2.0.0 milestone Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
first-time contributor first-time contributor module/sqlparser sql-parser module type: optimize
Projects
None yet
5 participants