mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-08-02 21:50:43 +08:00
168 lines
6.3 KiB
XML
168 lines
6.3 KiB
XML
<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/maven-v4_0_0.xsd">
|
||
|
||
<parent>
|
||
<groupId>ai.chat2db</groupId>
|
||
<artifactId>chat2db-server-parent</artifactId>
|
||
<version>${revision}</version>
|
||
<relativePath>../pom.xml</relativePath>
|
||
</parent>
|
||
|
||
<modelVersion>4.0.0</modelVersion>
|
||
<artifactId>chat2db-server-web-start</artifactId>
|
||
<packaging>jar</packaging>
|
||
<name>chat2db-server-web-start</name>
|
||
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-web</artifactId>
|
||
<exclusions>
|
||
<exclusion>
|
||
<artifactId>log4j-api</artifactId>
|
||
<groupId>org.apache.logging.log4j</groupId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>ai.chat2db</groupId>
|
||
<artifactId>chat2db-server-web-api</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>ai.chat2db</groupId>
|
||
<artifactId>chat2db-server-admin-api</artifactId>
|
||
</dependency>
|
||
<!-- 需要加载的服务 -->
|
||
<dependency>
|
||
<groupId>ai.chat2db</groupId>
|
||
<artifactId>chat2db-server-domain-core</artifactId>
|
||
</dependency>
|
||
|
||
<!-- 日志用logback -->
|
||
<dependency>
|
||
<groupId>org.slf4j</groupId>
|
||
<artifactId>jcl-over-slf4j</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.slf4j</groupId>
|
||
<artifactId>log4j-over-slf4j</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>ch.qos.logback</groupId>
|
||
<artifactId>logback-classic</artifactId>
|
||
</dependency>
|
||
|
||
<!-- 启动数据库 -->
|
||
<dependency>
|
||
<groupId>com.h2database</groupId>
|
||
<artifactId>h2</artifactId>
|
||
</dependency>
|
||
|
||
<!-- 数据库版本管理 -->
|
||
<dependency>
|
||
<groupId>org.flywaydb</groupId>
|
||
<artifactId>flyway-core</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.flywaydb</groupId>
|
||
<artifactId>flyway-mysql</artifactId>
|
||
</dependency>
|
||
|
||
<!-- 登录鉴权 -->
|
||
<dependency>
|
||
<groupId>cn.dev33</groupId>
|
||
<artifactId>sa-token-spring-boot3-starter</artifactId>
|
||
</dependency>
|
||
<!-- Sa-Token 整合 jwt -->
|
||
<dependency>
|
||
<groupId>cn.dev33</groupId>
|
||
<artifactId>sa-token-jwt</artifactId>
|
||
</dependency>
|
||
|
||
<!-- 模板引擎 -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-test</artifactId>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.freemarker</groupId>
|
||
<artifactId>freemarker</artifactId>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.baomidou</groupId>
|
||
<artifactId>mybatis-plus-generator</artifactId>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
|
||
<!-- http -->
|
||
<dependency>
|
||
<groupId>com.dtflys.forest</groupId>
|
||
<artifactId>forest-spring</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.dtflys.forest</groupId>
|
||
<artifactId>forest-core</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.zalando</groupId>
|
||
<artifactId>logbook-spring-boot-starter</artifactId>
|
||
</dependency>
|
||
</dependencies>
|
||
<build>
|
||
<finalName>chat2db-server-web-start</finalName>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
<!-- <build>-->
|
||
<!-- <finalName>chat2db-server-start</finalName>-->
|
||
<!-- <plugins>-->
|
||
<!-- <plugin>-->
|
||
<!-- <!–打包时去除第三方依赖–>-->
|
||
<!-- <groupId>org.springframework.boot</groupId>-->
|
||
<!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
|
||
<!-- <configuration>-->
|
||
<!-- <layout>ZIP</layout>-->
|
||
<!-- <includes>-->
|
||
<!-- <include>-->
|
||
<!-- <groupId>non-exists</groupId>-->
|
||
<!-- <artifactId>non-exists</artifactId>-->
|
||
<!-- </include>-->
|
||
<!-- </includes>-->
|
||
<!-- </configuration>-->
|
||
<!-- </plugin>-->
|
||
<!-- <!–拷贝第三方依赖文件到指定目录–>-->
|
||
<!-- <plugin>-->
|
||
<!-- <groupId>org.apache.maven.plugins</groupId>-->
|
||
<!-- <artifactId>maven-dependency-plugin</artifactId>-->
|
||
<!-- <executions>-->
|
||
<!-- <execution>-->
|
||
<!-- <id>copy-dependencies</id>-->
|
||
<!-- <phase>package</phase>-->
|
||
<!-- <goals>-->
|
||
<!-- <goal>copy-dependencies</goal>-->
|
||
<!-- </goals>-->
|
||
<!-- <configuration>-->
|
||
<!-- <!–target/lib是依赖jar包的输出目录,根据自己喜好配置–>-->
|
||
<!-- <outputDirectory>target/lib</outputDirectory>-->
|
||
<!-- <excludeTransitive>false</excludeTransitive>-->
|
||
<!-- <stripVersion>false</stripVersion>-->
|
||
<!-- <includeScope>runtime</includeScope>-->
|
||
<!-- </configuration>-->
|
||
<!-- </execution>-->
|
||
<!-- </executions>-->
|
||
<!-- </plugin>-->
|
||
<!-- </plugins>-->
|
||
<!-- </build>-->
|
||
</project>
|