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

Override MimePull lib version #355

Merged
merged 1 commit into from Jul 12, 2022

Conversation

pankajpkhandelwal-db
Copy link
Contributor

SpringBoot 2.7.0 pulls 1.10 version of below lib which is compiled with Java11 and hence causes errors when running on Java8

@robmoffat
Copy link
Member

What's mime pull used for? Is the version you're proposing compatible with Spring Boot 2.7?

@pankajpkhandelwal-db
Copy link
Contributor Author

Jersey-media-multipart has dependency on mimepull lib. However, newer version of dependency is forced via SpringBoot 2.7.0 BOM. See this link for issue details - spring-projects/spring-boot#31133

This explain why they added it in 1st place - spring-projects/spring-boot#14924
And this say that it is redundant and might not be needed as part of SpringBoot BOM - spring-projects/spring-boot#31145

Instead of removing dependency altogether, its safe to downgrade it to latest version compiled with Java8. Ran Bot post changes on both Symphony and MS Teams and they ran fine.

@pankajpkhandelwal-db pankajpkhandelwal-db merged commit f7ec888 into spring-bot-master Jul 12, 2022
@pankajpkhandelwal-db pankajpkhandelwal-db deleted the MimePull-Java8-issue branch July 12, 2022 12:07
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

Successfully merging this pull request may close these issues.

None yet

3 participants