List of usage examples for org.apache.maven.plugin MojoExecution setForkedExecutions
public void setForkedExecutions(String projectKey, List<MojoExecution> forkedExecutions)
From source file:net.oneandone.maven.plugins.prerelease.util.FilteringMojoExecutor.java
License:Apache License
private List<MojoExecution> filter(boolean nested, List<MojoExecution> orig) { List<MojoExecution> result; result = new ArrayList<>(); for (MojoExecution execution : orig) { if (filter.include(nested, execution)) { result.add(execution);//from w w w .j a v a 2 s. c o m for (Map.Entry<String, List<MojoExecution>> entry : execution.getForkedExecutions().entrySet()) { execution.setForkedExecutions(entry.getKey(), filter(true, entry.getValue())); } } } return result; }