run() — spring-boot Function Reference
Architecture documentation for the run() function in AbstractRunMojo.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 9388fcdd_2a81_b0db_b900_a928b2298518["run()"] 5f2da847_1b4b_06a1_7a99_1980fc1e1631["execute()"] 5f2da847_1b4b_06a1_7a99_1980fc1e1631 -->|calls| 9388fcdd_2a81_b0db_b900_a928b2298518 f8b372ec_61b5_6d80_1eea_88a0c1b8d4f0["addAgents()"] 9388fcdd_2a81_b0db_b900_a928b2298518 -->|calls| f8b372ec_61b5_6d80_1eea_88a0c1b8d4f0 120d18f0_53f2_dc9d_755e_ee67a5f3c241["addJvmArgs()"] 9388fcdd_2a81_b0db_b900_a928b2298518 -->|calls| 120d18f0_53f2_dc9d_755e_ee67a5f3c241 4dcddced_4205_900b_2f28_4d7f6bf353a3["addClasspath()"] 9388fcdd_2a81_b0db_b900_a928b2298518 -->|calls| 4dcddced_4205_900b_2f28_4d7f6bf353a3 2fcf2dff_5b8b_279e_9a1d_6662032bafa2["addArgs()"] 9388fcdd_2a81_b0db_b900_a928b2298518 -->|calls| 2fcf2dff_5b8b_279e_9a1d_6662032bafa2 b5bb207b_cc6a_30d1_54cc_cc6cb12fd667["determineEnvironmentVariables()"] 9388fcdd_2a81_b0db_b900_a928b2298518 -->|calls| b5bb207b_cc6a_30d1_54cc_cc6cb12fd667 style 9388fcdd_2a81_b0db_b900_a928b2298518 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
build-plugin/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/AbstractRunMojo.java lines 249–264
private void run(String startClassName) throws MojoExecutionException, MojoFailureException {
List<String> args = new ArrayList<>();
addAgents(args);
addJvmArgs(args);
addClasspath(args);
args.add(startClassName);
addArgs(args);
JavaProcessExecutor processExecutor = new JavaProcessExecutor(this.session, this.toolchainManager);
File workingDirectoryToUse = (this.workingDirectory != null) ? this.workingDirectory
: this.project.getBasedir();
if (getLog().isDebugEnabled()) {
getLog().debug("Working directory: " + workingDirectoryToUse);
getLog().debug("Java arguments: " + String.join(" ", args));
}
run(processExecutor, workingDirectoryToUse, args, determineEnvironmentVariables());
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does run() do?
run() is a function in the spring-boot codebase.
What does run() call?
run() calls 5 function(s): addAgents, addArgs, addClasspath, addJvmArgs, determineEnvironmentVariables.
What calls run()?
run() is called by 1 function(s): execute.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free