Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilos Kleint2011-02-18 12:23:28 -0500
committerMilos Kleint2011-02-18 12:24:55 -0500
commite68022dc9bd22a8d03dca7ebedbf587630d6a0d8 (patch)
treeece1f62c9d1863814f071b637596b2e689c8a9b3 /org.eclipse.m2e.refactoring/plugin.xml
parent936a2a78cf096696689ce4876381e47cda9c87d9 (diff)
downloadm2e-core-e68022dc9bd22a8d03dca7ebedbf587630d6a0d8.tar.gz
m2e-core-e68022dc9bd22a8d03dca7ebedbf587630d6a0d8.tar.xz
m2e-core-e68022dc9bd22a8d03dca7ebedbf587630d6a0d8.zip
337186 have a simple refactoring for setting a version of transitive dependency
Diffstat (limited to 'org.eclipse.m2e.refactoring/plugin.xml')
-rw-r--r--org.eclipse.m2e.refactoring/plugin.xml20
1 files changed, 13 insertions, 7 deletions
diff --git a/org.eclipse.m2e.refactoring/plugin.xml b/org.eclipse.m2e.refactoring/plugin.xml
index 651902a3..64f1fa54 100644
--- a/org.eclipse.m2e.refactoring/plugin.xml
+++ b/org.eclipse.m2e.refactoring/plugin.xml
@@ -49,27 +49,33 @@
label="%action.exclude1.label"
menubarPath="additions"/>
</objectContribution>
+
<objectContribution
- id="org.eclipse.m2e.refactoring.exclude.dependencyContributor"
- objectClass="org.apache.maven.shared.dependency.tree.DependencyNode"
+ id="org.eclipse.m2e.refactoring.exclude.dependencyContributorAether"
+ objectClass="org.sonatype.aether.graph.DependencyNode"
adaptable="true">
<action id="org.eclipse.m2e.projectMenu.action"
class="org.eclipse.m2e.refactoring.exclude.DependencyExcludeAction"
enablesFor="+"
icon="icons/exclude.gif"
- label="%action.exclude2.label"
+ label="%action.exclude3.label"
menubarPath="additions"/>
</objectContribution>
+
<objectContribution
- id="org.eclipse.m2e.refactoring.exclude.dependencyContributorAether"
+ id="org.eclipse.m2e.refactoring.set.dependencyContributorAether"
objectClass="org.sonatype.aether.graph.DependencyNode"
adaptable="true">
- <action id="org.eclipse.m2e.projectMenu.action"
- class="org.eclipse.m2e.refactoring.exclude.DependencyExcludeAction"
+ <action id="org.eclipse.m2e.projectMenu.depSetAction"
+ class="org.eclipse.m2e.refactoring.dependencyset.DependencySetAction"
enablesFor="+"
icon="icons/exclude.gif"
- label="%action.exclude3.label"
+ label="Lock Transitive Dependency Version..."
menubarPath="additions"/>
+ <enablement>
+ <test property="org.eclipse.m2e.isTransitiveDependencyTreeNode"/>
+ </enablement>
+
</objectContribution>

Back to the top