Add support for mvnDebug
Maven ships with a lesser-known command called mvnDebug
(see this blog post) that allows debugging of Maven itself.
It could be useful for mvnvm to support this command so that the correct version is always executed, like for the mvn
command.
Comments (6)
-
Account Deactivated -
Account Deactivated +1 using the same workaround as @samcday but it would be more comfortable to have mvnDebug just there
-
Account Deactivated +1
-
repo owner This PR https://bitbucket.org/mjensen/mvnvm/pull-requests/37/infer-mvn-command-from-script-name/diff will allow you to create a symlink to the mvn script and call it mvnDebug, this should translate to it calling the debug command. Soon I'l add this to the brew install.
-
Account Deactivated So it turns out someone has fixed this back on Jan 12. This wasn't done with a new mvnvm version though. I just did a
brew reinstall mvnvm
and
brew
installed a workingmvnDebug
. -
repo owner - changed status to resolved
- Log in to comment
+1
For now I'm just running
~/.mvnvm/apache-maven-x.x.x/bin/mvnDebug
, but having an mvnDebug wrapper that respects mvnvm.properties would be approximately 200% more awesome.