/** * Adds key value pairs as "-Dkey=value -Dkey=value ..." by parsing a given string using {@link Properties}. * * @param prefix * The '-D' portion of the example. Defaults to -D if null. * @param properties * The persisted form of {@link Properties}. For example, "abc=def\nghi=jkl". Can be null, in which * case this method becomes no-op. * @param vr * {@link VariableResolver} to resolve variables in properties string. * @since 1.262 */ public ArgumentListBuilder addKeyValuePairsFromPropertyString(String prefix, String properties, VariableResolver<String> vr) throws IOException { return addKeyValuePairsFromPropertyString(prefix, properties, vr, null); }
args.addKeyValuePairsFromPropertyString("-D", this.properties, resolver, sensitiveVars);
/** * Adds key value pairs as "-Dkey=value -Dkey=value ..." by parsing a given string using {@link Properties}. * * @param prefix * The '-D' portion of the example. Defaults to -D if null. * @param properties * The persisted form of {@link Properties}. For example, "abc=def\nghi=jkl". Can be null, in which * case this method becomes no-op. * @param vr * {@link VariableResolver} to resolve variables in properties string. * @since 1.262 */ public ArgumentListBuilder addKeyValuePairsFromPropertyString(String prefix, String properties, VariableResolver<String> vr) throws IOException { return addKeyValuePairsFromPropertyString(prefix, properties, vr, null); }
args.addKeyValuePairsFromPropertyString("-D",properties,vr,sensitiveVars);
args.addKeyValuePairsFromPropertyString("-D", properties, vr, sensitiveVars);
args.addKeyValuePairsFromPropertyString("-D",properties,vr,sensitiveVars);
args.addKeyValuePairsFromPropertyString("-D",properties,vr,sensitiveVars);
args.addKeyValuePairsFromPropertyString("-D", this.properties, resolver, sensitiveVars);
args.addKeyValuePairsFromPropertyString("-D", properties, vr, sensitiveVars); if (usesPrivateRepository()) { args.add("-Dmaven.repo.local=" + build.getWorkspace().child(".repository"));
args.addKeyValuePairsFromPropertyString("-D",properties,vr,sensitiveVars); if (usesPrivateRepository()) args.add("-Dmaven.repo.local=" + build.getWorkspace().child(".repository"));
args.addKeyValuePairsFromPropertyString("-D",properties,vr,sensitiveVars); if (usesPrivateRepository()) args.add("-Dmaven.repo.local=" + build.getWorkspace().child(".repository"));
args.addKeyValuePairsFromPropertyString("-D",properties,vr,sensitiveVars); if (usesPrivateRepository()) args.add("-Dmaven.repo.local=" + build.getWorkspace().child(".repository"));
args.addKeyValuePairsFromPropertyString("-D", getSystemProperties(), resolver, sensitiveVars); if (isPassAllAsSystemProperties()) { args.addKeyValuePairs("-D", build.getBuildVariables(), sensitiveVars); args.addKeyValuePairsFromPropertyString("-P", getProjectProperties(), resolver, sensitiveVars); if (isPassAllAsProjectProperties()) { args.addKeyValuePairs("-P", build.getBuildVariables(), sensitiveVars);