spring-boot/spring-boot-cli
Andy Wilkinson c4f756daee Fix MavenSettings’ handling of profiles activated by a file
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
2016-01-18 13:18:16 +00:00
..
samples Polishing 2015-11-18 11:40:19 +00:00
src Fix MavenSettings’ handling of profiles activated by a file 2016-01-18 13:18:16 +00:00
test-samples Add value alias for SpringApplicationConfiguration 2015-08-19 17:09:34 +02:00
pom.xml Next Development Version 2015-12-18 05:43:02 -08:00