Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0-alpha-2
-
None
-
n/a, I've found the bug inside the maven source code
Description
I've spotted an error at line 245in the following method invocation:
class DefaultMavenExecutionRequestPopulator
private void processSettings( MavenExecutionRequest request, Configuration configuration )
...
ArtifactRepository ar = mavenTools.createRepository( r.getId(), r.getUrl(), snapshots, releases );
The order of id and url should be reversed:
interface MavenTools
ArtifactRepository createRepository( String url, String repositoryId, ArtifactRepositoryPolicy snapshotsPolicy, ArtifactRepositoryPolicy releasesPolicy );