diff --git a/src/main/java/io/gatling/mojo/RecorderMojo.java b/src/main/java/io/gatling/mojo/RecorderMojo.java index 02556f4..a7f2e17 100644 --- a/src/main/java/io/gatling/mojo/RecorderMojo.java +++ b/src/main/java/io/gatling/mojo/RecorderMojo.java @@ -56,7 +56,9 @@ public final class RecorderMojo extends AbstractGatlingMojo { public void execute() throws MojoExecutionException, MojoFailureException { List testResourcesDirectories = - mavenProject.getTestResources().stream().map(Resource::getDirectory).map(Path::of) + mavenProject.getTestResources().stream() + .map(Resource::getDirectory) + .map(Path::of) .filter(Files::isDirectory) .collect(Collectors.toList()); @@ -106,7 +108,8 @@ public void execute() throws MojoExecutionException, MojoFailureException { try { List testClasspath = buildTestClasspath(); - List recorderArgs = recorderArgs(simulationsDirectory, format, testResourcesDirectory); + List recorderArgs = + recorderArgs(simulationsDirectory, format, testResourcesDirectory); Toolchain toolchain = toolchainManager.getToolchainFromBuildContext("jdk", session); Fork forkedRecorder = newFork( @@ -125,7 +128,8 @@ public void execute() throws MojoExecutionException, MojoFailureException { } } - private List recorderArgs(Path simulationsDirectory, String format, Path testResourcesDirectory) throws Exception { + private List recorderArgs( + Path simulationsDirectory, String format, Path testResourcesDirectory) throws Exception { List arguments = new ArrayList<>(); addArg(arguments, "sf", simulationsDirectory.toFile().getCanonicalPath()); addArg(arguments, "fmt", format);