coder-thin-template-backend/heritage-web/pom.xml
Leo 5b4428d39f feat: 新增heritage-web启动模块
- 新增HeritageApplication主启动类
- 配置所有插件的@Enable注解
- 新增application.yml主配置文件
- 新增application-local.yml本地开发配置
- 新增application-dev.yml开发环境配置
- 配置Logback日志
- 配置OpenAPI文档
2025-10-08 02:09:57 +08:00

105 lines
3.7 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>
<!-- 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>