Accessing Maven programmatically from a plugin

Im trying to write a plugin that will use Maven to bundle OSGI modules.  Is there a way to access Maven programmatically? If i have the Maven plugin installed, can i use that code from my plugin or do i have to exec a maven command externally?  I couldnt find documentation, nor could i easily wade through the de-compiled code for the maven plugin.

1 comment

Please sign in to leave a comment.