Skip to content

Conversation

@gnodet
Copy link
Contributor

@gnodet gnodet commented Oct 22, 2024

JIRA issue: MNG-8344


The goal is to enhance the supported syntax for operators in variable expansion, so that we can use those as a ternary operator:

maven.user.config = ${env.MAVEN_XDG:+${env.XDG_CONFIG_HOME:-${user.home}/.config}/maven}:-${user.home}/.m2}

@gnodet gnodet added this to the 4.0.0-beta-6 milestone Oct 23, 2024
@gnodet gnodet changed the title [MNG-8344] Failing unit test showing complex variable expansion [MNG-8344] Support multiple operators in variable expansion Oct 23, 2024
@gnodet gnodet marked this pull request as ready for review October 23, 2024 06:53
@gnodet gnodet merged commit 54df597 into apache:master Oct 24, 2024
13 checks passed
@gnodet gnodet deleted the MNG-8344-variable-expansion branch October 24, 2024 11:54
@gnodet gnodet changed the title [MNG-8344] Support multiple operators in variable expansion [MNG-8356] [MNG-8344] Support multiple operators in variable expansion Oct 24, 2024
@gnodet gnodet changed the title [MNG-8356] [MNG-8344] Support multiple operators in variable expansion [MNG-8344] Support multiple operators in variable expansion Oct 24, 2024
@jira-importer
Copy link

Resolve #9510

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants