microsoft / vscode-spring-initializr

VSCode Extension for Spring Initializr
Other
70 stars 35 forks source link

How to create Spring Boot 2.7 project? #233

Open doggy8088 opened 10 months ago

doggy8088 commented 10 months ago

In Spring Initializr Java Support v0.11.2, it seems drop support for Spring Boot 2.7.

image

Is it possible add it back?

brunovieira97 commented 9 months ago

The extension lists versions based on the start.spring.io API, meaning that if you go to the website it will present you the same.

image
doggy8088 commented 9 months ago

In fact, start.spring.io still support 2.7.2 generation. Just check the following link. It still supported, but the doesn't list the outdated versions.

https://start.spring.io/#!type=maven-project&language=java&platformVersion=2.7.2&packaging=jar&jvmVersion=17&groupId=com.example&artifactId=demo&name=demo&description=Demo%20project%20for%20Spring%20Boot&packageName=com.example.demo&dependencies=web

image

Is it possible add the hidden/outdated version back to the extension?

brunovieira97 commented 8 months ago

As you pointed out, it is still supported by the website, however for generating projects with 2.7 it is required to force this on the request, not relying on the API options.

As this project is entirely based on the API responses to show available options for each step, I believe it would "break" the original intent of this extension.

That is merely my opinion though, the project maintainers would be the best advisors on this issue. If it's considered as a valid addition, I would gladly make a PR for such change ;)

@jdneo and @testforstephen could you give us some guidance on this matter?

WangFengtu1996 commented 5 months ago

+1

WangFengtu1996 commented 5 months ago

I want to use spring boot 2.5.6 ?