bootJarCanBePublished() — spring-boot Function Reference
Architecture documentation for the bootJarCanBePublished() function in MavenPublishingIntegrationTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD c85ab1bf_7838_f335_8293_9b1b18dfc2b2["bootJarCanBePublished()"] 7586f234_04de_dc34_8ee1_742069c8cfa5["artifactWithSuffix()"] c85ab1bf_7838_f335_8293_9b1b18dfc2b2 -->|calls| 7586f234_04de_dc34_8ee1_742069c8cfa5 17a5ffef_1a5c_517e_4440_defc2f8233d3["pomWith()"] c85ab1bf_7838_f335_8293_9b1b18dfc2b2 -->|calls| 17a5ffef_1a5c_517e_4440_defc2f8233d3 style c85ab1bf_7838_f335_8293_9b1b18dfc2b2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
build-plugin/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/tasks/bundling/MavenPublishingIntegrationTests.java lines 43–55
@TestTemplate
void bootJarCanBePublished() {
BuildResult result = this.gradleBuild.build("publish");
BuildTask task = result.task(":publish");
assertThat(task).isNotNull();
assertThat(task.getOutcome()).isEqualTo(TaskOutcome.SUCCESS);
assertThat(artifactWithSuffix("jar")).isFile();
assertThat(artifactWithSuffix("pom")).is(pomWith().groupId("com.example")
.artifactId(this.gradleBuild.getProjectDir().getName())
.version("1.0")
.noPackaging()
.noDependencies());
}
Domain
Subdomains
Source
Frequently Asked Questions
What does bootJarCanBePublished() do?
bootJarCanBePublished() is a function in the spring-boot codebase.
What does bootJarCanBePublished() call?
bootJarCanBePublished() calls 2 function(s): artifactWithSuffix, pomWith.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free