Skip to content

Commit

Permalink
Fix FORGE-774
Browse files Browse the repository at this point in the history
  • Loading branch information
lincolnthree committed Feb 4, 2013
1 parent c5b3dc4 commit 7658c9a
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,13 @@ public ProjectBuildingRequest getBuildingRequest(final boolean offline)
for (String id : activeProfiles)
{
Profile profile = profiles.get(id);
List<Repository> repositories = profile.getRepositories();
for (Repository repository : repositories)
if(profile != null)
{
settingsRepos.add(RepositoryUtils.convertFromMavenSettingsRepository(repository));
List<Repository> repositories = profile.getRepositories();
for (Repository repository : repositories)
{
settingsRepos.add(RepositoryUtils.convertFromMavenSettingsRepository(repository));
}
}
}

Expand Down

0 comments on commit 7658c9a

Please sign in to comment.