1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.maven.plugin.surefire.booterclient;
20
21 import javax.annotation.Nonnull;
22 import javax.annotation.Nullable;
23
24 import java.io.File;
25 import java.util.Map;
26 import java.util.Properties;
27
28 import org.apache.maven.plugin.surefire.log.api.ConsoleLogger;
29 import org.apache.maven.surefire.booter.Classpath;
30 import org.apache.maven.surefire.extensions.ForkNodeFactory;
31
32
33
34
35
36 abstract class AbstractClasspathForkConfiguration extends DefaultForkConfiguration {
37
38 @SuppressWarnings("checkstyle:parameternumber")
39 AbstractClasspathForkConfiguration(
40 @Nonnull Classpath bootClasspath,
41 @Nonnull File tempDirectory,
42 @Nullable String debugLine,
43 @Nonnull File workingDirectory,
44 @Nonnull Properties modelProperties,
45 @Nullable String argLine,
46 @Nonnull Map<String, String> environmentVariables,
47 @Nonnull String[] excludedEnvironmentVariables,
48 boolean debug,
49 int forkCount,
50 boolean reuseForks,
51 @Nonnull Platform pluginPlatform,
52 @Nonnull ConsoleLogger log,
53 @Nonnull ForkNodeFactory forkNodeFactory) {
54 super(
55 bootClasspath,
56 tempDirectory,
57 debugLine,
58 workingDirectory,
59 modelProperties,
60 argLine,
61 environmentVariables,
62 excludedEnvironmentVariables,
63 debug,
64 forkCount,
65 reuseForks,
66 pluginPlatform,
67 log,
68 forkNodeFactory);
69 }
70
71 @Override
72 @Nonnull
73 protected String extendJvmArgLine(@Nonnull String jvmArgLine) {
74 return jvmArgLine;
75 }
76 }