Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
cstamas committed Feb 7, 2025
1 parent 9a51488 commit b1dc55f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,8 @@ protected Context doCreate(Path mavenHome, ExecutorRequest executorRequest) {

Properties properties = prepareProperties(executorRequest);
// set ahead of time, if the mavenHome points to Maven4, as ClassWorld Launcher needs this property
properties.setProperty("maven.mainClass", requireNonNull(MVN4_MAIN_CLASSES.get(ExecutorRequest.MVN), "mainClass"));
properties.setProperty(
"maven.mainClass", requireNonNull(MVN4_MAIN_CLASSES.get(ExecutorRequest.MVN), "mainClass"));
System.setProperties(properties);
URLClassLoader bootClassLoader = createMavenBootClassLoader(boot, Collections.emptyList());
Thread.currentThread().setContextClassLoader(bootClassLoader);
Expand Down

0 comments on commit b1dc55f

Please sign in to comment.