158 lines
5.9 KiB
XML
158 lines
5.9 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>com.lframework</groupId>
|
||
<artifactId>xingyun</artifactId>
|
||
<version>1.0.0</version>
|
||
</parent>
|
||
|
||
<artifactId>xingyun-server</artifactId>
|
||
|
||
|
||
<dependencies>
|
||
<!-- <dependency>-->
|
||
<!-- <groupId>com.lframework</groupId>-->
|
||
<!-- <artifactId>xingyun-comp</artifactId>-->
|
||
<!-- </dependency>-->
|
||
<!-- <dependency>-->
|
||
<!-- <groupId>com.lframework</groupId>-->
|
||
<!-- <artifactId>xingyun-basedata</artifactId>-->
|
||
<!-- </dependency>-->
|
||
|
||
<!-- <dependency>-->
|
||
<!-- <groupId>com.lframework</groupId>-->
|
||
<!-- <artifactId>xingyun-sc</artifactId>-->
|
||
<!-- </dependency>-->
|
||
|
||
<!-- <dependency>-->
|
||
<!-- <groupId>com.lframework</groupId>-->
|
||
<!-- <artifactId>xingyun-settle</artifactId>-->
|
||
<!-- </dependency>-->
|
||
|
||
<!-- <dependency>-->
|
||
<!-- <groupId>com.lframework</groupId>-->
|
||
<!-- <artifactId>xingyun-chart</artifactId>-->
|
||
<!-- </dependency>-->
|
||
|
||
<dependency>
|
||
<groupId>com.lframework</groupId>
|
||
<artifactId>rabbitmq-starter</artifactId>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>org.ssssssss</groupId>
|
||
<artifactId>magic-api-spring-boot-starter</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>org.ssssssss</groupId>
|
||
<artifactId>magic-api-plugin-cluster</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>org.ssssssss</groupId>
|
||
<artifactId>magic-api-servlet-javaee</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.ssssssss</groupId>
|
||
<artifactId>magic-api-servlet-javaee</artifactId>
|
||
<version>2.1.1</version>
|
||
</dependency>
|
||
|
||
<!-- 显式引入 Sa-Token,避免传递依赖被排除后运行期缺类 -->
|
||
<dependency>
|
||
<groupId>cn.dev33</groupId>
|
||
<artifactId>sa-token-spring-boot3-starter</artifactId>
|
||
<version>1.44.0</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>cn.dev33</groupId>
|
||
<artifactId>sa-token-redis-jackson</artifactId>
|
||
<version>1.44.0</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>cn.dev33</groupId>
|
||
<artifactId>sa-token-alone-redis</artifactId>
|
||
<version>1.44.0</version>
|
||
</dependency>
|
||
|
||
<!-- Boot3 兼容:提供可用的 SqlSessionFactory/SqlSessionTemplate -->
|
||
<dependency>
|
||
<groupId>com.baomidou</groupId>
|
||
<artifactId>mybatis-plus-spring-boot3-starter</artifactId>
|
||
<version>3.5.7</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.baomidou</groupId>
|
||
<artifactId>dynamic-datasource-spring-boot3-starter</artifactId>
|
||
<version>4.3.1</version>
|
||
</dependency>
|
||
</dependencies>
|
||
|
||
<build>
|
||
<finalName>${project.artifactId}</finalName>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-resources-plugin</artifactId>
|
||
<version>3.2.0</version>
|
||
<executions>
|
||
<execution>
|
||
<id>copy-resources-to-target</id>
|
||
<phase>package</phase>
|
||
<goals>
|
||
<goal>copy-resources</goal>
|
||
</goals>
|
||
<configuration>
|
||
<outputDirectory>${project.build.directory}</outputDirectory>
|
||
<resources>
|
||
<resource>
|
||
<directory>${project.basedir}</directory>
|
||
<filtering>true</filtering>
|
||
<includes>
|
||
<include>Dockerfile</include>
|
||
</includes>
|
||
</resource>
|
||
<resource>
|
||
<directory>${project.basedir}/src/main/resources</directory>
|
||
<filtering>true</filtering>
|
||
<includes>
|
||
<include>scripts/*</include>
|
||
</includes>
|
||
</resource>
|
||
</resources>
|
||
</configuration>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
</plugins>
|
||
<resources>
|
||
<resource>
|
||
<directory>src/main/resources</directory>
|
||
<filtering>true</filtering>
|
||
<includes>
|
||
<include>application.yml</include>
|
||
</includes>
|
||
</resource>
|
||
<resource>
|
||
<directory>src/main/resources</directory>
|
||
<filtering>false</filtering>
|
||
<includes>
|
||
<include>**</include>
|
||
</includes>
|
||
<excludes>
|
||
<exclude>db/**</exclude>
|
||
<exclude>scripts/*</exclude>
|
||
</excludes>
|
||
</resource>
|
||
</resources>
|
||
</build>
|
||
|
||
</project> |