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

excludeByJarType() — spring-boot Function Reference

Architecture documentation for the excludeByJarType() function in DependencyFilterMojoTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  5f84163f_c599_1fbb_7f78_2bd6b7592ce0["excludeByJarType()"]
  be0b1e22_046a_e9be_c420_b6ab5cd75531["TestableDependencyFilterMojo()"]
  5f84163f_c599_1fbb_7f78_2bd6b7592ce0 -->|calls| be0b1e22_046a_e9be_c420_b6ab5cd75531
  10b458de_edbc_7e5d_b78a_0ba0ccf9e60e["createArtifact()"]
  5f84163f_c599_1fbb_7f78_2bd6b7592ce0 -->|calls| 10b458de_edbc_7e5d_b78a_0ba0ccf9e60e
  12e99f63_f866_1352_2136_4d94b5749ebb["filterDependencies()"]
  5f84163f_c599_1fbb_7f78_2bd6b7592ce0 -->|calls| 12e99f63_f866_1352_2136_4d94b5749ebb
  style 5f84163f_c599_1fbb_7f78_2bd6b7592ce0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

build-plugin/spring-boot-maven-plugin/src/test/java/org/springframework/boot/maven/DependencyFilterMojoTests.java lines 113–120

	@Test
	void excludeByJarType() throws MojoExecutionException {
		TestableDependencyFilterMojo mojo = new TestableDependencyFilterMojo(Collections.emptyList(), "");
		Artifact one = createArtifact("com.foo", "one", null, "dependencies-starter");
		Artifact two = createArtifact("com.bar", "two");
		Set<Artifact> artifacts = mojo.filterDependencies(one, two);
		assertThat(artifacts).containsExactly(two);
	}

Domain

Subdomains

Frequently Asked Questions

What does excludeByJarType() do?
excludeByJarType() is a function in the spring-boot codebase.
What does excludeByJarType() call?
excludeByJarType() calls 3 function(s): TestableDependencyFilterMojo, createArtifact, filterDependencies.

Analyze Your Own Codebase

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

Try Supermodel Free