There is a transitive library that I need to use in my project, but it has transitive dependencies of several levels deep. I understand that by default all the required jar files will be automatically downloaded to the local repository, which is by default at USER_HOME/.m2 folder (my OS is Windows).
Is there a way to import all the required jar files into another specified folder? I'm planning to put all the jar files inside the 'project_name/libs' folder.
Basically, my question is quite similar to this one, but with transitive dependencies.