@Override protected void customizeContext(Context ctx) { super.customizeContext(ctx); try { System.setProperty( "plexus." + WORK_CONFIGURATION_KEY, (String) ctx.get(WORK_CONFIGURATION_KEY)); } catch (Exception e) { throw new RuntimeException(e); } }
public void contextualize(final Context context) throws ContextException { this.context = context; this.container = (PlexusContainer) context.get(PlexusConstants.PLEXUS_KEY); }
private void configure() throws ContextException { configFileURL = (URL) context.get(Constants.CONFIG_FILE_CONTEXT); log = (Log) context.get(Constants.LOG_CONTEXT); mavenSession = (MavenSession) context.get(Constants.MAVEN_SESSION_CONTEXT); }
public void contextualize(Context ctx) throws ContextException { plexus = (PlexusContainer) ctx.get(PlexusConstants.PLEXUS_KEY); }