• Andy Wilkinson's avatar
    Fix MavenSettings’ handling of profiles activated by a file · c4f756da
    Andy Wilkinson authored
    Previously, MavenSettings used a FileProfileActivator with no
    PathTransformer. If a settings.xml file contains a file-activated
    profile this would result in an NPE within Maven. This was made worse
    by the NPE not being included in the resulting failure message which
    hampered diagnosis of the problem.
    
    This commit updates MavenSettings to configure its FileProfileActivator
    with a PathTransformer. It also improves the failure message that’s
    created from any problems that are reported by Maven while determining
    the active profiles to include a problem’s exception if it has one.
    
    Closes gh-4826
    c4f756da
Name
Last commit
Last update
.mvn Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-docs Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-deployment-tests Loading commit data...
spring-boot-devtools Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-tools Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...