154 lines
5.5 KiB
XML
154 lines
5.5 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">
|
|
<parent>
|
|
<artifactId>qaup-management</artifactId>
|
|
<groupId>com.qaup</groupId>
|
|
<version>1.0.1</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<packaging>jar</packaging>
|
|
<artifactId>qaup-admin</artifactId>
|
|
|
|
<description>
|
|
web服务入口
|
|
</description>
|
|
|
|
<dependencies>
|
|
|
|
<!-- spring-boot-devtools -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
<optional>true</optional> <!-- 表示依赖不会传递 -->
|
|
</dependency>
|
|
|
|
<!-- Spring Boot Actuator -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Spring Boot WebSocket支持 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-websocket</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Postgresql驱动包 -->
|
|
<dependency>
|
|
<groupId>org.postgresql</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
|
|
<!-- 核心模块-->
|
|
<dependency>
|
|
<groupId>com.qaup</groupId>
|
|
<artifactId>qaup-framework</artifactId>
|
|
</dependency>
|
|
|
|
<!-- 定时任务-->
|
|
<dependency>
|
|
<groupId>com.qaup</groupId>
|
|
<artifactId>qaup-quartz</artifactId>
|
|
</dependency>
|
|
|
|
<!-- 代码生成-->
|
|
<dependency>
|
|
<groupId>com.qaup</groupId>
|
|
<artifactId>qaup-generator</artifactId>
|
|
</dependency>
|
|
|
|
<!-- 碰撞避免系统模块 -->
|
|
<dependency>
|
|
<groupId>com.qaup</groupId>
|
|
<artifactId>qaup-collision</artifactId>
|
|
<version>${qaup.version}</version>
|
|
</dependency>
|
|
|
|
<!-- SpringDoc OpenAPI UI 依赖 -->
|
|
<dependency>
|
|
<groupId>org.springdoc</groupId>
|
|
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Flyway数据库迁移工具 -->
|
|
<dependency>
|
|
<groupId>org.flywaydb</groupId>
|
|
<artifactId>flyway-core</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.flywaydb</groupId>
|
|
<artifactId>flyway-database-postgresql</artifactId>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<version>3.5.3</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>repackage</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<jvmArguments>--enable-native-access=ALL-UNNAMED --enable-preview</jvmArguments>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<version>3.4.0</version>
|
|
<configuration>
|
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
|
<warName>${project.artifactId}</warName>
|
|
</configuration>
|
|
</plugin>
|
|
<!-- Flyway Maven插件 -->
|
|
<plugin>
|
|
<groupId>org.flywaydb</groupId>
|
|
<artifactId>flyway-maven-plugin</artifactId>
|
|
<version>${flyway.version}</version>
|
|
<configuration>
|
|
<url>jdbc:postgresql://localhost:5432/qaup?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&serverTimezone=Asia/Shanghai</url>
|
|
<user>postgres</user>
|
|
<password>123456</password>
|
|
<locations>
|
|
<location>classpath:db/migration</location>
|
|
</locations>
|
|
<baselineOnMigrate>true</baselineOnMigrate>
|
|
<baselineVersion>1.0.0</baselineVersion>
|
|
<baselineDescription>Initial baseline from existing database</baselineDescription>
|
|
<validateOnMigrate>true</validateOnMigrate>
|
|
<cleanDisabled>true</cleanDisabled>
|
|
<outOfOrder>false</outOfOrder>
|
|
<encoding>UTF-8</encoding>
|
|
<placeholderReplacement>false</placeholderReplacement>
|
|
</configuration>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.postgresql</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
<version>42.7.4</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.flywaydb</groupId>
|
|
<artifactId>flyway-database-postgresql</artifactId>
|
|
<version>${flyway.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
</plugins>
|
|
<finalName>${project.artifactId}</finalName>
|
|
</build>
|
|
|
|
</project> |