The idea of keeping all open source libraries in my repo doesn't sound to me as a good practice. Any ideas? I do know this can easily be done in Python using virtual environment, is there there such a way in Java?
There are some build tools which can manage dependencies: