getArtifact() — spring-boot Function Reference
Architecture documentation for the getArtifact() function in AbstractPackagerMojo.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 7d90353f_d34c_3125_cf33_70f70b56c22b["getArtifact()"] f61e55c0_ab3c_4063_4e88_24f056d7aa59["getSourceArtifact()"] f61e55c0_ab3c_4063_4e88_24f056d7aa59 -->|calls| 7d90353f_d34c_3125_cf33_70f70b56c22b 424af601_eadd_bfc8_0539_ad97e9cc550c["getTargetFile()"] 424af601_eadd_bfc8_0539_ad97e9cc550c -->|calls| 7d90353f_d34c_3125_cf33_70f70b56c22b style 7d90353f_d34c_3125_cf33_70f70b56c22b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
build-plugin/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/AbstractPackagerMojo.java lines 248–258
private @Nullable Artifact getArtifact(@Nullable String classifier) {
if (classifier != null) {
for (Artifact attachedArtifact : this.project.getAttachedArtifacts()) {
if (classifier.equals(attachedArtifact.getClassifier()) && attachedArtifact.getFile() != null
&& attachedArtifact.getFile().isFile()) {
return attachedArtifact;
}
}
}
return null;
}
Domain
Subdomains
Called By
- getSourceArtifact()
- getTargetFile()
Source
Frequently Asked Questions
What does getArtifact() do?
getArtifact() is a function in the spring-boot codebase.
What calls getArtifact()?
getArtifact() is called by 2 function(s): getSourceArtifact, getTargetFile.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free