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

Help information for spring init's build option has the wrong default #40603

Closed
wants to merge 1 commit into from

Conversation

coursar
Copy link
Contributor

@coursar coursar commented May 2, 2024

Spring Boot CLI (3.2.4) init help says default build system is maven but actually gradle is used:

$ spring --help init
spring init - Initialize a new project using Spring Initializr (start.spring.io)

usage: spring init [options] [location]

Option                       Description                                       
------                       -----------                                       
...
--build <String>             Build system to use (for example 'maven' or 'gradle') (default: maven)
...
$ spring init -a demo -g org.example
Using service at https://start.spring.io
Content saved to 'demo.zip'

$ unzip -l demo.zip
Archive:  demo.zip
Name
----
gradlew
HELP.md
.gitignore
settings.gradle
build.gradle
src/
src/test/
src/test/java/
src/test/java/org/
src/test/java/org/example/
src/test/java/org/example/demo/
src/test/java/org/example/demo/DemoApplicationTests.java
src/main/
src/main/java/
src/main/java/org/
src/main/java/org/example/
src/main/java/org/example/demo/
src/main/java/org/example/demo/DemoApplication.java
src/main/resources/
src/main/resources/application.properties
gradlew.bat
gradle/
gradle/wrapper/
gradle/wrapper/gradle-wrapper.properties
gradle/wrapper/gradle-wrapper.jar
-------
25 files

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label May 2, 2024
@mhalbritter mhalbritter added type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged labels May 2, 2024
@mhalbritter mhalbritter added this to the 3.1.x milestone May 2, 2024
@wilkinsona wilkinsona changed the title Fix: change Spring Boot CLI init command docs default build system to gradle Help information for spring init's build option has the wrong default May 2, 2024
@mhalbritter mhalbritter self-assigned this May 2, 2024
mhalbritter added a commit that referenced this pull request May 2, 2024
@mhalbritter
Copy link
Contributor

Thank you very much and congratulations on your first contribution 🎉!

@mhalbritter mhalbritter modified the milestones: 3.1.x, 3.1.12 May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants