Our dependency management has a generateEffectiveBom task that invokes Maven with a settings.xml that's prepared from buildSrc/src/main/resources/effective-bom-settings.xml. This file is not transformed or changed based on the spring.build-type property so it doesn't use the appropriate repositories.

Comment From: snicoll

This also seem to affect RepositoryTransformersExtension and the Spring Boot Maven Plugin integration tests as the settings.xml does not seem to contain a servers section with the credentials to use.

Comment From: snicoll

I believe the ant smoke test is affected as well. If the above is true then it's definitely affected as well but doesn't exhibit the problem as it doesn't build against a commercial-only dependency.