-
Notifications
You must be signed in to change notification settings - Fork 353
Application not detected as started when spring-aot-maven-plugin
is active
#740
Comments
Could you please provide a project that would allow us to reproduce this issue? |
Here is a repo with minimal project : git@github.com:ch4mpy/spring-native-740.git Steps to reproduce:
All I changed is adding an execution to <plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<image>
<builder>paketobuildpacks/builder:tiny</builder>
<env>
<BP_NATIVE_IMAGE>true</BP_NATIVE_IMAGE>
</env>
</image>
</configuration>
<executions>
<execution>
<id>pre-integration-test</id>
<goals>
<goal>start</goal>
</goals>
</execution>
</executions>
</plugin> Build fails because of undetected start when |
Maybe related to the fact we disable MBeans for footprint reasons, since I see a |
How can I enable it ? Setting following properties in application.properties does not improve the situation :
|
@ch4mpy Could you set |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
Should be solved by cc87cf5. |
My apps are not detected as started anymore when I add
spring-aot-maven-plugin
to my pom file.This has at least to manifestations :
springdoc-openapi-maven-plugin
fails my builds as it relies onspring-boot-maven-plugin
to start the app atpre-integration-test
and waits for the app to be reported as started before fetching OpenAPI spec file.The text was updated successfully, but these errors were encountered: