Skip to content

Commit

Permalink
Polish "Refresh start.spring.io screenshot"
Browse files Browse the repository at this point in the history
This polishes the screenshot by including all content. This commit also
updates the text to use more recent Spring Boot versions.

See gh-1249
  • Loading branch information
snicoll committed Jul 18, 2023
1 parent eec0464 commit d154491
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions USING.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -116,21 +116,21 @@ version:

[source]
----
Requires Spring Boot >=2.4.0 and <2.6.0-M1
Requires Spring Boot >=3.0.0 and <3.2.0-M1
----

Concretely, this defines a "version range" that states the dependency is deprecated and is
no longer available as of Spring Boot 2.6. You may want to check the release notes of the
no longer available as of Spring Boot 3.2. You may want to check the release notes of the
related project to understand what your migration path can be. Alternatively, the message
could be:

[source]
----
Requires Spring Boot >=2.6.0
Requires Spring Boot >=3.2.0
----

That version range means the dependency is not available with the selected Spring Boot
generation. If you select Spring Boot 2.6 (or later if available), you'll be
generation. If you select Spring Boot 3.2 (or later if available), you'll be
able to select that dependency.


Expand Down Expand Up @@ -237,13 +237,13 @@ understand how you can generate a project. These are obviously tailored to the c
you are using.

Let's assume that you want to generate a "my-project.zip" project based on Spring Boot
`2.6.4`, using the `web` and `devtools` dependencies (remember, those two ids are
`3.0.8`, using the `web` and `devtools` dependencies (remember, those two ids are
displayed in the capabilities of the service):

[source]
----
$ curl https://start.spring.io/starter.zip -d dependencies=web,devtools \
-d bootVersion=2.6.4 -o my-project.zip
-d bootVersion=3.0.8 -o my-project.zip
----

If you extract `my-project.zip`, you'll notice a few differences compared to what happens
Expand All @@ -259,7 +259,7 @@ The exact same project can be generated using the `http` command as well:
[source]
----
$ http https://start.spring.io/starter.zip dependencies==web,devtools \
bootVersion==2.6.4 -d
bootVersion==3.0.8 -d
----

NOTE: `HTTPie` reads the same hint as the browser, so it will store a `demo.zip` file in
Expand Down
Binary file modified using-web-ui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d154491

Please sign in to comment.