Skip to content

Commit

Permalink
FORGE-858: Maven central is now always used for resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Apr 12, 2013
1 parent f74e740 commit 65ab194
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ public ProjectBuildingRequest getBuildingRequest(final boolean offline)
}
}

// No repository set, enable central
if (!offline && settingsRepos.isEmpty())
if (!offline)
{
KnownRepository repo = KnownRepository.CENTRAL;
settingsRepos.add(RepositoryUtils.toArtifactRepository(repo.getId(), repo.getUrl(), null, true, false));
Expand Down

0 comments on commit 65ab194

Please sign in to comment.