Re: Running mojo programmatically without build

2010-08-06 Thread Olivier Lamy
Hi, You can have a look how it works here : https://svn.apache.org/repos/asf/maven/plugins/branches/maven-site-plugin-3.x/ 2010/8/6 Baruch Sadogursky : > Hi, folks! > > I am trying to run some mojo without executing the whole build. > In general here's what I do: > 1. Build PluginDescriptor from

Running mojo programmatically without build

2010-08-06 Thread Baruch Sadogursky
Hi, folks! I am trying to run some mojo without executing the whole build. In general here's what I do: 1. Build PluginDescriptor from META-INF/maven/plugin.xml 2. Build MavenSession 3. Add Mojo instance to Plexus 4. BuildPluginManager.executeMojo() For some reason the parameters in Mojo aren't p