Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MNG-8344] Support multiple operators in variable expansion #1832

Merged
merged 4 commits into from
Oct 24, 2024

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
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.

2 participants