2024-01-03 20:35:20 +08:00
|
|
|
|
<?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>
|
|
|
|
|
|
|
|
|
|
<groupId>com.szr</groupId>
|
|
|
|
|
<artifactId>center</artifactId>
|
|
|
|
|
<version>1.0</version>
|
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
<modules>
|
|
|
|
|
<module>common</module>
|
|
|
|
|
<module>zbsz</module>
|
|
|
|
|
</modules>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
<maven-compiler-plugin.version>3.6.2</maven-compiler-plugin.version>
|
|
|
|
|
<maven-shade-plugin.version>3.2.4</maven-shade-plugin.version>
|
|
|
|
|
<jdk.version>11</jdk.version>
|
|
|
|
|
|
|
|
|
|
<!-- common包 -->
|
|
|
|
|
<commons-lang3.version>3.12.0</commons-lang3.version>
|
|
|
|
|
<lombok.version>1.18.22</lombok.version>
|
|
|
|
|
<fastjson2.version>2.0.10</fastjson2.version>
|
|
|
|
|
<junit.version>4.13.2</junit.version>
|
|
|
|
|
|
|
|
|
|
<!-- spring-boot 2.3.12.RELEASE-->
|
|
|
|
|
<springboot.version>2.7.12</springboot.version>
|
|
|
|
|
<spring.cloud.version>2021.0.7</spring.cloud.version>
|
|
|
|
|
<cxf.version>3.2.6</cxf.version>
|
|
|
|
|
<jackson.version>2.13.2</jackson.version>
|
|
|
|
|
<knife4j.version>4.1.0</knife4j.version>
|
|
|
|
|
<swagger.ui.version>2.10.5</swagger.ui.version>
|
|
|
|
|
<spring.cloud.version>2021.0.8</spring.cloud.version>
|
|
|
|
|
<spring-cloud-alibaba.version>2021.1</spring-cloud-alibaba.version>
|
|
|
|
|
<spring.plugin.version>2.7.17</spring.plugin.version>
|
2024-01-04 20:36:56 +08:00
|
|
|
|
<!-- jdbc -->
|
|
|
|
|
<mybatis.plus.version>3.5.5</mybatis.plus.version>
|
|
|
|
|
<c3p0.version>0.9.5.5</c3p0.version>
|
|
|
|
|
<mysql.version>8.0.28</mysql.version>
|
|
|
|
|
<postgresql.version>42.3.8</postgresql.version>
|
2024-01-03 20:35:20 +08:00
|
|
|
|
<!--project -->
|
|
|
|
|
<project.version>1.0</project.version>
|
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
|
<dependencies>
|
2024-01-04 20:36:56 +08:00
|
|
|
|
<!--基础 包 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.szr</groupId>
|
|
|
|
|
<artifactId>common</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2024-01-03 20:35:20 +08:00
|
|
|
|
<!--data 包 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
|
<version>${lombok.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- 测试 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
|
<version>${junit.version}</version>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!--模块依赖包 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<!-- Import dependency management from Spring Boot -->
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
|
|
|
<version>${springboot.version}</version>
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!--cloud-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
|
<artifactId>spring-cloud-dependencies</artifactId>
|
|
|
|
|
<version>${spring.cloud.version}</version>
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- alibaba -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
|
|
|
|
|
<version>${spring-cloud-alibaba.version}</version>
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
|
<version>${maven-compiler-plugin.version}</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<source>${jdk.version}</source>
|
|
|
|
|
<target>${jdk.version}</target>
|
|
|
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
<version>${spring.plugin.version}</version>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>repackage</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
|
<!--开启过滤,用指定的参数替换directory下的文件中的参数-->
|
|
|
|
|
<filtering>true</filtering>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
<repositories>
|
|
|
|
|
<repository>
|
|
|
|
|
<id>central</id>
|
|
|
|
|
<url>https://maven.aliyun.com/repository/central</url>
|
|
|
|
|
</repository>
|
|
|
|
|
<repository>
|
|
|
|
|
<id>public</id>
|
|
|
|
|
<url>https://maven.aliyun.com/repository/public</url>
|
|
|
|
|
</repository>
|
|
|
|
|
</repositories>
|
|
|
|
|
|
|
|
|
|
</project>
|