Details
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.
Exported org.maven.ide.eclipse.embedder package should provide requested functionality. Maven2Plugin also provide access to the actual instances.