Maven Integration for Eclipse

Ability to re-use "Maven2/Enable" action from external Eclipse plug-ins

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 0.0.10
  • Fix Version/s: 0.0.11
  • Component/s: UI
  • Labels:
    None
  • Number of attachments :
    1

Description

Our company is developing corporative development environment that is based on Eclipse and Maven. We are interested to use your plug-in for integration with Maven. We have our own "new project" wizard and we want to integrate some of m2eclipse plug-in functionality into this wizard. Currently, we want to have "Maven support enabled" check-box in our wizard to automatically apply m2eclipse nature and functionality to our project. So, we want to declare dependency on your plug-in and re-use some of classes. But currently we cannot re-use your classes because your plug-in doesn't export any Java packages. Therefore I would like to change the plug-in manifest for the project "org.maven.ide.eclipse" in order to declare Java package "org.maven.ide.eclipse.actions" as exported. In this case I can use class "EnableNatureAction" to apply your functionality to our project. Also I want to declare method "enableNature" of class "EnableNatureAction" as public and static. Then I can re-use m2eclipe code without creation of action delegate object.

Attached patch contains all required changes.

Activity

Hide
Eugene Kuleshov added a comment -

Exported org.maven.ide.eclipse.embedder package should provide requested functionality. Maven2Plugin also provide access to the actual instances.

Show
Eugene Kuleshov added a comment - Exported org.maven.ide.eclipse.embedder package should provide requested functionality. Maven2Plugin also provide access to the actual instances.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: