return null;
}
public File getLocalRepository() {
// Attempt to retrieve local repository location from MavenConfiguration
MavenConfiguration configuration = retrieveMavenConfiguration();
if (configuration != null) {
MavenRepositoryURL localRepositoryURL = configuration.getLocalRepository();
if (localRepositoryURL != null) {
return localRepositoryURL.getFile().getAbsoluteFile();
}
}
// If local repository not found assume default.