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

[Feature] Resolve Maven dependencies in depth #3684

Open
2 of 3 tasks
shenyi0828 opened this issue Apr 26, 2024 · 3 comments
Open
2 of 3 tasks

[Feature] Resolve Maven dependencies in depth #3684

shenyi0828 opened this issue Apr 26, 2024 · 3 comments

Comments

@shenyi0828
Copy link

Search before asking

  • I had searched in the feature and found no similar feature requirement.

Description

dependency example:
a -> b1,b2
b1 -> c1,c2
b2 -> d1,d2,d3
when I set deps "a" in 'application dependency' . only a,b1,c1 is included, NoSuchMethod exception is raised for missing c1,c2,d1,d2,d3 .

Usage Scenario

No response

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@shenyi0828
Copy link
Author

image

code from MavenTool.scala

I thinkd streampark can only resolve 1st level deps, not recursively

@shenyi0828
Copy link
Author

image

I have to set them all for first level deps, which is marked by red square

@wolfboys
Copy link
Member

Thanks for your feedback. Indirect dependencies may lead to loading some unexpected dependencies, causing jar conflicts and job failures, making troubleshooting very troublesome. Therefore, only direct dependencies are loaded, so that users need to manually confirm the addition of any dependencies required by the job. If you have any good ideas, you are welcome to discuss them together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants