Skip to content

Commit 289595f

Browse files
committed
Remove Maven Build shortcut
Now we show the launch configs in the menu already, the Run As > Maven Build can be removed as it is obsolete now: - if no config is there it is equivalent to the dialog variant - if there is a config it is already shown as menu item
1 parent 452b93f commit 289595f

File tree

2 files changed

+0
-24
lines changed

2 files changed

+0
-24
lines changed

org.eclipse.m2e.launching/plugin.xml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -46,29 +46,6 @@
4646
</extension>
4747

4848
<extension point="org.eclipse.debug.ui.launchShortcuts">
49-
<shortcut id="org.eclipse.m2e.core.pomFileAction"
50-
class="org.eclipse.m2e.actions.ExecutePomAction"
51-
icon="icons/m2.gif"
52-
label="%m2.popup.pomFile.label"
53-
modes="run,debug">
54-
<contextualLaunch>
55-
<contextLabel label="%m2.popup.pomFile.label" mode="run"/>
56-
<contextLabel label="%m2.popup.pomFile.label" mode="debug"/>
57-
<enablement>
58-
<count value="1"/>
59-
<iterate>
60-
<or>
61-
<adapt type="org.eclipse.core.resources.IFile">
62-
<test property="org.eclipse.core.resources.name" value="pom.xml"/>
63-
</adapt>
64-
<adapt type="org.eclipse.core.resources.IProject">
65-
<test property="org.eclipse.core.resources.projectNature" value="org.eclipse.m2e.core.maven2Nature"/>
66-
</adapt>
67-
</or>
68-
</iterate>
69-
</enablement>
70-
</contextualLaunch>
71-
</shortcut>
7249
<shortcut id="org.eclipse.m2e.core.pomFileActionWithDialog"
7350
class="org.eclipse.m2e.actions.ExecutePomAction:WITH_DIALOG"
7451
icon="icons/m2.gif"

org.eclipse.m2e.launching/src/org/eclipse/m2e/actions/ExecutePomAction.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ public class ExecutePomAction implements ILaunchShortcut, IExecutableExtension,
8383
private String goalName = null;
8484

8585
public void setInitializationData(IConfigurationElement config, String propertyName, Object data) {
86-
System.out.println("ExecutePomAction.setInitializationData()");
8786
if("WITH_DIALOG".equals(data)) { //$NON-NLS-1$
8887
this.showDialog = true;
8988
} else {

0 commit comments

Comments
 (0)