spring-boot-testjars
spring-boot-testjars copied to clipboard
Given the following configuration: ```java @Bean public CommonsExecWebServerFactoryBean authorizationServer() { return CommonsExecWebServerFactoryBean.builder() .mainClass(TestAuthorizationServerApplication.class.getName()) .classpath((classpath) -> classpath .entries(MavenClasspathEntry.springBootStarter("oauth2-authorization-server")) .recursive(TestAuthorizationServerApplication.class) ); } ``` Can we consider a new API that abstracts away...
If we configure the following `authorizationServer()` `@Bean` for integration testing purposes: ``` @Bean public CommonsExecWebServerFactoryBean authorizationServer() { return CommonsExecWebServerFactoryBean.builder() .mainClass(TestAuthorizationServerApplication.class.getName()) .classpath((classpath) -> classpath .entries(MavenClasspathEntry.springBootStarter("oauth2-authorization-server")) .recursive(TestAuthorizationServerApplication.class) ); } ``` And we...
This way it's easy to copy/paste for anyone https://github.com/spring-projects-experimental/spring-boot-testjars/pull/41 PS. not sure if this bug was necessary or you guys would have seen the PR without it.
The [Gradle feature variant](https://docs.gradle.org/current/userguide/feature_variants.html) named `maven` does not currently resolve in Maven (but does in Gradle)
When using gh-10, if there is a module foo that depends on maven coordinates example:bar and both projects are loaded in the IDE, then the classpath of the CommonsExecWebServer should...
We should demonstrate how CommonsExecWebServer can support Testcontainers. There are a few ways that I can think of for this to work: 1) The project that wants to use CommonsExecWebServer...
Right now .yml is supported but .yaml is not
Add a composed annotation to simplify mapping ports