Description
In {[DefaultArtifactRepositoryFactory.java}} there is a method overload:
public ArtifactRepository createArtifactRepository( String id, String url, String layoutId, ArtifactRepositoryPolicy snapshots, ArtifactRepositoryPolicy releases ) throws UnknownRepositoryLayoutException { return injectSession( factory.createArtifactRepository( layoutId, url, layoutId, snapshots, releases ), true ); }
Note that layoutId is used twice and id not at all. The result is that you get a remote repo apparently with an ID of default, rather than e.g. central as you intended.