You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on a Spring Boot project using native image support via Spring Boot Gradle plugin.
I wanted to use Playtika Testcontainers framework in order provide infrastructure to the integration tests.
Due to this 'com.github.docker-java:docker-java-*' transitive dependencies are occuring in testClasspath.
The docker-java stuff has not been compiled with the '-parameters' option set, which causes the build now to fail fast, throwing MissingParametersCompilerArgumentException:
This is the expected behaviour, as looking into here: 421f2fa
I am trying to already address the issue with the docker-java project, but it will take some time being upstream: docker-java/docker-java#2317
I tried to work around - but failed - using a custom RuntimeHintsRegistrar as discussed here: mybatis/spring-boot-starter#776
This is actually not a bug, but I wanted to open a discussion if it makes sense to have that fail fast safe-guard in place for test scope also. The classes/dependencies there will never end up in the final image. Not sure tough how to treat that for test compile.
Do you guys see any option for (the) Spring Boot (Maven/Gradle plugin) to opt out from the safeguard for test scope or lets say non runtime scopes.
The text was updated successfully, but these errors were encountered:
I am working on a Spring Boot project using native image support via Spring Boot Gradle plugin.
I wanted to use Playtika Testcontainers framework in order provide infrastructure to the integration tests.
Due to this 'com.github.docker-java:docker-java-*' transitive dependencies are occuring in testClasspath.
The docker-java stuff has not been compiled with the '-parameters' option set, which causes the build now to fail fast, throwing
MissingParametersCompilerArgumentException
:This is the expected behaviour, as looking into here: 421f2fa
I am trying to already address the issue with the
docker-java
project, but it will take some time being upstream:docker-java/docker-java#2317
I tried to work around - but failed - using a custom
RuntimeHintsRegistrar
as discussed here:mybatis/spring-boot-starter#776
This is actually not a bug, but I wanted to open a discussion if it makes sense to have that fail fast safe-guard in place for test scope also. The classes/dependencies there will never end up in the final image. Not sure tough how to treat that for test compile.
Do you guys see any option for (the) Spring Boot (Maven/Gradle plugin) to opt out from the safeguard for test scope or lets say non runtime scopes.
The text was updated successfully, but these errors were encountered: