On Fri, Sep 17, 2010 at 7:35 PM, Olivier Lamy <[email protected]> wrote: > You can have a look at the site plugin 3.x branch [1] to understand > how to do it.
Hi Olivier, thanks for the pointer. I've done 2 things different in my maven 2 version and I adjusted it according to your Mojo: - I used the PluginManager to execute. New options are BuildPluginManager or LifecycleExecutor, which uses forking. Since I do not understand the way I can execute the mojoExecutions forked, I use BuildPluginManager which does the trick. Or do you suggest to use forking? I'm asking because, if that is the right way: why isn't the PluginManager delegating to BuildPluginManager.executeMojo() instead of throwing UnsupportedOperationException? - I directly passed MojoDescriptor and Plugin Execution Configuration to the MojoExecution. You additionally converted and merged their plexusConfiguration. Can't that be done internally by the BuildPluginManager for less regression? Thanks, Steffen --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
