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 populated with defalt values
and/or expressions (although the MojoDescriptor contains all the
parameters).

Versions:
Plexus container 1.5.4
BuildPluginManager, MavenPluginManager and MavenSession are from maven-core
3.0-beta-1
Mojo and Plugin Descriptors are from maven-plugin-api 3.0-beta-1

Any suggestions will be greatly appreciated.
Thanks in advance.
-- 
Best Regards,
Baruch

Reply via email to