mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-01 14:59:50 +00:00
Fix transformed ivysettings.xml
Fix the environment variable reference to be correctly escaped. Closes gh-50277
This commit is contained in:
+1
-1
@@ -68,7 +68,7 @@ public class RepositoryTransformersExtension {
|
||||
if (repository.getName().startsWith("spring-commercial-")) {
|
||||
String host = repository.getUrl().getHost();
|
||||
hostCredentials.put(host,
|
||||
new MavenCredential("${env.COMMERCIAL_REPO_USERNAME}", "${env.COMMERCIAL_REPO_PASSWORD"));
|
||||
new MavenCredential("${env.COMMERCIAL_REPO_USERNAME}", "${env.COMMERCIAL_REPO_PASSWORD}"));
|
||||
}
|
||||
});
|
||||
return transform(line, hostCredentials.entrySet(), (entry,
|
||||
|
||||
Reference in New Issue
Block a user