123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280 |
- <?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>backend</artifactId>
- <groupId>cn.kdan.pdf.office</groupId>
- <version>0.0.1</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>pdf-office-payment</artifactId>
- <description>PDF-OFFICE 支付模块</description>
- <properties>
- <maven.compiler.source>8</maven.compiler.source>
- <maven.compiler.target>8</maven.compiler.target>
- </properties>
- <dependencies>
- <dependency>
- <groupId>com.google.auth</groupId>
- <artifactId>google-auth-library-credentials</artifactId>
- <version>1.21.0</version>
- </dependency>
- <dependency>
- <groupId>com.google.http-client</groupId>
- <artifactId>google-http-client</artifactId>
- <version>1.43.3</version> <!-- 更新版本 -->
- </dependency>
- <dependency>
- <groupId>com.google.api-client</groupId>
- <artifactId>google-api-client</artifactId>
- <version>1.31.1</version> <!-- 更新到至少 1.31.1 -->
- </dependency>
- <dependency>
- <groupId>com.google.auth</groupId>
- <artifactId>google-auth-library-oauth2-http</artifactId>
- <version>1.19.0</version>
- </dependency>
- <dependency>
- <groupId>com.google.apis</groupId>
- <artifactId>google-api-services-androidpublisher</artifactId>
- <version>v3-rev20231115-2.0.0</version>
- </dependency>
- <dependency>
- <groupId>io.jsonwebtoken</groupId>
- <artifactId>jjwt-api</artifactId>
- <version>0.11.2</version>
- </dependency>
- <dependency>
- <groupId>io.jsonwebtoken</groupId>
- <artifactId>jjwt-impl</artifactId>
- <version>0.11.2</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>io.jsonwebtoken</groupId>
- <artifactId>jjwt-jackson</artifactId> <!-- or jjwt-gson if Gson is preferred -->
- <version>0.11.2</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>cn.kdan.pdf.office</groupId>
- <artifactId>pdf-office-common</artifactId>
- <version>0.0.1</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-freemarker</artifactId>
- </dependency>
- <dependency>
- <groupId>cn.kdan.pdf.office</groupId>
- <artifactId>pdf-office-api-account</artifactId>
- <version>0.0.1</version>
- <exclusions>
- <exclusion>
- <groupId>cn.kdan.pdf.office</groupId>
- <artifactId>pdf-office-common</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-web</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-test</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-actuator</artifactId>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>com.alibaba.cloud</groupId>
- <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
- </dependency>
- <dependency>
- <groupId>com.alibaba.cloud</groupId>
- <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-starter-openfeign</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
- </dependency>
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>druid-spring-boot-starter</artifactId>
- </dependency>
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>druid</artifactId>
- </dependency>
- <dependency>
- <groupId>cn.kdan.pdf.office</groupId>
- <artifactId>pdf-office-api-payment</artifactId>
- <version>0.0.1</version>
- <exclusions>
- <exclusion>
- <groupId>cn.kdan.pdf.office</groupId>
- <artifactId>pdf-office-common</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>cn.kdan.pdf.office</groupId>
- <artifactId>pdf-office-api-product</artifactId>
- <version>0.0.1</version>
- <exclusions>
- <exclusion>
- <groupId>cn.kdan.pdf.office</groupId>
- <artifactId>pdf-office-common</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <!-- <dependency>-->
- <!-- <groupId>com.fasterxml.jackson.core</groupId>-->
- <!-- <artifactId>jackson-databind</artifactId>-->
- <!-- </dependency>-->
- <!-- <dependency>-->
- <!-- <groupId>com.alibaba</groupId>-->
- <!-- <artifactId>fastjson</artifactId>-->
- <!-- </dependency>-->
- <dependency>
- <groupId>com.xk72</groupId>
- <artifactId>paddle-webhook-verifier</artifactId>
- <version>1.0</version>
- </dependency>
- <dependency>
- <groupId>commons-beanutils</groupId>
- <artifactId>commons-beanutils</artifactId>
- </dependency>
- <dependency>
- <groupId>cn.kdan.pdf.office</groupId>
- <artifactId>pdf-office-api-email</artifactId>
- <version>0.0.1</version>
- <exclusions>
- <exclusion>
- <groupId>cn.kdan.pdf.office</groupId>
- <artifactId>pdf-office-common</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <!-- https://mvnrepository.com/artifact/com.paypal.sdk/rest-api-sdk -->
- <dependency>
- <groupId>com.paypal.sdk</groupId>
- <artifactId>rest-api-sdk</artifactId>
- <version>1.14.0</version>
- </dependency>
- <!-- https://mvnrepository.com/artifact/com.paypal.sdk/checkout-sdk -->
- <dependency>
- <groupId>com.paypal.sdk</groupId>
- <artifactId>checkout-sdk</artifactId>
- <version>2.0.0</version>
- </dependency>
- <dependency>
- <groupId>io.jsonwebtoken</groupId>
- <artifactId>jjwt</artifactId>
- <version>0.9.1</version>
- </dependency>
- <dependency>
- <groupId>com.auth0</groupId>
- <artifactId>java-jwt</artifactId>
- <version>4.2.1</version>
- </dependency>
- <!-- <dependency>-->
- <!-- <groupId>com.fasterxml.jackson.core</groupId>-->
- <!-- <artifactId>jackson-databind</artifactId>-->
- <!-- <version>2.13.4.2</version>-->
- <!-- </dependency>-->
- <!--hutool工具包-->
- <dependency>
- <groupId>cn.hutool</groupId>
- <artifactId>hutool-all</artifactId>
- <version>5.8.2</version>
- </dependency>
- <!-- 添加OkHttp依赖 -->
- <dependency>
- <groupId>com.squareup.okhttp3</groupId>
- <artifactId>okhttp</artifactId>
- <version>4.9.1</version> <!-- 请使用最新的稳定版本 -->
- </dependency>
- </dependencies>
- <build>
- <finalName>pdf-office-payment</finalName>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <includes>
- <include>**/*</include>
- </includes>
- <filtering>true</filtering>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.22.2</version>
- <configuration>
- <skipTests>true</skipTests>
- </configuration>
- </plugin>
- <plugin>
- <groupId>com.spotify</groupId>
- <artifactId>docker-maven-plugin</artifactId>
- <version>${docker.version}</version>
- <configuration>
- <!-- Docker 远程管理地址-->
- <dockerHost>http://${docker.host}</dockerHost>
- <!--镜像名称-->
- <imageName>${project.artifactId}</imageName>
- <!--Dockerfile-->
- <dockerDirectory>${project.basedir}/docker</dockerDirectory>
- <!--插件会将需要的资源拷贝到docker目录下,供Dockerfile里构建镜像使用-->
- <resources>
- <resource>
- <targetPath>/</targetPath>
- <directory>${project.build.directory}</directory>
- <include>${project.build.finalName}.jar</include>
- </resource>
- </resources>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </project>
|