Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to select mvnd for builds #165

Open
jglick opened this issue May 30, 2024 · 0 comments
Open

Ability to select mvnd for builds #165

jglick opened this issue May 30, 2024 · 0 comments
Labels
Apache-Netbeans enhancement New feature or request

Comments

@jglick
Copy link

jglick commented May 30, 2024

NetBeans bundles a copy of Maven which is used out of the box, but you can also select https://github.com/apache/maven-mvnd as a drop-in replacement as of apache/netbeans#3210. I have not found a way to do the same in this extension, though the first line of the output looks the same as it would be in NetBeans:

cd /path/to/module; JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 /home/jglick/.vscode/extensions/oracle.oracle-java-22.0.0/nbcode/java/maven/bin/mvn.sh -Dtest=pkg.TheTest --no-transfer-progress process-test-classes surefire:test

mvnd is much faster for incremental development so it is nice to be able to use it, at least until its features are upstreamed into Maven proper.

@Achal1607 Achal1607 added the enhancement New feature or request label Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Apache-Netbeans enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants