I tried: Settings set = new Settings(); set.getLocalRepository(); gives me null (probably because I don't have an explicit path in the settings.xml file).
I also tried: ArtifactRepository localRepo; localRepo.getBasedir(); but this doesn't work. How do I get the path to the local repository? I'm sure that Maven computes it, because a ${settings.LocalRepository} property in a pom file gets the right path. Any clues? Regards, Costin. -- View this message in context: http://www.nabble.com/How-to-get-path-to-the-local-repository--tp21417315p21417315.html Sent from the Maven Developers mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org