123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193 |
- <?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.springframework.boot</groupId>
- <artifactId>spring-boot-starter-parent</artifactId>
- <version>3.3.0</version>
- <relativePath/> <!-- lookup parent from repository -->
- </parent>
- <groupId>pay.platform</groupId>
- <artifactId>merchant-api</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <description>商户接口</description>
- <properties>
- <java.version>21</java.version>
- <maven.compiler.source>21</maven.compiler.source>
- <maven.compiler.target>21</maven.compiler.target>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <jwt.version>4.4.0</jwt.version>
- <knife4j.version>4.4.0</knife4j.version>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-actuator</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-data-redis</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-validation</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-web</artifactId>
- </dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- <optional>true</optional>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-test</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework.security</groupId>
- <artifactId>spring-security-test</artifactId>
- <scope>test</scope>
- </dependency>
- <!-- 安全 -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-security</artifactId>
- </dependency>
- <dependency>
- <groupId>com.auth0</groupId>
- <artifactId>java-jwt</artifactId>
- <version>${jwt.version}</version>
- </dependency>
- <!-- 数据库 -->
- <dependency>
- <groupId>com.zaxxer</groupId>
- <artifactId>HikariCP</artifactId>
- </dependency>
- <dependency>
- <groupId>com.mysql</groupId>
- <artifactId>mysql-connector-j</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>pay.platform</groupId>
- <artifactId>db-merchant</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>pay.platform</groupId>
- <artifactId>db-agent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <!-- Doc -->
- <dependency>
- <groupId>com.github.xiaoymin</groupId>
- <artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId>
- <version>${knife4j.version}</version>
- </dependency>
- <dependency>
- <groupId>cn.bzvs</groupId>
- <artifactId>otp-auth</artifactId>
- <version>1.0</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>pay.platform</groupId>
- <artifactId>db-system</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>pay.platform</groupId>
- <artifactId>pay</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>${java.version}</source>
- <target>${java.version}</target>
- <compilerArgs>--enable-preview</compilerArgs>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <configuration>
- <excludes>
- <exclude>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- </exclude>
- </excludes>
- </configuration>
- </plugin>
- <!-- <plugin>-->
- <!-- <groupId>com.google.cloud.tools</groupId>-->
- <!-- <artifactId>jib-maven-plugin</artifactId>-->
- <!-- <version>3.4.2</version>-->
- <!-- <configuration>-->
- <!-- <!– 拉取所需的基础镜像 - 这里的jdk21,是用于运行springboot项目 –>-->
- <!-- <from>-->
- <!-- <image>taskgo/corretto:21</image>-->
- <!-- </from>-->
- <!-- <!– 最后生成的镜像配置 –>-->
- <!-- <to>-->
- <!-- <!– push docker 仓库。用户名/镜像名 –>-->
- <!-- <image>hkccr.ccs.tencentyun.com/pay-platform/merchant-api</image>-->
- <!-- <tags>-->
- <!-- <!–版本号–>-->
- <!-- <tag>latest</tag>-->
- <!-- </tags>-->
- <!-- <auth>-->
- <!-- <!–账号和密码–>-->
- <!-- <username>100004270996</username>-->
- <!-- <password>open@2023</password>-->
- <!-- </auth>-->
- <!-- </to>-->
- <!-- <container>-->
- <!-- <jvmFlags>-->
- <!-- <jvmFlag>--enable-preview</jvmFlag>-->
- <!-- <jvmFlag>-Xmx1g</jvmFlag>-->
- <!-- <jvmFlag>-Xmx1g</jvmFlag>-->
- <!-- <jvmFlag>-Duser.timezone=Asia/Shanghai</jvmFlag>-->
- <!-- </jvmFlags>-->
- <!-- <mainClass>pay.platform.MerchantApplication</mainClass>-->
- <!-- <ports>-->
- <!-- <port>8090</port>-->
- <!-- </ports>-->
- <!-- </container>-->
- <!-- <allowInsecureRegistries>true</allowInsecureRegistries>-->
- <!-- </configuration>-->
- <!-- <executions>-->
- <!-- <execution>-->
- <!-- <phase>package</phase>-->
- <!-- <goals>-->
- <!-- <goal>build</goal>-->
- <!-- </goals>-->
- <!-- </execution>-->
- <!-- </executions>-->
- <!-- </plugin>-->
- </plugins>
- </build>
- </project>
|