Skip to content

Commit 92fc1c4

Browse files
committed
spot commit
1 parent 3c82b0a commit 92fc1c4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
<plugin>
7373
<groupId>io.spring.javaformat</groupId>
7474
<artifactId>spring-javaformat-maven-plugin</artifactId>
75-
<version>0.0.39</version>
75+
<version>0.0.41</version>
7676
<executions>
7777
<execution>
7878
<goals>

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import org.apache.maven.model.io.xpp3.MavenXpp3Writer;
77
import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
88
import org.springframework.shell.Availability;
9+
import org.springframework.shell.command.annotation.Command;
910
import org.springframework.shell.standard.*;
1011

1112
import java.io.*;
@@ -55,6 +56,7 @@ public String projectDescription(@ShellOption(defaultValue = "") String descript
5556
: "Successfully set project name to '%s'".formatted(description);
5657
}
5758

59+
@Command
5860
@ShellMethod("Update the project name")
5961
public String projectName(@ShellOption(defaultValue = "${project.groupId}.${project.artifactId}") String name) {
6062
try {

0 commit comments

Comments
 (0)