You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
181e3b34ba
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 |
4 years ago | |
---|---|---|
.. | ||
spring-boot-antlib | 4 years ago | |
spring-boot-autoconfigure-processor | 5 years ago | |
spring-boot-buildpack-platform | 4 years ago | |
spring-boot-configuration-metadata | 4 years ago | |
spring-boot-configuration-processor | 4 years ago | |
spring-boot-gradle-plugin | 4 years ago | |
spring-boot-jarmode-layertools | 4 years ago | |
spring-boot-loader | 4 years ago | |
spring-boot-loader-tools | 4 years ago | |
spring-boot-maven-plugin | 4 years ago | |
spring-boot-test-support | 4 years ago |