BAEL-6179: Add Actuator sample without Spring Boot (#14032)

* BAEL-6179: Add Actuator sample without Spring Boot

* BAEL-6179: Simplify custom health indicator
This commit is contained in:
Ralf Ueberfuhr
2023-05-18 14:01:50 +02:00
committed by GitHub
parent ad0f03787a
commit f7421390ed
9 changed files with 253 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
## Parent Spring 5
This is a parent module for all projects using Spring 5

41
parent-spring-6/pom.xml Normal file
View File

@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>parent-spring-6</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>parent-spring-6</name>
<packaging>pom</packaging>
<description>Parent for all spring 6 core modules</description>
<parent>
<groupId>com.baeldung</groupId>
<artifactId>parent-modules</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-framework-bom</artifactId>
<version>${spring.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
</dependency>
</dependencies>
<properties>
<spring.version>6.0.8</spring.version>
</properties>
</project>