spring-boot/spring-boot-project/spring-boot-tools
Andy Wilkinson 181e3b34ba Isolate Maven Plugin's integration tests from repo.spring.io
Previously, the Maven plugin integration tests used a settings.xml file
that defined https://repo.spring.io/snapshot as a repository. This
allowed them to resolve snapshots of the plugin's Spring Framework
dependencies but it had the unfortunate side-effect of also allowing
them to resolve snapshots of other Spring Boot modules from Artifactory
rather than using those currently being built.

This commit replaces the repositories in settings.xml with a Gradle
task that resolves the necessary dependencies and populates a local
repository with the dependencies' jars and pom files. This is achieved
using a ComponentMetadataRule that creates a custom variant of each
dependency that includes its pom file, inspired by the example in
gradle/gradle/#11449. A configuration that extends the
runtimeClasspath configuration and select the custom variant via its
attribute is then used to resolve the jars and pom files of the runtime
classpath such that they can then be used to populate the local
repository.

Closes gh-22828
2020-08-07 17:18:47 +01:00
..
spring-boot-antlib Make processResources out-of-date on version change 2020-08-07 09:44:16 +01:00
spring-boot-autoconfigure-processor Update copyright year of changed files 2020-05-13 16:48:51 -07:00
spring-boot-buildpack-platform Allow empty env entries when building an image 2020-08-04 15:29:29 -05:00
spring-boot-configuration-metadata Require dependency on s-b-dependencies to use its constraints 2020-06-16 08:50:21 +01:00
spring-boot-configuration-processor Merge branch '2.2.x' into 2.3.x 2020-06-22 12:14:35 -07:00
spring-boot-gradle-plugin Document how to use Gradle's native bom support 2020-07-30 20:53:44 +01:00
spring-boot-jarmode-layertools Improve validation of layertools input 2020-06-26 11:51:07 -05:00
spring-boot-loader Merge branch '2.1.x' into 2.2.x 2020-07-24 11:54:12 +01:00
spring-boot-loader-tools Cleanup temporary files after Maven plugin execution 2020-07-14 15:08:19 +01:00
spring-boot-maven-plugin Isolate Maven Plugin's integration tests from repo.spring.io 2020-08-07 17:18:47 +01:00
spring-boot-test-support Merge branch '2.2.x' into 2.3.x 2020-08-06 10:15:22 -07:00