### Eclipse Workspace Patch 1.0 #P org.jboss.tools.maven.core Index: src/org/jboss/tools/maven/core/internal/profiles/ProfileManager.java =================================================================== --- src/org/jboss/tools/maven/core/internal/profiles/ProfileManager.java (revision 36985) +++ src/org/jboss/tools/maven/core/internal/profiles/ProfileManager.java (working copy) @@ -37,8 +37,6 @@ public class ProfileManager implements IProfileManager { - private static final String ARTIFACT_SEPARATOR = ":"; //$NON-NLS-1$ - public void updateActiveProfiles(final IMavenProjectFacade mavenProjectFacade, final List profiles, final boolean isOffline, @@ -90,7 +88,7 @@ for (org.apache.maven.settings.Profile sp : settings.getProfiles()) { Profile p = SettingsUtils.convertFromSettingsProfile(sp); - boolean isAutomaticallyActivated = isActive2(p, activeProfiles); + boolean isAutomaticallyActivated = isActive(sp, activeProfiles); settingsProfiles.put(p, isAutomaticallyActivated); } return Collections.unmodifiableMap(settingsProfiles); @@ -105,7 +103,10 @@ return false; } - private boolean isActive2(Profile p, List activeProfiles) { + private boolean isActive(org.apache.maven.settings.Profile p, List activeProfiles) { + if (p.getActivation() != null && p.getActivation().isActiveByDefault()){ + return true; + } for (String activeProfile : activeProfiles) { if (activeProfile.equals(p.getId())) { return true;