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

filterDependencies() — spring-boot Function Reference

Architecture documentation for the filterDependencies() function in AbstractDependencyFilterMojo.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  2fb9a4db_aa56_9af2_e5a5_0b0e004b6f00["filterDependencies()"]
  7b7e310a_1ef7_61b7_aea9_f188b4eaf7e5["getDependencyURLs()"]
  7b7e310a_1ef7_61b7_aea9_f188b4eaf7e5 -->|calls| 2fb9a4db_aa56_9af2_e5a5_0b0e004b6f00
  951e3854_04d8_96c8_8e2e_996cb9ef40b0["getFilters()"]
  2fb9a4db_aa56_9af2_e5a5_0b0e004b6f00 -->|calls| 951e3854_04d8_96c8_8e2e_996cb9ef40b0
  style 2fb9a4db_aa56_9af2_e5a5_0b0e004b6f00 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

build-plugin/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/AbstractDependencyFilterMojo.java lines 125–135

	protected final Set<Artifact> filterDependencies(Set<Artifact> dependencies, ArtifactsFilter... additionalFilters)
			throws MojoExecutionException {
		try {
			Set<Artifact> filtered = new LinkedHashSet<>(dependencies);
			filtered.retainAll(getFilters(additionalFilters).filter(dependencies));
			return filtered;
		}
		catch (ArtifactFilterException ex) {
			throw new MojoExecutionException(ex.getMessage(), ex);
		}
	}

Domain

Subdomains

Calls

Frequently Asked Questions

What does filterDependencies() do?
filterDependencies() is a function in the spring-boot codebase.
What does filterDependencies() call?
filterDependencies() calls 1 function(s): getFilters.
What calls filterDependencies()?
filterDependencies() is called by 1 function(s): getDependencyURLs.

Analyze Your Own Codebase

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

Try Supermodel Free