Hello, I developed a mojo that can be used to execute executions by id with their individual configuration. This is needed to execute plugins seperately if they are configured twice (i.e. the sql execute plugin) in a project.
With maven 3 this is now broken because of an UnsupportedOperationException of the deprecated PluginManager. Here's what I do: - I run maven in a project, passing the execution ids to my mojo - the mojo is checking the project's plugins for their configured executions - If the plugin has an execution configured I want to execute: I retrieve the plugin descriptor using the PluginManager (verifyPlugin()) and the Configuration from the Execution and create a MojoExecution - I execute the MojoExecution(s) with the PluginManager (executeMojo()). And BAAM! this is throwing the UnsupportedOperationException Is there a way introduced by Maven3 to execute executions by id (so I can get rid of my own plugin)? Is there an alternative way to execute the MojoExecution? I tried BuildPluginManager but this just won't do either. Thanks, Steffen --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
