You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Eugene Kuleshov (JIRA)" <ji...@codehaus.org> on 2006/01/13 18:17:01 UTC
[jira] Commented: (MNGECLIPSE-14) Maven enable menu not present on
project
[ http://jira.codehaus.org/browse/MNGECLIPSE-14?page=comments#action_55717 ]
Eugene Kuleshov commented on MNGECLIPSE-14:
-------------------------------------------
>From the mail list:
Subject: [m2eclipse-user] Java Project Nature is required to see Maven menu's
Date: Fri, 16 Dec 2005 12:02:33 +1030
From: Treloar, Barrie (SAPOL) ***
Reply-To: user@m2eclipse.codehaus.org
To: 'user@m2eclipse.codehaus.org' <us...@m2eclipse.codehaus.org>
I was wondering why the menu wasn't coming up so I took a peek at plugin.xml and noticed that the menus are only visible if it is a java project.
What happens in the case where this is the parent pom and therefore a simple project, or a site project.
So I hacked the file to remove the need for the java nature before the Maven menu is shown.
<objectContribution
adaptable="true"
objectClass="org.eclipse.core.resources.IProject"
id="org.maven.ide.eclipse.projectMenus">
<visibility>
<not>
<objectState name="nature"
value="org.maven.ide.eclipse.maven2Nature">
</objectState>
</not>
</visibility>
<action
class="org.maven.ide.eclipse.actions.ToggleNatureAction"
id="org.maven.ide.eclipse.enableAction"
label="%m2.popup.project.enable.label"
menubarPath="maven2/enable">
</action>
</objectContribution>
> Maven enable menu not present on project
> ----------------------------------------
>
> Key: MNGECLIPSE-14
> URL: http://jira.codehaus.org/browse/MNGECLIPSE-14
> Project: Maven 2.x Plug-in for Eclipse
> Type: Bug
> Versions: 0.0.3
> Environment: Windows XP SP2, Eclipse 3.1 + MyEclipse IDE 4.0 + JTest 7.5 + ClearCase SCM + EMF + GEF + UML2
> Reporter: Ed Van Horne
> Assignee: Eugene Kuleshov
> Priority: Minor
> Fix For: 0.0.4
>
>
> I installed Maven 2.x plug-in version 0.0.3. The preferences menu for Maven2 is present, but the context menu for projects does not show Maven2 so I cannot enable Maven 2. Could not find any user document beyond the flash demonstrations. For example, the meaning of the Maven preferences is undocumented, so far as I can tell.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org