Skip to content

Commit 3a2d170

Browse files
committed
upgrade to 3.2, change default jvm
1 parent d2da58d commit 3a2d170

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.2/apache-maven-3.9.2-bin.zip
1+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.3/apache-maven-3.9.3-bin.zip
22
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar

.sdkmanrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Enable auto-env through the sdkman_auto_env config
22
# Add key=value pairs of SDKs to use below
3-
java=22.3.1.r17-grl
3+
java=21.0.1-graalce

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>3.1.1</version>
8+
<version>3.2.0</version>
99
<relativePath></relativePath>
1010
</parent>
1111
<groupId>dev.dashaun.shell.initializr</groupId>

src/main/java/dev/dashaun/shell/initializr/plusplus/PomFileCommands.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public String projectVersion(@ShellOption(defaultValue = "0") String version) {
3232
catch (XmlPullParserException | IOException e) {
3333
return "There was a problem updating the project version.";
3434
}
35-
return String.format("Successfully set project version to '%s'", version);
35+
return "Successfully set project version to '%s'".formatted(version);
3636
}
3737

3838
@ShellMethod("Update the project description")
@@ -52,7 +52,7 @@ public String projectDescription(@ShellOption(defaultValue = "") String descript
5252
return "There was a problem updating the project description.";
5353
}
5454
return "".equals(description) ? "Successfully removed the project description."
55-
: String.format("Successfully set project name to '%s'", description);
55+
: "Successfully set project name to '%s'".formatted(description);
5656
}
5757

5858
@ShellMethod("Update the project name")
@@ -66,7 +66,7 @@ public String projectName(@ShellOption(defaultValue = "${project.groupId}:${proj
6666
catch (XmlPullParserException | IOException e) {
6767
return "There was a problem updating the project name.";
6868
}
69-
return String.format("Successfully set project name to '%s'", name);
69+
return "Successfully set project name to '%s'".formatted(name);
7070
}
7171

7272
@ShellMethod("Add AWS Lambda profile for Spring Cloud Functions")

0 commit comments

Comments
 (0)