Home / Function/ addClasspath() — spring-boot Function Reference

addClasspath() — spring-boot Function Reference

Architecture documentation for the addClasspath() function in AbstractRunMojo.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  4dcddced_4205_900b_2f28_4d7f6bf353a3["addClasspath()"]
  9388fcdd_2a81_b0db_b900_a928b2298518["run()"]
  9388fcdd_2a81_b0db_b900_a928b2298518 -->|calls| 4dcddced_4205_900b_2f28_4d7f6bf353a3
  53760ff5_973d_df5b_67eb_27f5644d1c16["getClassPathUrls()"]
  4dcddced_4205_900b_2f28_4d7f6bf353a3 -->|calls| 53760ff5_973d_df5b_67eb_27f5644d1c16
  style 4dcddced_4205_900b_2f28_4d7f6bf353a3 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 365–376

	private void addClasspath(List<String> args) throws MojoExecutionException {
		try {
			ClassPath classpath = ClassPath.of(getClassPathUrls());
			if (getLog().isDebugEnabled()) {
				getLog().debug("Classpath for forked process: " + classpath);
			}
			args.addAll(classpath.args(true));
		}
		catch (Exception ex) {
			throw new MojoExecutionException("Could not build classpath", ex);
		}
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does addClasspath() do?
addClasspath() is a function in the spring-boot codebase.
What does addClasspath() call?
addClasspath() calls 1 function(s): getClassPathUrls.
What calls addClasspath()?
addClasspath() is called by 1 function(s): run.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free