aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMickael Istria2018-05-30 16:04:45 -0400
committerMickael Istria2018-05-30 16:40:25 -0400
commitb2845ad75a28e681bd9f55a70aa83a962a921c0b (patch)
tree2abad5c325f22daef726be20ad951a5051a39c85
parent6dec0543fc69d773d4bad46a4623d48905bf7ed7 (diff)
downloadm2e-core-b2845ad75a28e681bd9f55a70aa83a962a921c0b.tar.gz
m2e-core-b2845ad75a28e681bd9f55a70aa83a962a921c0b.tar.xz
m2e-core-b2845ad75a28e681bd9f55a70aa83a962a921c0b.zip
Bug 465882 - "Open XML page in the POM editor by default" by default
Change-Id: I783993a773596f97d4ec9b0e81037f0d64a33a52 Signed-off-by: Mickael Istria <mistria@redhat.com>
-rw-r--r--org.eclipse.m2e.core/META-INF/MANIFEST.MF2
-rw-r--r--org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/preferences/MavenPreferenceInitializer.java1
2 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.m2e.core/META-INF/MANIFEST.MF b/org.eclipse.m2e.core/META-INF/MANIFEST.MF
index cfc64bbf..f82f3bed 100644
--- a/org.eclipse.m2e.core/META-INF/MANIFEST.MF
+++ b/org.eclipse.m2e.core/META-INF/MANIFEST.MF
@@ -37,7 +37,7 @@ Export-Package: org.eclipse.m2e.core,
org.eclipse.m2e.core.internal.lifecyclemapping.model;x-internal:=true,
org.eclipse.m2e.core.internal.lifecyclemapping.model.io.xpp3;x-internal:=true,
org.eclipse.m2e.core.internal.markers;x-internal:=true,
- org.eclipse.m2e.core.internal.preferences;x-internal:=true,
+ org.eclipse.m2e.core.internal.preferences;x-friends:="org.eclipse.m2e.core.ui",
org.eclipse.m2e.core.internal.project;x-internal:=true,
org.eclipse.m2e.core.internal.project.conversion;x-internal:=true,
org.eclipse.m2e.core.internal.project.registry;x-internal:=true,
diff --git a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/preferences/MavenPreferenceInitializer.java b/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/preferences/MavenPreferenceInitializer.java
index 80688dc3..909577b1 100644
--- a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/preferences/MavenPreferenceInitializer.java
+++ b/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/preferences/MavenPreferenceInitializer.java
@@ -46,6 +46,7 @@ public class MavenPreferenceInitializer extends AbstractPreferenceInitializer {
store.putBoolean(MavenPreferenceConstants.P_UPDATE_PROJECTS, false);
store.putBoolean(MavenPreferenceConstants.P_HIDE_FOLDERS_OF_NESTED_PROJECTS, false);
+ store.putBoolean(MavenPreferenceConstants.P_DEFAULT_POM_EDITOR_PAGE, true);
store.putBoolean(MavenPreferenceConstants.P_SHOW_CONSOLE_ON_ERR, true);
store.putBoolean(MavenPreferenceConstants.P_SHOW_CONSOLE_ON_OUTPUT, false);