void (ApplicationConfiguration applicationConfiguration, MavenRunConfiguration mavenRunConfiguration) { for (PredefinedLogFile file : applicationConfiguration.getPredefinedLogFiles()) { mavenRunConfiguration.addPredefinedLogFile(file); } for (LogFileOptions op : applicationConfiguration.getLogFiles()) { mavenRunConfiguration.addLogFile(op.getPathPattern(), op.getName(), op.isEnabled(), op.isSkipContent(), op.isShowAll()); } mavenRunConfiguration.setFileOutputPath(applicationConfiguration.getOutputFilePath()); mavenRunConfiguration.setSaveOutputToFile(applicationConfiguration.isSaveOutputToFile()); mavenRunConfiguration.setShowConsoleOnStdOut(applicationConfiguration.isShowConsoleOnStdOut()); mavenRunConfiguration.setShowConsoleOnStdErr(applicationConfiguration.isShowConsoleOnStdErr()); }