Skip to content

[MWRAPPER-140] only-script Type does not honor MAVEN_USER_HOME #315

Description

@jira-importer

Adrian Shum opened MWRAPPER-140 and commented

As per described in https://maven.apache.org/wrapper/index.html  we could set MAVEN_USER_HOME to define the location that Maven distro be downloaded to.

For type=bin, it seems working as expected.  However for type=script-only, it is trying to create director under ~/.m2 even I have MAVEN_USER_HOME set.

 


Affects: 3.3.1

Attachments:

Remote Links:

Activity

  1. jira-importer commented on May 17, 2024

    @jira-importer
    Author

    Adrian Shum commented

    Attached please find a quick fix I done myself.

    I applied the same change of mvnw locally and seems working fine, but Windows mvwn.cmd I have no way to test.

     

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpriority:majorMajor loss of function

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions