Support commercial repositories in effective BOM and Ivy

Update `BomExtension` to resolve '{spring.mavenRepositories}' and add
credentials to `ivysettings.xml` and `settings.xml`.

Closes gh-44050
This commit is contained in:
Phillip Webb
2025-02-03 16:55:32 -08:00
parent fd5180645e
commit 80e8ab8779
4 changed files with 22 additions and 14 deletions

View File

@@ -1,6 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<settings>
<localRepository>@localRepositoryPath@</localRepository>
<servers>
<server>
<id>spring-commercial-release</id>
<username>${env.COMMERCIAL_REPO_USERNAME}</username>
<password>${env.COMMERCIAL_REPO_PASSWORD}</password>
</server>
<server>
<id>spring-commercial-snapshot</id>
<username>${env.COMMERCIAL_REPO_USERNAME}</username>
<password>${env.COMMERCIAL_REPO_PASSWORD}</password>
</server>
</servers>
<profiles>
<profile>
<id>it-repo</id>