/** * Configure the mojo with the given plexus configuration * * @param mojo * @param pluginConfiguration * @return a Mojo instance * @throws Exception */ protected Mojo configureMojo( Mojo mojo, PlexusConfiguration pluginConfiguration ) throws Exception { validateContainerStatus(); ExpressionEvaluator evaluator = new ResolverExpressionEvaluatorStub(); configurator.configureComponent( mojo, pluginConfiguration, evaluator, getContainer().getContainerRealm() ); return mojo; }
/** * Configure the mojo * * @param mojo * @param artifactId * @param pom * @return a Mojo instance * @throws Exception */ protected Mojo configureMojo( Mojo mojo, String artifactId, File pom ) throws Exception { validateContainerStatus(); PlexusConfiguration pluginConfiguration = extractPluginConfiguration( artifactId, pom ); ExpressionEvaluator evaluator = new ResolverExpressionEvaluatorStub(); configurator.configureComponent( mojo, pluginConfiguration, evaluator, getContainer().getContainerRealm() ); return mojo; }
throws Exception validateContainerStatus();
/** * Configure the mojo with the given plexus configuration * * @param mojo * @param pluginConfiguration * @return a Mojo instance * @throws Exception */ protected Mojo configureMojo( Mojo mojo, PlexusConfiguration pluginConfiguration ) throws Exception { validateContainerStatus(); ExpressionEvaluator evaluator = new ResolverExpressionEvaluatorStub(); configurator.configureComponent( mojo, pluginConfiguration, evaluator, getContainer().getContainerRealm() ); return mojo; }
/** * Configure the mojo * * @param mojo * @param artifactId * @param pom * @return a Mojo instance * @throws Exception */ protected Mojo configureMojo( Mojo mojo, String artifactId, File pom ) throws Exception { validateContainerStatus(); PlexusConfiguration pluginConfiguration = extractPluginConfiguration( artifactId, pom ); ExpressionEvaluator evaluator = new ResolverExpressionEvaluatorStub(); configurator.configureComponent( mojo, pluginConfiguration, evaluator, getContainer().getContainerRealm() ); return mojo; }