public MavenArtifactRepository createMavenLocalRepository() { MavenArtifactRepository mavenRepository = instantiator.newInstance( DefaultMavenLocalArtifactRepository.class, fileResolver, createPasswordCredentials(), transportFactory, locallyAvailableResourceFinder, resolverStrategy); final File localMavenRepository = localMavenRepositoryLocator.getLocalMavenRepository(); mavenRepository.setUrl(localMavenRepository); return mavenRepository; }
public MavenArtifactRepository createMavenLocalRepository() { MavenArtifactRepository mavenRepository = createMavenRepository(); final File localMavenRepository = localMavenRepositoryLocator.getLocalMavenRepository(); mavenRepository.setUrl(localMavenRepository); return mavenRepository; }