Skip to content

[MWRAPPER-155] add jabbaw to mvnw #280

Open
@jira-importer

Description

@jira-importer

Stephan Kölle opened MWRAPPER-155 and commented

The developer build stability provided by mvnw is excellent, and I’d like to suggest a small enhancement that aligns with its convenience.

By adding the following snippet to the mvnw script:

if [ -f ./.jabbarc ] && [ -f ./jabbaw ]; then
export $(./jabbaw env | grep JAVA_HOME)
fi

 
 
This integrates with https://github.com/Jabba-Team/jabba, specifically its "install-less" variant https://github.com/Jabba-Team/jabba/blob/main/jabbaw.md  to define a JDK version via the .jabbarc configuration file.

This addition would make it easy to ensure a consistent JDK setup directly from the mvnw script, which could be particularly useful for teams or projects requiring precise JDK versioning without additional manual setup.


Affects: 3.3.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:trivialCosmetic problem like misspelled words or misaligned text

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions