Skip to content

Commit 2999020

Browse files
committed
Attempt to fix test on win
1 parent e47e3a8 commit 2999020

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

headless-services/spring-boot-language-server/src/main/java/org/springframework/ide/vscode/boot/java/DefaultBuildCommandProvider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
public class DefaultBuildCommandProvider implements BuildCommandProvider {
2929

30-
private static final String CMD_EXEC_MAVEN_GOAL = "sts.maven.goal.custom";
30+
private static final String CMD_EXEC_MAVEN_GOAL = "sts.maven.goal";
3131

3232
private static final Object MAVEN_LOCK = new Object();
3333

@@ -62,7 +62,7 @@ private CompletableFuture<Void> mavenRegenerateMetadata(Path pom, String[] goal)
6262
synchronized(MAVEN_LOCK) {
6363
String[] cmd = new String[1 + goal.length];
6464
Path projectPath = pom.getParent();
65-
String mvnw = OS.isWindows() ? "mvnw.cmd" : "./mvnw";
65+
String mvnw = OS.isWindows() ? "./mvnw.cmd" : "./mvnw";
6666
cmd[0] = Files.isRegularFile(projectPath.resolve(mvnw)) ? mvnw : "mvn";
6767
System.arraycopy(goal, 0, cmd, 1, goal.length);
6868
try {

0 commit comments

Comments
 (0)