Browse Source

JShell with all maven classes

master
Julio Biason 4 years ago
parent
commit
c012f08232
  1. 1
      content/research/java.md
  2. 10
      content/research/java/maven-shell.md

1
content/research/java.md

@ -3,4 +3,5 @@ title = "Java"
weight = 106
+++
- [Shell With All Maven Classes](@/research/java/maven-shell.md)
- [Abstract Classes Resolution Order](@/research/java/abstract.md)

10
content/research/java/maven-shell.md

@ -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…
Cancel
Save