addDependencies() — spring-boot Function Reference
Architecture documentation for the addDependencies() function in AbstractRunMojo.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 42fbc4eb_b715_97a4_5b7b_247d99fc2f50["addDependencies()"] 53760ff5_973d_df5b_67eb_27f5644d1c16["getClassPathUrls()"] 53760ff5_973d_df5b_67eb_27f5644d1c16 -->|calls| 42fbc4eb_b715_97a4_5b7b_247d99fc2f50 70972f87_4279_3817_a4bd_d596ea487b1a["isUseTestClasspath()"] 42fbc4eb_b715_97a4_5b7b_247d99fc2f50 -->|calls| 70972f87_4279_3817_a4bd_d596ea487b1a style 42fbc4eb_b715_97a4_5b7b_247d99fc2f50 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 418–426
private void addDependencies(List<URL> urls) throws MalformedURLException, MojoExecutionException {
Set<Artifact> artifacts = (isUseTestClasspath()) ? filterDependencies(this.project.getArtifacts())
: filterDependencies(this.project.getArtifacts(), new ExcludeTestScopeArtifactFilter());
for (Artifact artifact : artifacts) {
if (artifact.getFile() != null) {
urls.add(artifact.getFile().toURI().toURL());
}
}
}
Domain
Subdomains
Calls
- isUseTestClasspath()
Called By
Source
Frequently Asked Questions
What does addDependencies() do?
addDependencies() is a function in the spring-boot codebase.
What does addDependencies() call?
addDependencies() calls 1 function(s): isUseTestClasspath.
What calls addDependencies()?
addDependencies() is called by 1 function(s): getClassPathUrls.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free