heritage-backend/heritage-web/pom.xml
Leo 38e241ffdd chore: 更新模块依赖配置
- 在heritage-modules父模块中添加heritage-admin子模块
- 在heritage-web启动模块中添加heritage-admin模块依赖
- 确保后台管理模块能够被正确加载和启动
2025-10-15 22:31:23 +08:00

117 lines
4.1 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>
<parent>
<groupId>org.leocoder.heritage</groupId>
<artifactId>heritage-backend</artifactId>
<version>${revision}</version>
</parent>
<name>heritage-web</name>
<artifactId>heritage-web</artifactId>
<description>入口项目,负责打包</description>
<dependencies>
<!-- SpringBoot Web容器 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<!-- Sa-Token模块和系统管理模块 -->
<dependency>
<groupId>org.leocoder.heritage</groupId>
<artifactId>heritage-system</artifactId>
<version>${revision}</version>
</dependency>
<!-- 前台业务模块 -->
<dependency>
<groupId>org.leocoder.heritage</groupId>
<artifactId>heritage-portal</artifactId>
<version>${revision}</version>
</dependency>
<!-- 后台管理模块 -->
<dependency>
<groupId>org.leocoder.heritage</groupId>
<artifactId>heritage-admin</artifactId>
<version>${revision}</version>
</dependency>
<!-- SpringDoc OpenAPI 3.0 -->
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
</dependency>
<!-- OSS对象存储模块 -->
<dependency>
<groupId>org.leocoder.heritage</groupId>
<artifactId>heritage-oss</artifactId>
<version>${revision}</version>
</dependency>
<!-- 字典管理模块 -->
<dependency>
<groupId>org.leocoder.heritage</groupId>
<artifactId>heritage-dict</artifactId>
<version>${revision}</version>
</dependency>
<!-- 定时任务 -->
<dependency>
<groupId>org.leocoder.heritage</groupId>
<artifactId>heritage-job</artifactId>
<version>${revision}</version>
</dependency>
<!-- 代码生成器 -->
<!-- <dependency> -->
<!-- <groupId>org.leocoder.heritage</groupId> -->
<!-- <artifactId>heritage-generator</artifactId> -->
<!-- <version>${revision}</version> -->
<!-- </dependency> -->
<!-- 监控模块 -->
<dependency>
<groupId>org.leocoder.heritage</groupId>
<artifactId>heritage-monitor</artifactId>
<version>${revision}</version>
</dependency>
<!-- 热榜API模块 -->
<!-- <dependency> -->
<!-- <groupId>org.leocoder.heritage</groupId> -->
<!-- <artifactId>coder-hotlist-api</artifactId> -->
<!-- <version>${revision}</version> -->
<!-- </dependency> -->
</dependencies>
<build>
<!-- 指定打包名字 -->
<finalName>coder-admin</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${springboot.version}</version>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*</include>
</includes>
</resource>
</resources>
</build>
</project>