mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
Ensure that server tests pick up latest snapshots
Closes gh-25921
This commit is contained in:
+1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user