The source content for blog.juliobiason.me
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

245 B

+++ 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.