Inject Maven parameters to Plexus components

2017-05-24 Thread DK
Is it possible to Inject Maven paramaters into Plexus components I've tried this without success. Both repoSession and repositories are null @Component(role = ResolverComponent.class, instantiationStrategy = "per-lookup") public class ResolverComponent { @Requirement private Logger l

How can I get my Mojo to skip

2014-04-22 Thread DK
If I add the following to my Maven plugin configuration it still executes the plugin goal. Is there something I need to do in the Mojo code to obey the skip flag? com.my.maven.plugins my-maven-plugin 1.0-SNAPSHOT

Mojo MavenProject reload

2014-02-26 Thread DK
I'm looking for a way to refresh/reload the parent and child poms from within my Mojo i.e. @Component protected MavenProject project; This is required as part of my plugin after my Mojo switches to a different SCM branch. -- View this message in context: http://maven.40175.n5.nabble