Skip to content

Use mvnd as MAVEN_HOME (Apache Netbeans with mvnd ?) #449

Description

@nicoloboschi

In some contexts you have to configure MAVEN_HOME property to indicate which maven to use, for example on Apache Netbeans IDE you have to choose directory to use to run maven
In this case NB will try to execute /bin/mvn so you can't set mvnd path because mvnd/bin/mvn does not exist

I workarounded this by adding a directory "maven_home" inside mvnd root folder, creating a soft link like this

/maven_home/bin/mvn -> /bin/mvnd

and then configuring /maven_home as property in Netbeans

Is this a good workaround? in that case i will send a PR, this might be useful and we can 'sponsorize' mvnd to Netbeans users

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions