File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
launcher/src/test/java/org/springframework/boot/loader/thin Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ public void testProxy() throws Exception {
7474 @ Test
7575 public void testThinRoot () throws Exception {
7676 Properties properties = new Properties ();
77- properties .setProperty ("thin.root" , "src/test/resources/settings/proxy" );
77+ properties .setProperty ("thin.root" , "src/test/resources/settings/proxy/.m2 " );
7878 DependencyResolver .close ();
7979 DependencyResolver resolver = DependencyResolver .instance ();
8080 ProjectBuildingRequest request = getProjectBuildingRequest (resolver , properties );
Original file line number Diff line number Diff line change @@ -312,7 +312,7 @@ public void settingsReadFromRoot() throws Exception {
312312 DependencyResolver .close ();
313313 String home = System .getProperty ("settings.home" );
314314 System .setProperty ("settings.home" ,
315- new File ("src/test/resources/settings/local" ).getAbsolutePath ());
315+ new File ("src/test/resources/settings/local/.m2 " ).getAbsolutePath ());
316316 try {
317317 deleteRecursively (new File (
318318 "target/thin/test/repository/org/springframework/spring-core" ));
Original file line number Diff line number Diff line change @@ -5,11 +5,11 @@ buildscript {
55 shadowVersion = ' 2.0.1'
66 }
77 repositories {
8- jcenter()
98 mavenLocal()
109 mavenCentral()
1110 maven { url " https://repo.spring.io/snapshot" }
1211 maven { url " https://repo.spring.io/milestone" }
12+ maven { url " https://plugins.gradle.org/m2/" }
1313 }
1414 dependencies {
1515 classpath " com.github.jengelman.gradle.plugins:shadow:${ shadowVersion} "
You can’t perform that action at this time.
0 commit comments