2023-08-14 09:19:43 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2023-10-17 19:48:34 +08:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2023-10-08 19:49:56 +08:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2023-08-14 09:19:43 +08:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
2023-10-20 11:44:43 +08:00
|
|
|
<version>3.1.5</version>
|
2023-10-17 19:48:34 +08:00
|
|
|
<relativePath /> <!-- lookup parent from repository -->
|
2023-08-14 09:19:43 +08:00
|
|
|
</parent>
|
|
|
|
<groupId>net.risesoft</groupId>
|
|
|
|
<artifactId>demo01</artifactId>
|
|
|
|
<version>1.0</version>
|
|
|
|
<name>demo01</name>
|
|
|
|
<description>Demo project for Spring Boot</description>
|
|
|
|
<properties>
|
|
|
|
<java.version>17</java.version>
|
2023-10-24 19:42:29 +08:00
|
|
|
<spring-cloud.version>2022.0.4</spring-cloud.version>
|
2023-08-14 09:19:43 +08:00
|
|
|
</properties>
|
2023-10-24 19:42:29 +08:00
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.ecwid.consul</groupId>
|
|
|
|
<artifactId>consul-api</artifactId>
|
|
|
|
<version>1.4.5</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-dependencies</artifactId>
|
|
|
|
<version>${spring-cloud.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
2023-08-14 09:19:43 +08:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
|
|
</dependency>
|
2023-10-17 19:48:34 +08:00
|
|
|
|
2023-08-14 09:19:43 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-j</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2023-10-17 19:48:34 +08:00
|
|
|
|
|
|
|
|
2023-08-14 09:19:43 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2023-10-17 19:48:34 +08:00
|
|
|
|
2023-08-14 09:19:43 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-docker-compose</artifactId>
|
|
|
|
</dependency>
|
2023-10-17 19:48:34 +08:00
|
|
|
|
2023-10-08 19:49:56 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
|
</dependency>
|
2023-10-17 19:48:34 +08:00
|
|
|
|
2023-10-08 19:49:56 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.micrometer</groupId>
|
|
|
|
<artifactId>micrometer-registry-prometheus</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2023-10-17 19:48:34 +08:00
|
|
|
|
2023-10-24 19:42:29 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-starter-consul-discovery</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2023-08-14 09:19:43 +08:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2023-10-17 19:48:34 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.graalvm.buildtools</groupId>
|
|
|
|
<artifactId>native-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
2023-08-14 09:19:43 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|