Be explicit about version of auth server
This commit is contained in:
@@ -71,7 +71,7 @@
|
||||
<dependency>
|
||||
<groupId>org.springframework.experimental.boot</groupId>
|
||||
<artifactId>spring-boot-testjars-maven</artifactId>
|
||||
<version>0.0.3</version>
|
||||
<version>0.0.4</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
@@ -124,9 +124,9 @@ public class GrpcServerApplicationTests {
|
||||
@OAuth2ClientProviderIssuerUri
|
||||
static CommonsExecWebServerFactoryBean authServer() {
|
||||
return CommonsExecWebServerFactoryBean.builder()
|
||||
.defaultSpringBootApplicationMain()
|
||||
.classpath(classpath -> classpath
|
||||
.entries(MavenClasspathEntry.springBootStarter("oauth2-authorization-server")));
|
||||
.useGenericSpringBootMain()
|
||||
.classpath(classpath -> classpath.entries(new MavenClasspathEntry(
|
||||
"org.springframework.boot:spring-boot-starter-oauth2-authorization-server:3.4.4")));
|
||||
}
|
||||
|
||||
@Bean
|
||||
|
||||
Reference in New Issue
Block a user