1 Star 0 Fork 3

Ethan/education-platform-pom

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pom.xml 5.75 KB
一键复制 编辑 原始数据 按行查看 历史
Ken 提交于 2023-11-15 17:04 . 基础架构搭建
<?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.qf.edu</groupId>
<artifactId>education-platform-pom</artifactId>
<packaging>pom</packaging>
<version>1.0-SNAPSHOT</version>
<modules>
<module>education-ability</module>
<module>education-business</module>
<module>education-commons</module>
<module>education-remote</module>
<module>education-config</module>
<module>education-data</module>
</modules>
<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<spring-boot-dependencies.version>3.1.0</spring-boot-dependencies.version>
<spring-cloud-dependencies.version>2022.0.0</spring-cloud-dependencies.version>
<spring-cloud-alibaba-dependencies.version>2022.0.0.0-RC2</spring-cloud-alibaba-dependencies.version>
<custem.version>1.0-SNAPSHOT</custem.version>
<disruptor.version>3.4.2</disruptor.version>
<knife4j-openapi3-jakarta-spring-boot-starter.version>4.3.0
</knife4j-openapi3-jakarta-spring-boot-starter.version>
</properties>
<dependencies>
<!-- 在父工程中移除Logging依赖 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<!-- 统一管理springboot、springcloud、springcloudalibaba的依赖 -->
<dependencyManagement>
<dependencies>
<!-- 继承了SpringBoot -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot-dependencies.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- 继承了SpringCloud -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud-dependencies.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- 继承了SpringCloud alibaba -->
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
<version>${spring-cloud-alibaba-dependencies.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- 日志的异步输出的依赖 -->
<dependency>
<groupId>com.lmax</groupId>
<artifactId>disruptor</artifactId>
<version>${disruptor.version}</version>
</dependency>
<!-- swagger -->
<dependency>
<groupId>com.github.xiaoymin</groupId>
<artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId>
<version>${knife4j-openapi3-jakarta-spring-boot-starter.version}</version>
</dependency>
<!-- 自定义依赖的版本管理 -->
<dependency>
<groupId>com.qf.edu</groupId>
<artifactId>education-commons-core</artifactId>
<version>${custem.version}</version>
</dependency>
<dependency>
<groupId>com.qf.edu</groupId>
<artifactId>education-commons-web</artifactId>
<version>${custem.version}</version>
</dependency>
<dependency>
<groupId>com.qf.edu</groupId>
<artifactId>education-data</artifactId>
<version>${custem.version}</version>
</dependency>
<dependency>
<groupId>com.qf.edu</groupId>
<artifactId>education-config</artifactId>
<version>${custem.version}</version>
</dependency>
<dependency>
<groupId>com.qf.edu</groupId>
<artifactId>education-commons-database</artifactId>
<version>${custem.version}</version>
</dependency>
<dependency>
<groupId>com.qf.edu</groupId>
<artifactId>education-remote</artifactId>
<version>${custem.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<!-- 管理SpringBoot的打包插件 -->
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring-boot-dependencies.version}</version>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ethan560/education-platform-pom.git
git@gitee.com:ethan560/education-platform-pom.git
ethan560
education-platform-pom
education-platform-pom
master

搜索帮助