blossom/blossom-backend/pom.xml
2024-04-06 00:48:36 +08:00

156 lines
5.0 KiB
XML

<?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>
<packaging>pom</packaging>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.18</version>
<relativePath/>
</parent>
<groupId>com.blossom</groupId>
<artifactId>blossom-backend</artifactId>
<version>1.14.0-SNAPSHOT</version>
<!-- 版本控制 -->
<properties>
<revision>1.14.0-SNAPSHOT</revision>
<!-- 编译设置 -->
<java.version>1.8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<!--
SpringBoot 版本
https://spring.io/projects/spring-boot#support
-->
<spring-boot.version>2.7.18</spring-boot.version>
<!-- 其他三方包版本 -->
<lombok.version>1.18.8</lombok.version>
<!--
BOM 在 dependencyManagement 中指定依赖版本
-->
<caffeine.version>2.9.3</caffeine.version>
</properties>
<!-- 子模块 -->
<modules>
<module>backend</module>
<module>common</module>
<module>expand-tracker</module>
<module>expand-sentinel</module>
</modules>
<dependencies>
<!-- ============================== lombok ============================== -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>aliyun</id>
<url>https://maven.aliyun.com/repository/public</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>aliyun-plugin</id>
<url>https://maven.aliyun.com/repository/public</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<!-- 全局依赖管理 -->
<dependencyManagement>
<dependencies>
<!-- SpringBoot 版本限制 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot.version}</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.github.ben-manes.caffeine</groupId>
<artifactId>caffeine</artifactId>
<version>${caffeine.version}</version>
</dependency>
<!-- ===================================< 二方包 >===================================
系统内二方包依赖控制
==================================================================================== -->
<dependency>
<groupId>com.blossom</groupId>
<artifactId>common-base</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.blossom</groupId>
<artifactId>common-cache</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.blossom</groupId>
<artifactId>common-db</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.blossom</groupId>
<artifactId>common-iaas</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.blossom</groupId>
<artifactId>expand-sentinel-metric</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.blossom</groupId>
<artifactId>expand-sentinel-springmvc</artifactId>
<version>${revision}</version>
</dependency>
<!-- 链路追踪 -->
<dependency>
<groupId>com.blossom</groupId>
<artifactId>expand-tracker-core</artifactId>
<version>${revision}</version>
</dependency>
</dependencies>
</dependencyManagement>
</project>