Use mvnd as MAVEN_HOME (Apache Netbeans with mvnd ?)
- Dominant language
- Java
- Stars
- 3.5k
- Forks
- 250
- Avg merge
- 16h 22m
- Merged PRs (30d)
- 36
Description
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
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the mvnd distribution layout described in the issue, especially bin/mvnd and the proposed maven_home/bin/mvn entry point, and compare it with Apache NetBeans' MAVEN_HOME behavior. Done means there is a clear, maintainer-approved outcome for supporting or documenting this configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100