diff --git a/README.adoc b/README.adoc index 10cea207a3c..89f6272f2ab 100755 --- a/README.adoc +++ b/README.adoc @@ -111,9 +111,6 @@ tests there (e.g. in Eclipse go to `Preferences->Java->Installed JREs` and edit JRE definition so that all processes are launched with those arguments). This property is automatically set if you use the maven wrapper. -NOTE: Make sure that your Git config property "core.autocrlf" setting is set to true -under Windows to avoid build and test failures due to missing CRLF EOL characters. - _Also see link:CONTRIBUTING.adoc[CONTRIBUTING.adoc] if you wish to submit pull requests, and in particular please fill out the https://support.springsource.com/spring_committer_signup[Contributor's Agreement] diff --git a/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/java/org/springframework/boot/gradle/ProjectCreator.java b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/java/org/springframework/boot/gradle/ProjectCreator.java index f3b15d9bbf8..cb1a6be6925 100644 --- a/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/java/org/springframework/boot/gradle/ProjectCreator.java +++ b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/java/org/springframework/boot/gradle/ProjectCreator.java @@ -16,9 +16,7 @@ package org.springframework.boot.gradle; -import java.io.BufferedWriter; import java.io.File; -import java.io.FileWriter; import java.io.IOException; import org.gradle.tooling.GradleConnector; @@ -48,8 +46,7 @@ public class ProjectCreator { projectDirectory.mkdirs(); File gradleScript = new File(projectDirectory, "build.gradle"); - writeGradleProperties(projectDirectory); - + if (new File("src/test/resources", name).isDirectory()) { FileSystemUtils.copyRecursively(new File("src/test/resources", name), projectDirectory); @@ -65,21 +62,4 @@ public class ProjectCreator { ((DefaultGradleConnector) gradleConnector).embedded(true); return gradleConnector.forProjectDirectory(projectDirectory).connect(); } - - private void writeGradleProperties(File projectDirectory) throws IOException { - File gradleProperties = new File(projectDirectory, "gradle.properties"); - BufferedWriter writer = new BufferedWriter(new FileWriter(gradleProperties)); - writeProperty(writer, "http.proxyHost"); - writeProperty(writer, "https.proxyHost"); - writeProperty(writer, "http.proxyPort"); - writeProperty(writer, "https.proxyPort"); - writer.close(); - } - - private void writeProperty(BufferedWriter writer, String name) throws IOException { - String value = System.getProperty(name); - if (value != null) { - writer.write("systemProp." + name + "=" + value + "\n"); - } - } } diff --git a/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/java/org/springframework/boot/starter/StarterDependenciesIntegrationTests.java b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/java/org/springframework/boot/starter/StarterDependenciesIntegrationTests.java index ca405e3c24e..e14f698b2e0 100644 --- a/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/java/org/springframework/boot/starter/StarterDependenciesIntegrationTests.java +++ b/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/java/org/springframework/boot/starter/StarterDependenciesIntegrationTests.java @@ -91,7 +91,7 @@ public class StarterDependenciesIntegrationTests { public StarterDependenciesIntegrationTests(String starter) { this.buildArguments = new String[] { "-Pstarter=" + starter, - "-PbootVersion=" + bootVersion, "-PspringVersion=" + springVersion, "--stacktrace" }; + "-PbootVersion=" + bootVersion, "-PspringVersion=" + springVersion }; } @Test diff --git a/spring-boot-samples/spring-boot-sample-ant/ivysettings.xml b/spring-boot-samples/spring-boot-sample-ant/ivysettings.xml index 48db163feb7..4127a506e8c 100644 --- a/spring-boot-samples/spring-boot-sample-ant/ivysettings.xml +++ b/spring-boot-samples/spring-boot-sample-ant/ivysettings.xml @@ -7,6 +7,10 @@ + + + + diff --git a/spring-boot-tools/spring-boot-antlib/pom.xml b/spring-boot-tools/spring-boot-antlib/pom.xml index 638b7948b28..a3500a2ab50 100644 --- a/spring-boot-tools/spring-boot-antlib/pom.xml +++ b/spring-boot-tools/spring-boot-antlib/pom.xml @@ -36,21 +36,7 @@ ${ant.version} provided - - - joda-time - joda-time - ${joda-time.version} - compile - - - - org.joda - joda-convert - 1.2 - compile - - + diff --git a/spring-boot-tools/spring-boot-antlib/src/it/sample/ivysettings.xml b/spring-boot-tools/spring-boot-antlib/src/it/sample/ivysettings.xml index 4c352fed989..72631b8ba83 100644 --- a/spring-boot-tools/spring-boot-antlib/src/it/sample/ivysettings.xml +++ b/spring-boot-tools/spring-boot-antlib/src/it/sample/ivysettings.xml @@ -4,9 +4,13 @@ - - + + + + + +