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 {
74
74
@ Test
75
75
public void testThinRoot () throws Exception {
76
76
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 " );
78
78
DependencyResolver .close ();
79
79
DependencyResolver resolver = DependencyResolver .instance ();
80
80
ProjectBuildingRequest request = getProjectBuildingRequest (resolver , properties );
Original file line number Diff line number Diff line change @@ -312,7 +312,7 @@ public void settingsReadFromRoot() throws Exception {
312
312
DependencyResolver .close ();
313
313
String home = System .getProperty ("settings.home" );
314
314
System .setProperty ("settings.home" ,
315
- new File ("src/test/resources/settings/local" ).getAbsolutePath ());
315
+ new File ("src/test/resources/settings/local/.m2 " ).getAbsolutePath ());
316
316
try {
317
317
deleteRecursively (new File (
318
318
"target/thin/test/repository/org/springframework/spring-core" ));
Original file line number Diff line number Diff line change @@ -5,11 +5,11 @@ buildscript {
5
5
shadowVersion = ' 2.0.1'
6
6
}
7
7
repositories {
8
- jcenter()
9
8
mavenLocal()
10
9
mavenCentral()
11
10
maven { url " https://repo.spring.io/snapshot" }
12
11
maven { url " https://repo.spring.io/milestone" }
12
+ maven { url " https://plugins.gradle.org/m2/" }
13
13
}
14
14
dependencies {
15
15
classpath " com.github.jengelman.gradle.plugins:shadow:${ shadowVersion} "
You can’t perform that action at this time.
0 commit comments