diff --git a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/TestRunMojo.java b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/TestRunMojo.java index 4e961c0230..5c41d9a3b7 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/TestRunMojo.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/TestRunMojo.java @@ -33,13 +33,9 @@ import org.springframework.boot.loader.tools.RunProcess; /** * Run an application in place using the test runtime classpath. The main class that will - * be used to launch the application is determined as follows: - * - *
    - *
  1. The configured main class, if any
  2. - *
  3. The main class found in the test classes directory, if any
  4. - *
  5. The main class found in the classes directory, if any
  6. - *
+ * be used to launch the application is determined as follows: The configured main class, + * if any. Then the main class found in the test classes directory, if any. Then the main + * class found in the classes directory, if any. * * @author Phillip Webb * @author Dmytro Nosan