mirror of https://github.com/apache/maven.git
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:
parent
c100cbea1c
commit
7b331c9605
|
@ -413,6 +413,8 @@ public class MavenEmbedder2 {
|
|||
}
|
||||
|
||||
ProfileManager profileManager = new DefaultProfileManager( embedder.getContainer() );
|
||||
|
||||
profileManager.loadSettingsProfiles( settings );
|
||||
|
||||
String profilesLine = getActivateProfiles();
|
||||
if ( profilesLine != null )
|
||||
|
|
Loading…
Reference in New Issue