protected void addTransientActionsFromBuild(MavenModuleSetBuild build, List<Action> collection, Set<Class> added) { if(build==null) return; for (Action a : build.getActions()) if(a instanceof MavenAggregatedReport) if(added.add(a.getClass())) collection.add(((MavenAggregatedReport)a).getProjectAction(this)); List<MavenReporter> list = build.projectActionReporters; if(list==null) return; for (MavenReporter step : list) { if(!added.add(step.getClass())) continue; // already added Action a = step.getAggregatedProjectAction(this); if(a!=null) collection.add(a); } }
protected void addTransientActionsFromBuild(MavenModuleSetBuild build, List<Action> collection, Set<Class> added) { if(build==null) return; for (Action a : build.getActions()) if(a instanceof MavenAggregatedReport) if(added.add(a.getClass())) collection.add(((MavenAggregatedReport)a).getProjectAction(this)); List<MavenReporter> list = build.projectActionReporters; if(list==null) return; for (MavenReporter step : list) { if(!added.add(step.getClass())) continue; // already added Action a = step.getAggregatedProjectAction(this); if(a!=null) collection.add(a); } }
getActions().add(new NeedsFullBuildAction()); getActions().add(new NeedsFullBuildAction());
boolean modified = false; List<Action> actions = getActions(); Set<Class<? extends AggregatableAction>> individuals = new HashSet<Class<? extends AggregatableAction>>(); for (Action a : actions) {
boolean modified = false; List<Action> actions = getActions(); Set<Class<? extends AggregatableAction>> individuals = new HashSet<>(); for (Action a : actions) {
if (action == null) { action = new UnbuiltModuleAction(); moduleSetBuild.getActions().add(action); if (action == null) { action = new UnbuiltModuleAction(); moduleSetBuild.getActions().add(action);
final List<MavenArgumentInterceptorAction> argInterceptors = this.getBuild().getActions(MavenArgumentInterceptorAction.class); } finally { builder.end(launcher); getActions().remove(mpa); process.discard();
} finally { maven3Builder.end(launcher); getActions().remove(mpa); process.discard(); } finally { builder.end(launcher); getActions().remove(mpa); process.discard();