-
Notifications
You must be signed in to change notification settings - Fork 9k
YARN-11389. Upgrade spring-core to 5.3.20 in wro4j-maven-plugin #5192
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
base: trunk
Are you sure you want to change the base?
Conversation
💔 -1 overall
This message was automatically generated. |
i think the maven plugin itself should be upgraded, rather than trying to add new dependencies (and do the old ones get excluded? how do you guarantee the new ones get picked up?). what happens later when an upgrade does take place? will we remember to remove what may then be older dependencies this is a compile time issue only, no cve in any redistributables, so hard to justify creating classpath/version hell for. |
Thanks @steveloughran for the review, I agree that spring version upgrade should come with the plugin, I tried upgrading the maven plugin to the latest available version of 1.10.1, it still has the vulnerable spring version of 5.3.1 I can a comment similar to #421 to ensure that the spring dependencies get removed in the later versions of plugin upgrade. We are adding spring as the first level dependency for the plugin, whereas the existing spring is coming from the second level of dependency. Maven ensures that the nearest level of dependency gets picked up. |
HI @steveloughran |
Description of PR
How was this patch tested?
hadoop-yarn-ui build sucessful
No spring 3.1.1.RELEASE jars were downloaded during build.
For code changes:
LICENSE
,LICENSE-binary
,NOTICE-binary
files?