mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
Ensure that server tests pick up latest snapshots
Closes gh-25921
This commit is contained in:
parent
6440843358
commit
4c42810df9
@ -170,6 +170,7 @@ class ApplicationBuilder {
|
||||
if (settingsXml != null) {
|
||||
invocation.setUserSettingsFile(settingsXml);
|
||||
}
|
||||
invocation.setUpdateSnapshots(true);
|
||||
DefaultInvoker invoker = new DefaultInvoker();
|
||||
invoker.setMavenHome(new File("build/maven-binaries/apache-maven-3.6.2"));
|
||||
InvocationResult execute = invoker.execute(invocation);
|
||||
|
Loading…
Reference in New Issue
Block a user