bootWarCanBePublished() — spring-boot Function Reference
Architecture documentation for the bootWarCanBePublished() function in MavenPublishingIntegrationTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 3f5f3080_fe16_de7d_24f4_97bf6063b9f6["bootWarCanBePublished()"] 7586f234_04de_dc34_8ee1_742069c8cfa5["artifactWithSuffix()"] 3f5f3080_fe16_de7d_24f4_97bf6063b9f6 -->|calls| 7586f234_04de_dc34_8ee1_742069c8cfa5 17a5ffef_1a5c_517e_4440_defc2f8233d3["pomWith()"] 3f5f3080_fe16_de7d_24f4_97bf6063b9f6 -->|calls| 17a5ffef_1a5c_517e_4440_defc2f8233d3 style 3f5f3080_fe16_de7d_24f4_97bf6063b9f6 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 57–69
@TestTemplate
void bootWarCanBePublished() {
BuildResult result = this.gradleBuild.build("publish");
BuildTask task = result.task(":publish");
assertThat(task).isNotNull();
assertThat(task.getOutcome()).isEqualTo(TaskOutcome.SUCCESS);
assertThat(artifactWithSuffix("war")).isFile();
assertThat(artifactWithSuffix("pom")).is(pomWith().groupId("com.example")
.artifactId(this.gradleBuild.getProjectDir().getName())
.version("1.0")
.packaging("war")
.noDependencies());
}
Domain
Subdomains
Source
Frequently Asked Questions
What does bootWarCanBePublished() do?
bootWarCanBePublished() is a function in the spring-boot codebase.
What does bootWarCanBePublished() call?
bootWarCanBePublished() 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