Ram,
ExecutePomAction most likely is not the best/cleanest way to execute
maven lifecycle from m2e, but I would like to understand your usecase
better before suggesting anything. Can you please file enhancement
request in JIRA [1]?
In the meantime, you should be able to copy&paste ExecutePomAction and
MavenLaunchConstants to your code. You can find sources of these two
classes in me svn [2].
[1] http://jira.codehaus.org/browse/MNGECLIPSE
[2]
http://svn.sonatype.org/m2eclipse/branches/ibuild/org.maven.ide.eclipse.launching
--
Regards,
Igor
Ram Mohan wrote:
Hi,
Till the recent update of m2eclipse, I am using the ExecutePomAction
class in plugin "org.maven.ide.eclipse.launching".
After the update, it seems the permissions were set to "forbidden" for
the entire plugin. is there a way to use "ExecutePomAction" class even
with these permissions.
I use this class to execute maven life-cycle phases in my plugin.
are there a set of public APIs letting me do this task? If so, could you
please give me pointers.
are there any plans to change the permissions for this class?
Thanks,
Ram
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email