MavenWorkspaceSettings () { MavenExplicitProfiles profiles = MavenProjectsManager.getInstance(myProject).getExplicitProfiles(); mySettings.setEnabledProfiles(profiles.getEnabledProfiles()); mySettings.setDisabledProfiles(profiles.getDisabledProfiles()); return mySettings; }