filterScopeKeepOrder() — spring-boot Function Reference
Architecture documentation for the filterScopeKeepOrder() function in DependencyFilterMojoTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 32e5c9e5_bd65_7164_a109_daf0eed64c41["filterScopeKeepOrder()"] be0b1e22_046a_e9be_c420_b6ab5cd75531["TestableDependencyFilterMojo()"] 32e5c9e5_bd65_7164_a109_daf0eed64c41 -->|calls| be0b1e22_046a_e9be_c420_b6ab5cd75531 10b458de_edbc_7e5d_b78a_0ba0ccf9e60e["createArtifact()"] 32e5c9e5_bd65_7164_a109_daf0eed64c41 -->|calls| 10b458de_edbc_7e5d_b78a_0ba0ccf9e60e 12e99f63_f866_1352_2136_4d94b5749ebb["filterDependencies()"] 32e5c9e5_bd65_7164_a109_daf0eed64c41 -->|calls| 12e99f63_f866_1352_2136_4d94b5749ebb style 32e5c9e5_bd65_7164_a109_daf0eed64c41 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 77–86
@Test
void filterScopeKeepOrder() throws MojoExecutionException {
TestableDependencyFilterMojo mojo = new TestableDependencyFilterMojo(Collections.emptyList(), "",
new ScopeFilter(null, Artifact.SCOPE_SYSTEM));
Artifact one = createArtifact("com.foo", "one");
Artifact two = createArtifact("com.foo", "two", Artifact.SCOPE_SYSTEM);
Artifact three = createArtifact("com.foo", "three", Artifact.SCOPE_RUNTIME);
Set<Artifact> artifacts = mojo.filterDependencies(one, two, three);
assertThat(artifacts).containsExactly(one, three);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does filterScopeKeepOrder() do?
filterScopeKeepOrder() is a function in the spring-boot codebase.
What does filterScopeKeepOrder() call?
filterScopeKeepOrder() 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