Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.m2e.core/plugin.xml2
-rw-r--r--org.eclipse.m2e.core/src/org/eclipse/m2e/core/actions/MavenPropertyTester.java17
-rw-r--r--org.eclipse.m2e.editor.xml/OSGI-INF/l10n/bundle.properties2
-rw-r--r--org.eclipse.m2e.editor/OSGI-INF/l10n/bundle.properties3
-rw-r--r--org.eclipse.m2e.editor/plugin.xml37
-rw-r--r--org.eclipse.m2e.jdt/plugin.properties8
-rw-r--r--org.eclipse.m2e.jdt/plugin.xml281
-rw-r--r--org.eclipse.m2e.refactoring/plugin.xml35
8 files changed, 375 insertions, 10 deletions
diff --git a/org.eclipse.m2e.core/plugin.xml b/org.eclipse.m2e.core/plugin.xml
index 8fa6a034..e0842f84 100644
--- a/org.eclipse.m2e.core/plugin.xml
+++ b/org.eclipse.m2e.core/plugin.xml
@@ -646,7 +646,7 @@
id="org.eclipse.m2e.core.MavenPropertyTester"
class="org.eclipse.m2e.core.actions.MavenPropertyTester"
namespace="org.eclipse.m2e"
- properties="launchable,workspaceResulutionEnable"
+ properties="launchable,workspaceResulutionEnable,hasArtifactKey,hasProjectArtifactKey"
type="org.eclipse.core.runtime.IAdaptable"/>
</extension>
diff --git a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/actions/MavenPropertyTester.java b/org.eclipse.m2e.core/src/org/eclipse/m2e/core/actions/MavenPropertyTester.java
index fd119878..d96681f7 100644
--- a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/actions/MavenPropertyTester.java
+++ b/org.eclipse.m2e.core/src/org/eclipse/m2e/core/actions/MavenPropertyTester.java
@@ -20,6 +20,7 @@ import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.m2e.core.MavenPlugin;
import org.eclipse.m2e.core.core.IMavenConstants;
+import org.eclipse.m2e.core.embedder.ArtifactKey;
import org.eclipse.m2e.core.project.IMavenProjectFacade;
import org.eclipse.m2e.core.project.MavenProjectManager;
import org.eclipse.m2e.core.project.ResolverConfiguration;
@@ -71,6 +72,22 @@ public class MavenPropertyTester extends PropertyTester {
}
return enableWorkspaceResolution;
}
+
+ if ("hasArtifactKey".equals(property)) {
+ ArtifactKey ak = SelectionUtil.getType(receiver, ArtifactKey.class);
+ return ak != null;
+ }
+ if ("hasProjectArtifactKey".equals(property)) {
+ ArtifactKey key = SelectionUtil.getType(receiver, ArtifactKey.class);
+ if(key != null) {
+ MavenProjectManager projectManager = MavenPlugin.getDefault().getMavenProjectManager();
+ IMavenProjectFacade mavenProject = null;
+ mavenProject = projectManager.getMavenProject( //
+ key.getGroupId(), key.getArtifactId(), key.getVersion());
+ return mavenProject != null;
+ }
+ }
+
return false;
}
diff --git a/org.eclipse.m2e.editor.xml/OSGI-INF/l10n/bundle.properties b/org.eclipse.m2e.editor.xml/OSGI-INF/l10n/bundle.properties
index c9e06c84..0d4a288d 100644
--- a/org.eclipse.m2e.editor.xml/OSGI-INF/l10n/bundle.properties
+++ b/org.eclipse.m2e.editor.xml/OSGI-INF/l10n/bundle.properties
@@ -63,4 +63,4 @@ template.tools.name = tools.jar
template.tools2.description = Path to the tools.jar
template.tools2.name = tools.jar
keyword.label = maven
-page.name = Templates \ No newline at end of file
+page.name = Templates
diff --git a/org.eclipse.m2e.editor/OSGI-INF/l10n/bundle.properties b/org.eclipse.m2e.editor/OSGI-INF/l10n/bundle.properties
index 33f916c9..130c1c08 100644
--- a/org.eclipse.m2e.editor/OSGI-INF/l10n/bundle.properties
+++ b/org.eclipse.m2e.editor/OSGI-INF/l10n/bundle.properties
@@ -5,4 +5,5 @@ editor.name = Maven POM Editor
page.name = POM Editor
extension-point.pageFactory.name = Maven POM editor page factory
extension-point.lifecycleMapping.name = Lifecycle Mapping Editor Contribution
-extension-point.pluginConfiguration.name = Plugin Configuration Editor Contribution \ No newline at end of file
+extension-point.pluginConfiguration.name = Plugin Configuration Editor Contribution
+m2.popup.showHieararchy=Show Dependency Hierarchy \ No newline at end of file
diff --git a/org.eclipse.m2e.editor/plugin.xml b/org.eclipse.m2e.editor/plugin.xml
index 9a5f777e..04731592 100644
--- a/org.eclipse.m2e.editor/plugin.xml
+++ b/org.eclipse.m2e.editor/plugin.xml
@@ -24,9 +24,42 @@
</editor>
</extension>
- <extension point="org.eclipse.m2e.core.m2menu">
+ <!--extension point="org.eclipse.m2e.core.m2menu">
<factory class="org.eclipse.m2e.editor.internal.actions.PomEditorMenuCreator"/>
- </extension>
+ </extension-->
+
+ <extension point="org.eclipse.ui.popupMenus">
+
+ <objectContribution id="org.eclipse.m2e.classpathMenuWrapper.showDependencyHierarchy"
+ objectClass="org.eclipse.jdt.internal.ui.packageview.ClassPathContainer$RequiredProjectWrapper"
+ adaptable="true">
+ <action id="org.eclipse.m2e.ShowDependencyHierarchy"
+ class="org.eclipse.m2e.editor.internal.actions.ShowDependencyHierarchyAction"
+ label="%m2.popup.showHieararchy"
+ style="push"
+ menubarPath="org.eclipse.m2e.classpathMenuWrapper/open"
+ enablesFor="+"/>
+ <enablement>
+ <test property="org.eclipse.m2e.hasProjectArtifactKey"/>
+ </enablement>
+ </objectContribution>
+
+ <objectContribution id="org.eclipse.m2e.classpathMenu.showDependencyHierarchy"
+ objectClass="org.eclipse.jdt.core.IPackageFragmentRoot"
+ adaptable="true">
+ <action id="org.eclipse.m2e.ShowDependencyHierarchy"
+ class="org.eclipse.m2e.editor.internal.actions.ShowDependencyHierarchyAction"
+ label="%m2.popup.showHieararchy"
+ style="push"
+ menubarPath="org.eclipse.m2e.classpathMenu/open"
+ enablesFor="+"/>
+ <enablement>
+ <test property="org.eclipse.m2e.hasProjectArtifactKey"/>
+ </enablement>
+ </objectContribution>
+
+ </extension>
+
<extension point="org.eclipse.ui.preferencePages">
<page id="org.eclipse.m2e.editor.pom.PomEditorPreferencePage"
category="org.eclipse.m2e.core.preferences.Maven2PreferencePage"
diff --git a/org.eclipse.m2e.jdt/plugin.properties b/org.eclipse.m2e.jdt/plugin.properties
index 0632c840..65fb6859 100644
--- a/org.eclipse.m2e.jdt/plugin.properties
+++ b/org.eclipse.m2e.jdt/plugin.properties
@@ -13,7 +13,13 @@ m2.classpath-container.page.dependencies.name=Maven Managed Dependencies
m2.popup.menu.label=Maven
m2.popup.DownloadSourcesAction.downloadSource=Download Sources
m2.popup.DownloadSourcesAction.downloadJavaDoc=Download JavaDoc
-
+m2.popup.OpenUrlAction.openCiPage=Open Continuous Integration
+m2.popup.OpenUrlAction.openScmPage=Open Source Control
+m2.popup.OpenUrlAction.openIssuesPage=Open Issue Tracker
+m2.popup.OpenUrlAction.openProjectPage=Open Project Page
+m2.popup.OpenPomAction=Open POM
+m2.popup.OpenJavaDoc=Open JavaDoc
+m2.popup.MaterializeAction=Import Project(s)
Bundle-Vendor = Eclipse.org - m2e
Bundle-Name = Maven Integration for Eclipse JDT
diff --git a/org.eclipse.m2e.jdt/plugin.xml b/org.eclipse.m2e.jdt/plugin.xml
index 30cfc129..727ac674 100644
--- a/org.eclipse.m2e.jdt/plugin.xml
+++ b/org.eclipse.m2e.jdt/plugin.xml
@@ -77,9 +77,9 @@
</factory>
</extension>
- <extension point="org.eclipse.m2e.core.m2menu">
+ <!--extension point="org.eclipse.m2e.core.m2menu">
<factory class="org.eclipse.m2e.jdt.internal.ui.MavenJdtMenuCreator"/>
- </extension>
+ </extension-->
<extension point="org.eclipse.jdt.ui.javaElementFilters">
<filter id="org.eclipse.m2e.MavenModuleFilter"
@@ -122,6 +122,141 @@
<groupMarker name="import"/>
</menu>
</objectContribution>
+ <objectContribution id="org.eclipse.m2e.classpathMenu.downloadSourcesAction"
+ objectClass="org.eclipse.jdt.core.IPackageFragmentRoot"
+ adaptable="true">
+ <action id="org.eclipse.m2e.downloadSourcesAction"
+ class="org.eclipse.m2e.jdt.internal.actions.DownloadSourcesAction:downloadSources"
+ label="%m2.popup.DownloadSourcesAction.downloadSource"
+ style="push"
+ menubarPath="org.eclipse.m2e.classpathMenu/update"
+ enablesFor="+"/>
+ <enablement>
+ <and>
+ <test property="org.eclipse.m2e.hasArtifactKey"/>
+ <not>
+ <test property="org.eclipse.m2e.hasProjectArtifactKey"/>
+ </not>
+ </and>
+ </enablement>
+ </objectContribution>
+ <objectContribution id="org.eclipse.m2e.classpathMenu.downloadJavadocAction"
+ objectClass="org.eclipse.jdt.core.IPackageFragmentRoot"
+ adaptable="true">
+ <action id="org.eclipse.m2e.downloadSourcesAction"
+ class="org.eclipse.m2e.jdt.internal.actions.DownloadSourcesAction:downloadJavaDoc"
+ label="%m2.popup.DownloadSourcesAction.downloadJavaDoc"
+ style="push"
+ menubarPath="org.eclipse.m2e.classpathMenu/update"
+ enablesFor="+"/>
+ <enablement>
+ <and>
+ <test property="org.eclipse.m2e.hasArtifactKey"/>
+ <not>
+ <test property="org.eclipse.m2e.hasProjectArtifactKey"/>
+ </not>
+ </and>
+ </enablement>
+ </objectContribution>
+
+ <objectContribution id="org.eclipse.m2e.classpathMenu.openJavadocAction"
+ objectClass="org.eclipse.jdt.core.IPackageFragmentRoot"
+ adaptable="true">
+ <action id="org.eclipse.m2e.openJavaDocAction"
+ class="org.eclipse.m2e.jdt.internal.actions.OpenJavaDocAction"
+ label="%m2.popup.OpenJavaDoc"
+ style="push"
+ menubarPath="org.eclipse.m2e.classpathMenu/open"
+ enablesFor="+"/>
+ <enablement>
+ <test property="org.eclipse.m2e.hasArtifactKey"/>
+ </enablement>
+ </objectContribution>
+
+ <objectContribution id="org.eclipse.m2e.classpathMenu.openCiPage"
+ objectClass="org.eclipse.jdt.core.IPackageFragmentRoot"
+ adaptable="true">
+ <action id="org.eclipse.m2e.openCiPage"
+ class="org.eclipse.m2e.core.actions.OpenUrlAction:org.eclipse.m2e.openCiPage"
+ label="%m2.popup.OpenUrlAction.openCiPage"
+ style="push"
+ menubarPath="org.eclipse.m2e.classpathMenu/open"
+ enablesFor="+"/>
+ <enablement>
+ <test property="org.eclipse.m2e.hasArtifactKey"/>
+ </enablement>
+ </objectContribution>
+ <objectContribution id="org.eclipse.m2e.classpathMenu.openScmPage"
+ objectClass="org.eclipse.jdt.core.IPackageFragmentRoot"
+ adaptable="true">
+ <action id="org.eclipse.m2e.openScmPage"
+ class="org.eclipse.m2e.core.actions.OpenUrlAction:org.eclipse.m2e.openScmPage"
+ label="%m2.popup.OpenUrlAction.openScmPage"
+ style="push"
+ menubarPath="org.eclipse.m2e.classpathMenu/open"
+ enablesFor="+"/>
+ <enablement>
+ <test property="org.eclipse.m2e.hasArtifactKey"/>
+ </enablement>
+ </objectContribution>
+ <objectContribution id="org.eclipse.m2e.classpathMenu.openIssuesPage"
+ objectClass="org.eclipse.jdt.core.IPackageFragmentRoot"
+ adaptable="true">
+ <action id="org.eclipse.m2e.openIssuesPage"
+ class="org.eclipse.m2e.core.actions.OpenUrlAction:org.eclipse.m2e.openIssuesPage"
+ label="%m2.popup.OpenUrlAction.openIssuesPage"
+ style="push"
+ menubarPath="org.eclipse.m2e.classpathMenu/open"
+ enablesFor="+"/>
+ <enablement>
+ <test property="org.eclipse.m2e.hasArtifactKey"/>
+ </enablement>
+ </objectContribution>
+ <objectContribution id="org.eclipse.m2e.classpathMenu.openProjectPage"
+ objectClass="org.eclipse.jdt.core.IPackageFragmentRoot"
+ adaptable="true">
+ <action id="org.eclipse.m2e.openProjectPage"
+ class="org.eclipse.m2e.core.actions.OpenUrlAction:org.eclipse.m2e.openProjectPage"
+ label="%m2.popup.OpenUrlAction.openProjectPage"
+ style="push"
+ menubarPath="org.eclipse.m2e.classpathMenu/open"
+ enablesFor="+"/>
+ <enablement>
+ <test property="org.eclipse.m2e.hasArtifactKey"/>
+ </enablement>
+ </objectContribution>
+
+ <objectContribution id="org.eclipse.m2e.classpathMenu.openPomAction"
+ objectClass="org.eclipse.jdt.core.IPackageFragmentRoot"
+ adaptable="true">
+ <action id="org.eclipse.m2e.openPomAction"
+ class="org.eclipse.m2e.core.actions.OpenPomAction"
+ label="%m2.popup.OpenPomAction"
+ style="push"
+ menubarPath="org.eclipse.m2e.classpathMenu/open"
+ enablesFor="+"/>
+ <enablement>
+ <test property="org.eclipse.m2e.hasArtifactKey"/>
+ </enablement>
+ </objectContribution>
+ <objectContribution id="org.eclipse.m2e.classpathMenu.materializeAction"
+ objectClass="org.eclipse.jdt.core.IPackageFragmentRoot"
+ adaptable="true">
+ <action id="org.eclipse.m2e.materializeAction"
+ class="org.eclipse.m2e.core.actions.MaterializeAction"
+ label="%m2.popup.MaterializeAction"
+ style="push"
+ menubarPath="org.eclipse.m2e.classpathMenu/import"
+ enablesFor="+"/>
+ <enablement>
+ <and>
+ <test property="org.eclipse.m2e.hasArtifactKey"/>
+ <not>
+ <test property="org.eclipse.m2e.hasProjectArtifactKey"/>
+ </not>
+ </and>
+ </enablement>
+ </objectContribution>
<!--
NOW WE HAVE CLASSPATH MENU WRAPPER CONTRIBUTIONS
@@ -144,6 +279,148 @@
<groupMarker name="import"/>
</menu>
</objectContribution>
+
+ <objectContribution id="org.eclipse.m2e.classpathMenuWrapper.downloadSourcesAction"
+ objectClass="org.eclipse.jdt.internal.ui.packageview.ClassPathContainer$RequiredProjectWrapper"
+ adaptable="true">
+ <action id="org.eclipse.m2e.downloadSourcesAction"
+ class="org.eclipse.m2e.jdt.internal.actions.DownloadSourcesAction:downloadSources"
+ label="%m2.popup.DownloadSourcesAction.downloadSource"
+ style="push"
+ menubarPath="org.eclipse.m2e.classpathMenuWrapper/update"
+ enablesFor="+"/>
+ <enablement>
+ <and>
+ <test property="org.eclipse.m2e.hasArtifactKey"/>
+ <not>
+ <test property="org.eclipse.m2e.hasProjectArtifactKey"/>
+ </not>
+ </and>
+ </enablement>
+ </objectContribution>
+ <objectContribution id="org.eclipse.m2e.classpathMenuWrapper.downloadJavadocAction"
+ objectClass="org.eclipse.jdt.internal.ui.packageview.ClassPathContainer$RequiredProjectWrapper"
+ adaptable="true">
+ <action id="org.eclipse.m2e.downloadSourcesAction"
+ class="org.eclipse.m2e.jdt.internal.actions.DownloadSourcesAction:downloadJavaDoc"
+ label="%m2.popup.DownloadSourcesAction.downloadJavaDoc"
+ style="push"
+ menubarPath="org.eclipse.m2e.classpathMenuWrapper/update"
+ enablesFor="+"/>
+ <enablement>
+ <and>
+ <test property="org.eclipse.m2e.hasArtifactKey"/>
+ <not>
+ <test property="org.eclipse.m2e.hasProjectArtifactKey"/>
+ </not>
+ </and>
+ </enablement>
+ </objectContribution>
+
+ <objectContribution id="org.eclipse.m2e.classpathMenuWrapper.openJavadocAction"
+ objectClass="org.eclipse.jdt.internal.ui.packageview.ClassPathContainer$RequiredProjectWrapper"
+ adaptable="true">
+ <action id="org.eclipse.m2e.openJavaDocAction"
+ class="org.eclipse.m2e.jdt.internal.actions.OpenJavaDocAction"
+ label="%m2.popup.OpenJavaDoc"
+ style="push"
+ menubarPath="org.eclipse.m2e.classpathMenuWrapper/open"
+ enablesFor="+"/>
+ <enablement>
+ <test property="org.eclipse.m2e.hasArtifactKey"/>
+ </enablement>
+ </objectContribution>
+
+ <objectContribution id="org.eclipse.m2e.classpathMenuWrapper.openCiPage"
+ objectClass="org.eclipse.jdt.internal.ui.packageview.ClassPathContainer$RequiredProjectWrapper"
+ adaptable="true">
+ <action id="org.eclipse.m2e.openCiPage"
+ class="org.eclipse.m2e.core.actions.OpenUrlAction:org.eclipse.m2e.openCiPage"
+ label="%m2.popup.OpenUrlAction.openCiPage"
+ style="push"
+ menubarPath="org.eclipse.m2e.classpathMenuWrapper/open"
+ enablesFor="+"/>
+ <enablement>
+ <test property="org.eclipse.m2e.hasArtifactKey"/>
+ </enablement>
+ </objectContribution>
+ <objectContribution id="org.eclipse.m2e.classpathMenuWrapper.openScmPage"
+ objectClass="org.eclipse.jdt.internal.ui.packageview.ClassPathContainer$RequiredProjectWrapper"
+ adaptable="true">
+ <action id="org.eclipse.m2e.openScmPage"
+ class="org.eclipse.m2e.core.actions.OpenUrlAction:org.eclipse.m2e.openScmPage"
+ label="%m2.popup.OpenUrlAction.openScmPage"
+ style="push"
+ menubarPath="org.eclipse.m2e.classpathMenuWrapper/open"
+ enablesFor="+"/>
+ <enablement>
+ <test property="org.eclipse.m2e.hasArtifactKey"/>
+ </enablement>
+ </objectContribution>
+ <objectContribution id="org.eclipse.m2e.classpathMenuWrapper.openIssuesPage"
+ objectClass="org.eclipse.jdt.internal.ui.packageview.ClassPathContainer$RequiredProjectWrapper"
+ adaptable="true">
+ <action id="org.eclipse.m2e.openIssuesPage"
+ class="org.eclipse.m2e.core.actions.OpenUrlAction:org.eclipse.m2e.openIssuesPage"
+ label="%m2.popup.OpenUrlAction.openIssuesPage"
+ style="push"
+ menubarPath="org.eclipse.m2e.classpathMenuWrapper/open"
+ enablesFor="+"/>
+ <enablement>
+ <test property="org.eclipse.m2e.hasArtifactKey"/>
+ </enablement>
+ </objectContribution>
+ <objectContribution id="org.eclipse.m2e.classpathMenuWrapper.openProjectPage"
+ objectClass="org.eclipse.jdt.internal.ui.packageview.ClassPathContainer$RequiredProjectWrapper"
+ adaptable="true">
+ <action id="org.eclipse.m2e.openProjectPage"
+ class="org.eclipse.m2e.core.actions.OpenUrlAction:org.eclipse.m2e.openProjectPage"
+ label="%m2.popup.OpenUrlAction.openProjectPage"
+ style="push"
+ menubarPath="org.eclipse.m2e.classpathMenuWrapper/open"
+ enablesFor="+"/>
+ <enablement>
+ <test property="org.eclipse.m2e.hasArtifactKey"/>
+ </enablement>
+ </objectContribution>
+
+ <objectContribution id="org.eclipse.m2e.classpathMenuWrapper.openPomAction"
+ objectClass="org.eclipse.jdt.internal.ui.packageview.ClassPathContainer$RequiredProjectWrapper"
+ adaptable="true">
+ <action id="org.eclipse.m2e.openPomAction"
+ class="org.eclipse.m2e.core.actions.OpenPomAction"
+ label="%m2.popup.OpenPomAction"
+ style="push"
+ menubarPath="org.eclipse.m2e.classpathMenuWrapper/open"
+ enablesFor="+"/>
+ <enablement>
+ <test property="org.eclipse.m2e.hasArtifactKey"/>
+ </enablement>
+ </objectContribution>
+ <objectContribution id="org.eclipse.m2e.classpathMenuWrapper.materializeAction"
+ objectClass="org.eclipse.jdt.internal.ui.packageview.ClassPathContainer$RequiredProjectWrapper"
+ adaptable="true">
+ <action id="org.eclipse.m2e.materializeAction"
+ class="org.eclipse.m2e.core.actions.MaterializeAction"
+ label="%m2.popup.MaterializeAction"
+ style="push"
+ menubarPath="org.eclipse.m2e.classpathMenuWrapper/import"
+ enablesFor="+"/>
+ <enablement>
+ <and>
+ <test property="org.eclipse.m2e.hasArtifactKey"/>
+ <not>
+ <test property="org.eclipse.m2e.hasProjectArtifactKey"/>
+ </not>
+ </and>
+ </enablement>
+ </objectContribution>
+
+
+
+
+
+
<objectContribution id="org.eclipse.m2e.downloadSourcesAction"
objectClass="org.eclipse.core.resources.IProject"
diff --git a/org.eclipse.m2e.refactoring/plugin.xml b/org.eclipse.m2e.refactoring/plugin.xml
index 4f7f09e0..f7bf62fa 100644
--- a/org.eclipse.m2e.refactoring/plugin.xml
+++ b/org.eclipse.m2e.refactoring/plugin.xml
@@ -71,10 +71,41 @@
label="%action.exclude3.label"
menubarPath="additions"/>
</objectContribution>
+
+
+ <objectContribution id="org.eclipse.m2e.refactoring.DependencyExclude"
+ objectClass="org.eclipse.jdt.core.IPackageFragmentRoot"
+ adaptable="true">
+ <action id="org.eclipse.m2e.refactoring.DependencyExclude"
+ class="org.eclipse.m2e.refactoring.exclude.DependencyExcludeAction"
+ label="%action.exclude3.label"
+ icon="icons/exclude.gif"
+ style="push"
+ menubarPath="org.eclipse.m2e.classpathMenu/open"
+ enablesFor="1"/>
+ <enablement>
+ <test property="org.eclipse.m2e.hasArtifactKey"/>
+ </enablement>
+ </objectContribution>
+ <objectContribution id="org.eclipse.m2e.refactoring.DependencyExclude2"
+ objectClass="org.eclipse.jdt.internal.ui.packageview.ClassPathContainer$RequiredProjectWrapper"
+ adaptable="true">
+ <action id="org.eclipse.m2e.refactoring.DependencyExclude"
+ class="org.eclipse.m2e.refactoring.exclude.DependencyExcludeAction"
+ label="%action.exclude3.label"
+ icon="icons/exclude.gif"
+ style="push"
+ menubarPath="org.eclipse.m2e.classpathMenuWrapper/open"
+ enablesFor="1"/>
+ <enablement>
+ <test property="org.eclipse.m2e.hasArtifactKey"/>
+ </enablement>
+ </objectContribution>
+
</extension>
- <extension point="org.eclipse.m2e.core.m2menu">
+ <!--extension point="org.eclipse.m2e.core.m2menu">
<factory class="org.eclipse.m2e.refactoring.internal.RefactoringMavenMenuCreator"/>
- </extension>
+ </extension-->
</plugin>

Back to the top