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

What are spring.provides for? and why the spring.provides content not same with package #12992

Closed
LeeGuoPing opened this issue Oct 11, 2021 · 8 comments

Comments

@LeeGuoPing
Copy link
Contributor

Question

image

@RaigorJiang
Copy link
Contributor

I found another issue, hope it will be helpful:
spring-projects/spring-boot#1926

@LeeGuoPing
Copy link
Contributor Author

@RaigorJiang it seems to be used only for STS IDE, at the end of the following issue, some starter delete spring.provides files
spring-projects/spring-boot#12435

@RaigorJiang
Copy link
Contributor

@RaigorJiang it seems to be used only for STS IDE, at the end of the following issue, some starter delete spring.provides files spring-projects/spring-boot#12435

It seems yes, can you help to investigate it?

@sandynz
Copy link
Contributor

sandynz commented Oct 12, 2021

Hi @LeeGuoPing , looks spring.provides is removed from Spring Boot 2.1, see Spring Boot 2.1 Release Notes.
Currently, ShardingSphere depend on <spring-boot.version>[1.5.20.RELEASE,2.0.0.M1)</spring-boot.version>.
We'd better keep spring.provides for now.

@LeeGuoPing
Copy link
Contributor Author

@RaigorJiang Thank you for your reply
image

@RaigorJiang
Copy link
Contributor

Does shardingsphere's springboot version need to be upgraded?

@LeeGuoPing
Copy link
Contributor Author

By the way, the package name is shardingsphere-jdbc-core-spring-boot-starter,the spring.provides content is shardingsphere-jdbc-spring-boot-starter. And in other places, the package name is same with spring.provides content. Is the content not must the same with package?
image

@RaigorJiang
Copy link
Contributor

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

No branches or pull requests

3 participants