When a classifier is specified in the Maven plugin configuration, the spring-boot:build-image goal will hang when running the builder.

<plugin>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-maven-plugin</artifactId>
    <configuration>
        <classifier>boot</classifier>
    </configuration>
</plugin>

Similar to #25590, this happens because the file that the plugin requires to build the image doesn't exist. In this case, the repackaged file will be named example-0.0.1-SNAPSHOT-boot.jar and the original file will be named example-0.0.1-SNAPSHOT.jar, while the plugin looks for a file named example-0.0.1-SNAPSHOT-boot.jar.original.