Skip to content

Conversation

@gnodet
Copy link
Contributor

@gnodet gnodet commented Mar 27, 2025

JIRA issue: MNG-8598

Added support for substituting ${MAVEN_PROJECTBASEDIR} and $MAVEN_PROJECTBASEDIR
in .mvn/jvm.config with the actual project base directory.

Changes:

  • Modified mvn and mvn.cmd scripts to handle the substitution
  • Added integration test to verify the functionality

The test verifies:

  • Both curly brace and simple syntax variants work
  • Substitution happens correctly in forked JVM
  • Feature is available in Maven 4.0+

@gnodet gnodet added this to the 4.0.0-rc-4 milestone Mar 27, 2025
@gnodet gnodet self-assigned this Mar 27, 2025
…onfig

Added support for substituting  and
in .mvn/jvm.config with the actual project base directory.

Changes:
- Modified mvn and mvn.cmd scripts to handle the substitution
- Added integration test to verify the functionality

The test verifies:
- Both curly brace and simple syntax variants work
- Substitution happens correctly in forked JVM
- Feature is available in Maven 4.0+
@gnodet gnodet merged commit 2741848 into apache:master Mar 28, 2025
13 checks passed
@jira-importer
Copy link

Resolve #9848

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants