Julio Biason
4 years ago
2 changed files with 11 additions and 0 deletions
@ -0,0 +1,10 @@ |
|||||||
|
+++ |
||||||
|
title = "Shell with All Maven Classes" |
||||||
|
+++ |
||||||
|
|
||||||
|
``` |
||||||
|
alias mvn-shell='jshell --class-path $(find ~/.m2/repository/ -name "*.jar" | tr "\n" ":")' |
||||||
|
``` |
||||||
|
|
||||||
|
This alias loads all classes in the Maven (m2) repository and make them |
||||||
|
available to the shell. |
Loading…
Reference in new issue