diff --git a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/ProcessTestAotMojo.java b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/ProcessTestAotMojo.java index c868f56b6b9b..399e4561b414 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/ProcessTestAotMojo.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/ProcessTestAotMojo.java @@ -172,7 +172,7 @@ private String getJUnitPlatformVersion() throws MojoExecutionException { String version = (platformCommonsArtifact != null) ? platformCommonsArtifact.getBaseVersion() : null; if (version == null) { throw new MojoExecutionException( - "Unable to find '%s' dependnecy. Please ensure JUnit is correctly configured.".formatted(id)); + "Unable to find '%s' dependency. Please ensure JUnit is correctly configured.".formatted(id)); } return version; }