[MNG-8178] Fall back to system properties for missing profile activation context properties by kohlschuetter · Pull Request #1603 · apache/maven (original) (raw)

@kohlschuetter kohlschuetter changed the titleMNG-8178: Fall back to System.getProperty for missing context props [MNG-8178]: Fall back to System.getProperty for missing context props

Jul 9, 2024

@kohlschuetter

A call to context.getSystemProperties() may yield empty an empty map, or one missing the desired key, which makes a subsequent call of toLowerCase fail with a NullPointerException.

Fall-back to using System.getProperty (with an empty default, in case that one fails too).

@kohlschuetter kohlschuetter changed the title[MNG-8178]: Fall back to System.getProperty for missing context props [MNG-8178] Fall back to System.getProperty for missing context props

Jul 9, 2024

gnodet

@gnodet

slawekjaranowski

michael-o

@gnodet gnodet changed the title[MNG-8178] Fall back to System.getProperty for missing context props [MNG-8178] Fall back to system properties for missing profile activation context properties

Jul 10, 2024

@olamy olamy mentioned this pull request

Apr 2, 2026

8 tasks

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})