|
@@ -0,0 +1,122 @@
|
|
|
+<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
+ <modelVersion>4.0.0</modelVersion>
|
|
|
+ <!-- 项目信息 -->
|
|
|
+ <groupId>org.eco.vip</groupId>
|
|
|
+ <artifactId>eco-boot</artifactId>
|
|
|
+ <version>${revision}</version>
|
|
|
+ <name>eco-boot</name>
|
|
|
+ <description>eco-boot</description>
|
|
|
+
|
|
|
+ <modules>
|
|
|
+ <module>eco-start</module>
|
|
|
+ <module>eco-common</module>
|
|
|
+ </modules>
|
|
|
+ <packaging>pom</packaging>
|
|
|
+ <!-- 版本 -->
|
|
|
+ <properties>
|
|
|
+ <!-- 系统版本 -->
|
|
|
+ <revision>1.0.0</revision>
|
|
|
+ <java.version>21</java.version>
|
|
|
+ <spring-boot.version>3.4.3</spring-boot.version>
|
|
|
+ <!-- 插件版本 -->
|
|
|
+ <maven-jar-plugin.version>3.4.0</maven-jar-plugin.version>
|
|
|
+ <maven-war-plugin.version>3.4.0</maven-war-plugin.version>
|
|
|
+ <lombok.version>1.18.36</lombok.version>
|
|
|
+ </properties>
|
|
|
+
|
|
|
+ <!-- 依赖管理 -->
|
|
|
+ <dependencyManagement>
|
|
|
+ <dependencies>
|
|
|
+ <!-- SpringBoot的依赖配置-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-dependencies</artifactId>
|
|
|
+ <version>${spring-boot.version}</version>
|
|
|
+ <type>pom</type>
|
|
|
+ <scope>import</scope>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!--测试框架-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-test</artifactId>
|
|
|
+ <version>${spring-boot.version}</version>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!-- lombok-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.projectlombok</groupId>
|
|
|
+ <artifactId>lombok</artifactId>
|
|
|
+ <version>${lombok.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!-- common 的依赖配置-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.eco.vip</groupId>
|
|
|
+ <artifactId>com-bom</artifactId>
|
|
|
+ <version>${revision}</version>
|
|
|
+ <type>pom</type>
|
|
|
+ <scope>import</scope>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+ </dependencyManagement>
|
|
|
+
|
|
|
+ <repositories>
|
|
|
+ <repository>
|
|
|
+ <id>public</id>
|
|
|
+ <name>huawei nexus</name>
|
|
|
+ <url>https://mirrors.huaweicloud.com/repository/maven/</url>
|
|
|
+ <releases>
|
|
|
+ <enabled>true</enabled>
|
|
|
+ </releases>
|
|
|
+ </repository>
|
|
|
+ </repositories>
|
|
|
+
|
|
|
+ <pluginRepositories>
|
|
|
+ <pluginRepository>
|
|
|
+ <id>public</id>
|
|
|
+ <name>huawei nexus</name>
|
|
|
+ <url>https://mirrors.huaweicloud.com/repository/maven/</url>
|
|
|
+ <releases>
|
|
|
+ <enabled>true</enabled>
|
|
|
+ </releases>
|
|
|
+ <snapshots>
|
|
|
+ <enabled>false</enabled>
|
|
|
+ </snapshots>
|
|
|
+ </pluginRepository>
|
|
|
+ </pluginRepositories>
|
|
|
+
|
|
|
+ <profiles>
|
|
|
+ <profile>
|
|
|
+ <id>local</id>
|
|
|
+ <properties>
|
|
|
+ <!-- 环境标识,需要与配置文件的名称相对应 -->
|
|
|
+ <profiles.active>local</profiles.active>
|
|
|
+ <logging.level>info</logging.level>
|
|
|
+ </properties>
|
|
|
+ <activation>
|
|
|
+ <!-- 默认环境 -->
|
|
|
+ <activeByDefault>true</activeByDefault>
|
|
|
+ </activation>
|
|
|
+ </profile>
|
|
|
+ <profile>
|
|
|
+ <id>dev</id>
|
|
|
+ <properties>
|
|
|
+ <!-- 环境标识,需要与配置文件的名称相对应 -->
|
|
|
+ <profiles.active>dev</profiles.active>
|
|
|
+ <logging.level>info</logging.level>
|
|
|
+ </properties>
|
|
|
+ </profile>
|
|
|
+ <profile>
|
|
|
+ <id>prod</id>
|
|
|
+ <properties>
|
|
|
+ <profiles.active>prod</profiles.active>
|
|
|
+ <logging.level>warn</logging.level>
|
|
|
+ </properties>
|
|
|
+ </profile>
|
|
|
+ </profiles>
|
|
|
+
|
|
|
+</project>
|