Is there a way to get the Maven local repo location?
Using the following command you can force Maven to use a specific setting file:
mvn -s < pat
Usually it's in: C:\Users\USER_NAME\.m2\repository. However the mvn help:effective-settings command will surely show the local path in response xml.
C:\Users\USER_NAME\.m2\repository
mvn help:effective-settings