Initialize profileManager from settings.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379812 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Venisse 2006-02-22 16:56:24 +00:00
parent c100cbea1c
commit 7b331c9605
1 changed files with 2 additions and 0 deletions

View File

@ -413,6 +413,8 @@ public class MavenEmbedder2 {
}
ProfileManager profileManager = new DefaultProfileManager( embedder.getContainer() );
profileManager.loadSettingsProfiles( settings );
String profilesLine = getActivateProfiles();
if ( profilesLine != null )