Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.5.1
-
None
Description
The purge-local-repository goal currently uses an empty set of remote repositories when initially resolving the dependency set. This doesn't work in Maven 3 because the dependency resolution in Maven 3 is more strict about checking that an artifact has to be available in the current set of remote repositories, otherwise the resolution fails.
List<ArtifactRepository> remoteRepositories = Collections.emptyList();
This should be fixed to work with both Maven 2 and 3 if possible.