Skip to content

Commit 02632fb

Browse files
authored
feat(#3463): Implement dependency graph in the dependency view (#3514)
1 parent 49aa428 commit 02632fb

File tree

16 files changed

+15621
-2
lines changed

16 files changed

+15621
-2
lines changed

spring-boot-admin-samples/spring-boot-admin-sample-servlet/pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,22 @@
8989
<build>
9090
<finalName>${project.artifactId}</finalName>
9191
<plugins>
92+
<plugin>
93+
<groupId>org.cyclonedx</groupId>
94+
<artifactId>cyclonedx-maven-plugin</artifactId>
95+
<executions>
96+
<execution>
97+
<phase>validate</phase>
98+
<goals>
99+
<goal>makeAggregateBom</goal>
100+
</goals>
101+
</execution>
102+
</executions>
103+
<configuration>
104+
<outputFormat>json</outputFormat>
105+
<outputName>classes/bom</outputName>
106+
</configuration>
107+
</plugin>
92108
<plugin>
93109
<groupId>org.springframework.boot</groupId>
94110
<artifactId>spring-boot-maven-plugin</artifactId>

spring-boot-admin-samples/spring-boot-admin-sample-servlet/src/main/resources/application.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,3 +115,8 @@ spring:
115115
enabled: false
116116
# end::customization-view-settings[]
117117

118+
management:
119+
endpoint:
120+
sbom:
121+
application:
122+
location: classpath:bom.json

0 commit comments

Comments
 (0)