|
|
@ -1,8 +1,9 @@ |
|
|
|
<?xml version="1.0" encoding="UTF-8"?> |
|
|
|
<?xml version="1.0"?> |
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" |
|
|
|
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" |
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
|
|
xmlns="http://maven.apache.org/POM/4.0.0" |
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
|
|
<modelVersion>4.0.0</modelVersion> |
|
|
|
<modelVersion>4.0.0</modelVersion> |
|
|
|
|
|
|
|
|
|
|
|
<parent> |
|
|
|
<parent> |
|
|
|
<groupId>cn.wustlinghang.wusthelper</groupId> |
|
|
|
<groupId>cn.wustlinghang.wusthelper</groupId> |
|
|
|
<artifactId>sub-services</artifactId> |
|
|
|
<artifactId>sub-services</artifactId> |
|
|
@ -10,27 +11,32 @@ |
|
|
|
</parent> |
|
|
|
</parent> |
|
|
|
|
|
|
|
|
|
|
|
<artifactId>undergrad</artifactId> |
|
|
|
<artifactId>undergrad</artifactId> |
|
|
|
|
|
|
|
<version>0.0.1-SNAPSHOT</version> |
|
|
|
|
|
|
|
|
|
|
|
<properties> |
|
|
|
<properties> |
|
|
|
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id> |
|
|
|
<compiler-plugin.version>3.11.0</compiler-plugin.version> |
|
|
|
<quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id> |
|
|
|
<maven.compiler.release>17</maven.compiler.release> |
|
|
|
<quarkus.platform.version>3.1.3.Final</quarkus.platform.version> |
|
|
|
|
|
|
|
<compiler-plugin.version>3.8.1</compiler-plugin.version> |
|
|
|
|
|
|
|
<surefire-plugin.version>3.0.0-M7</surefire-plugin.version> |
|
|
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
|
|
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
|
|
|
|
|
|
|
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id> |
|
|
|
|
|
|
|
<quarkus.platform.group-id>io.quarkus.platform</quarkus.platform.group-id> |
|
|
|
|
|
|
|
<quarkus.platform.version>3.2.0.Final</quarkus.platform.version> |
|
|
|
|
|
|
|
<!-- 3.2.0.Final版本与flatten-maven-plugin插件同时使用会出现问题,现临时降至3.1.3 --> |
|
|
|
|
|
|
|
<quarkus-maven-plugin.version>3.1.3.Final</quarkus-maven-plugin.version> |
|
|
|
|
|
|
|
<skipITs>true</skipITs> |
|
|
|
|
|
|
|
<surefire-plugin.version>3.0.0</surefire-plugin.version> |
|
|
|
|
|
|
|
|
|
|
|
<maven.compiler.source>17</maven.compiler.source> |
|
|
|
<maven.compiler.source>17</maven.compiler.source> |
|
|
|
<maven.compiler.target>17</maven.compiler.target> |
|
|
|
<maven.compiler.target>17</maven.compiler.target> |
|
|
|
<maven.compiler.parameters>true</maven.compiler.parameters> |
|
|
|
<maven.compiler.parameters>true</maven.compiler.parameters> |
|
|
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
|
|
<hibernate-validator.version>8.0.1.Final</hibernate-validator.version> |
|
|
|
|
|
|
|
</properties> |
|
|
|
</properties> |
|
|
|
|
|
|
|
|
|
|
|
<dependencyManagement> |
|
|
|
<dependencyManagement> |
|
|
|
<dependencies> |
|
|
|
<dependencies> |
|
|
|
<dependency> |
|
|
|
<dependency> |
|
|
|
<groupId>io.quarkus</groupId> |
|
|
|
<groupId>${quarkus.platform.group-id}</groupId> |
|
|
|
<artifactId>quarkus-bom</artifactId> |
|
|
|
<artifactId>${quarkus.platform.artifact-id}</artifactId> |
|
|
|
<version>${quarkus.platform.version}</version> |
|
|
|
<version>${quarkus.platform.version}</version> |
|
|
|
<type>pom</type> |
|
|
|
<type>pom</type> |
|
|
|
<scope>import</scope> |
|
|
|
<scope>import</scope> |
|
|
@ -39,34 +45,22 @@ |
|
|
|
</dependencyManagement> |
|
|
|
</dependencyManagement> |
|
|
|
|
|
|
|
|
|
|
|
<dependencies> |
|
|
|
<dependencies> |
|
|
|
<dependency> |
|
|
|
|
|
|
|
<groupId>io.quarkus</groupId> |
|
|
|
|
|
|
|
<artifactId>quarkus-resteasy-reactive</artifactId> |
|
|
|
|
|
|
|
</dependency> |
|
|
|
|
|
|
|
<dependency> |
|
|
|
<dependency> |
|
|
|
<groupId>io.quarkus</groupId> |
|
|
|
<groupId>io.quarkus</groupId> |
|
|
|
<artifactId>quarkus-resteasy-reactive-jackson</artifactId> |
|
|
|
<artifactId>quarkus-resteasy-reactive-jackson</artifactId> |
|
|
|
</dependency> |
|
|
|
</dependency> |
|
|
|
<dependency> |
|
|
|
<dependency> |
|
|
|
<groupId>io.quarkus</groupId> |
|
|
|
<groupId>io.quarkus</groupId> |
|
|
|
<artifactId>quarkus-resteasy-deployment</artifactId> |
|
|
|
<artifactId>quarkus-hibernate-validator</artifactId> |
|
|
|
</dependency> |
|
|
|
</dependency> |
|
|
|
<dependency> |
|
|
|
<dependency> |
|
|
|
<groupId>io.quarkus</groupId> |
|
|
|
<groupId>io.quarkus</groupId> |
|
|
|
<artifactId>quarkus-core-deployment</artifactId> |
|
|
|
<artifactId>quarkus-resteasy-reactive</artifactId> |
|
|
|
</dependency> |
|
|
|
</dependency> |
|
|
|
|
|
|
|
|
|
|
|
<!-- 参数校验 --> |
|
|
|
|
|
|
|
<dependency> |
|
|
|
<dependency> |
|
|
|
<groupId>io.quarkus</groupId> |
|
|
|
<groupId>io.quarkus</groupId> |
|
|
|
<artifactId>quarkus-hibernate-validator</artifactId> |
|
|
|
<artifactId>quarkus-arc</artifactId> |
|
|
|
</dependency> |
|
|
|
|
|
|
|
<dependency> |
|
|
|
|
|
|
|
<groupId>org.hibernate.validator</groupId> |
|
|
|
|
|
|
|
<artifactId>hibernate-validator</artifactId> |
|
|
|
|
|
|
|
<version>${hibernate-validator.version}</version> |
|
|
|
|
|
|
|
</dependency> |
|
|
|
</dependency> |
|
|
|
|
|
|
|
|
|
|
|
<dependency> |
|
|
|
<dependency> |
|
|
|
<groupId>io.quarkus</groupId> |
|
|
|
<groupId>io.quarkus</groupId> |
|
|
|
<artifactId>quarkus-junit5</artifactId> |
|
|
|
<artifactId>quarkus-junit5</artifactId> |
|
|
@ -77,18 +71,38 @@ |
|
|
|
<artifactId>rest-assured</artifactId> |
|
|
|
<artifactId>rest-assured</artifactId> |
|
|
|
<scope>test</scope> |
|
|
|
<scope>test</scope> |
|
|
|
</dependency> |
|
|
|
</dependency> |
|
|
|
|
|
|
|
|
|
|
|
<dependency> |
|
|
|
|
|
|
|
<groupId>cn.hutool</groupId> |
|
|
|
|
|
|
|
<artifactId>hutool-core</artifactId> |
|
|
|
|
|
|
|
</dependency> |
|
|
|
|
|
|
|
</dependencies> |
|
|
|
</dependencies> |
|
|
|
|
|
|
|
|
|
|
|
<build> |
|
|
|
<build> |
|
|
|
<plugins> |
|
|
|
<plugins> |
|
|
|
|
|
|
|
<plugin> |
|
|
|
|
|
|
|
<groupId>${quarkus.platform.group-id}</groupId> |
|
|
|
|
|
|
|
<artifactId>quarkus-maven-plugin</artifactId> |
|
|
|
|
|
|
|
<version>${quarkus-maven-plugin.version}</version> |
|
|
|
|
|
|
|
<extensions>true</extensions> |
|
|
|
|
|
|
|
<configuration> |
|
|
|
|
|
|
|
<systemProperties> |
|
|
|
|
|
|
|
<file.encoding>UTF-8</file.encoding> |
|
|
|
|
|
|
|
</systemProperties> |
|
|
|
|
|
|
|
</configuration> |
|
|
|
|
|
|
|
<executions> |
|
|
|
|
|
|
|
<execution> |
|
|
|
|
|
|
|
<goals> |
|
|
|
|
|
|
|
<goal>build</goal> |
|
|
|
|
|
|
|
<goal>generate-code</goal> |
|
|
|
|
|
|
|
<goal>generate-code-tests</goal> |
|
|
|
|
|
|
|
</goals> |
|
|
|
|
|
|
|
</execution> |
|
|
|
|
|
|
|
</executions> |
|
|
|
|
|
|
|
</plugin> |
|
|
|
<plugin> |
|
|
|
<plugin> |
|
|
|
<artifactId>maven-compiler-plugin</artifactId> |
|
|
|
<artifactId>maven-compiler-plugin</artifactId> |
|
|
|
<version>${compiler-plugin.version}</version> |
|
|
|
<version>${compiler-plugin.version}</version> |
|
|
|
|
|
|
|
<configuration> |
|
|
|
|
|
|
|
<compilerArgs> |
|
|
|
|
|
|
|
<arg>-parameters</arg> |
|
|
|
|
|
|
|
</compilerArgs> |
|
|
|
|
|
|
|
</configuration> |
|
|
|
</plugin> |
|
|
|
</plugin> |
|
|
|
<plugin> |
|
|
|
<plugin> |
|
|
|
<artifactId>maven-surefire-plugin</artifactId> |
|
|
|
<artifactId>maven-surefire-plugin</artifactId> |
|
|
@ -97,30 +111,32 @@ |
|
|
|
<systemPropertyVariables> |
|
|
|
<systemPropertyVariables> |
|
|
|
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager> |
|
|
|
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager> |
|
|
|
<maven.home>${maven.home}</maven.home> |
|
|
|
<maven.home>${maven.home}</maven.home> |
|
|
|
<file.encoding>UTF-8</file.encoding> |
|
|
|
|
|
|
|
</systemPropertyVariables> |
|
|
|
</systemPropertyVariables> |
|
|
|
</configuration> |
|
|
|
</configuration> |
|
|
|
</plugin> |
|
|
|
</plugin> |
|
|
|
<plugin> |
|
|
|
<plugin> |
|
|
|
<groupId>${quarkus.platform.group-id}</groupId> |
|
|
|
<artifactId>maven-failsafe-plugin</artifactId> |
|
|
|
<artifactId>quarkus-maven-plugin</artifactId> |
|
|
|
<version>${surefire-plugin.version}</version> |
|
|
|
<version>${quarkus.platform.version}</version> |
|
|
|
|
|
|
|
<configuration> |
|
|
|
|
|
|
|
<systemProperties> |
|
|
|
|
|
|
|
<file.encoding>UTF-8</file.encoding> |
|
|
|
|
|
|
|
</systemProperties> |
|
|
|
|
|
|
|
</configuration> |
|
|
|
|
|
|
|
<executions> |
|
|
|
<executions> |
|
|
|
<execution> |
|
|
|
<execution> |
|
|
|
<goals> |
|
|
|
<goals> |
|
|
|
<goal>build</goal> |
|
|
|
<goal>integration-test</goal> |
|
|
|
|
|
|
|
<goal>verify</goal> |
|
|
|
</goals> |
|
|
|
</goals> |
|
|
|
|
|
|
|
<configuration> |
|
|
|
|
|
|
|
<systemPropertyVariables> |
|
|
|
|
|
|
|
<native.image.path>${project.build.directory}/${project.build.finalName}-runner |
|
|
|
|
|
|
|
</native.image.path> |
|
|
|
|
|
|
|
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager> |
|
|
|
|
|
|
|
<maven.home>${maven.home}</maven.home> |
|
|
|
|
|
|
|
</systemPropertyVariables> |
|
|
|
|
|
|
|
</configuration> |
|
|
|
</execution> |
|
|
|
</execution> |
|
|
|
</executions> |
|
|
|
</executions> |
|
|
|
</plugin> |
|
|
|
</plugin> |
|
|
|
|
|
|
|
|
|
|
|
</plugins> |
|
|
|
</plugins> |
|
|
|
</build> |
|
|
|
</build> |
|
|
|
|
|
|
|
|
|
|
|
<profiles> |
|
|
|
<profiles> |
|
|
|
<profile> |
|
|
|
<profile> |
|
|
|
<id>native</id> |
|
|
|
<id>native</id> |
|
|
@ -130,31 +146,9 @@ |
|
|
|
</property> |
|
|
|
</property> |
|
|
|
</activation> |
|
|
|
</activation> |
|
|
|
<properties> |
|
|
|
<properties> |
|
|
|
|
|
|
|
<skipITs>false</skipITs> |
|
|
|
<quarkus.package.type>native</quarkus.package.type> |
|
|
|
<quarkus.package.type>native</quarkus.package.type> |
|
|
|
</properties> |
|
|
|
</properties> |
|
|
|
<build> |
|
|
|
|
|
|
|
<plugins> |
|
|
|
|
|
|
|
<plugin> |
|
|
|
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId> |
|
|
|
|
|
|
|
<version>${surefire-plugin.version}</version> |
|
|
|
|
|
|
|
<executions> |
|
|
|
|
|
|
|
<execution> |
|
|
|
|
|
|
|
<goals> |
|
|
|
|
|
|
|
<goal>integration-test</goal> |
|
|
|
|
|
|
|
<goal>verify</goal> |
|
|
|
|
|
|
|
</goals> |
|
|
|
|
|
|
|
<configuration> |
|
|
|
|
|
|
|
<systemPropertyVariables> |
|
|
|
|
|
|
|
<native.image.path>${project.build.directory}/${project.build.finalName}-runner</native.image.path> |
|
|
|
|
|
|
|
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager> |
|
|
|
|
|
|
|
<maven.home>${maven.home}</maven.home> |
|
|
|
|
|
|
|
</systemPropertyVariables> |
|
|
|
|
|
|
|
</configuration> |
|
|
|
|
|
|
|
</execution> |
|
|
|
|
|
|
|
</executions> |
|
|
|
|
|
|
|
</plugin> |
|
|
|
|
|
|
|
</plugins> |
|
|
|
|
|
|
|
</build> |
|
|
|
|
|
|
|
</profile> |
|
|
|
</profile> |
|
|
|
</profiles> |
|
|
|
</profiles> |
|
|
|
</project> |
|
|
|
</project> |