<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> <groupId>com.jasonlat.dot</groupId> <artifactId>pay-sdk-java</artifactId> <version>1.0</version> <packaging>jar</packaging> <name>${artifactId}</name> <description>${artifactId}</description> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>3.4.3</version> </parent> <properties> <maven.compiler.source>17</maven.compiler.source> <maven.compiler.target>17</maven.compiler.target> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven-javadoc-plugin.version>3.2.0</maven-javadoc-plugin.version> <maven-source-plugin.version>3.2.1</maven-source-plugin.version> <maven-gpg-plugin.version>1.6</maven-gpg-plugin.version> <maven-checksum-plugin.version>1.10</maven-checksum-plugin.version> <project.git.name>${name}-</project.git.name> <project.git.url>https://github.com/jasonlat-dot</project.git.url> <project.git.username>jasonlat-dot</project.git.username> <project.git.type>github</project.git.type> <retrofit2.version>2.9.0</retrofit2.version> <slf4j.version>2.0.6</slf4j.version> </properties> <developers> <developer> <id>${groupId}</id> <name>${project.git.url}</name> <email>lijiaqiang1024@163.com</email> <roles> <role>Project Manager</role> <role>Architect</role> </roles> </developer> </developers> <scm> <connection>${project.git.url}/${project.git.name}.git</connection> <developerConnection>scm:git:ssh://git@${project.git.type}.com:${project.git.username}/${project.git.name}.git </developerConnection> <url>${project.git.url}/${project.git.name}</url> </scm> <dependencies> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>${slf4j.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <version>${slf4j.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>2.13.3</version> </dependency> <dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> <version>1.15</version> </dependency> <dependency> <groupId>com.squareup.okhttp3</groupId> <artifactId>okhttp-sse</artifactId> <version>3.14.9</version> </dependency> <dependency> <groupId>com.squareup.okhttp3</groupId> <artifactId>logging-interceptor</artifactId> <version>3.14.9</version> </dependency> <dependency> <groupId>com.squareup.retrofit2</groupId> <artifactId>retrofit</artifactId> <version>${retrofit2.version}</version> </dependency> <dependency> <groupId>com.squareup.retrofit2</groupId> <artifactId>converter-jackson</artifactId> <version>${retrofit2.version}</version> </dependency> <dependency> <groupId>com.squareup.retrofit2</groupId> <artifactId>adapter-rxjava2</artifactId> <version>${retrofit2.version}</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13.2</version> <scope>test</scope> </dependency> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.18.24</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.9</version> </dependency> <dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>2.0.28</version> </dependency> <!-- https://mvnrepository.com/artifact/com.github.wechatpay-apiv3/wechatpay-java SDK:https://github.com/wechatpay-apiv3/wechatpay-java --> <!-- <dependency>--> <!-- <groupId>com.github.wechatpay-apiv3</groupId>--> <!-- <artifactId>wechatpay-java</artifactId>--> <!-- <version>0.2.11</version>--> <!-- </dependency>--> </dependencies> <build> <extensions> <extension> <groupId>org.apache.maven.archetype</groupId> <artifactId>archetype-packaging</artifactId> <version>3.2.0</version> </extension> </extensions> <pluginManagement> <plugins> <plugin> <artifactId>maven-archetype-plugin</artifactId> <version>3.2.0</version> </plugin> </plugins> </pluginManagement> <plugins> <!-- 脚手架 --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-archetype-plugin</artifactId> <version>3.2.0</version> </plugin> <!-- central发布插件 --> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>0.4.0</version> <extensions>true</extensions> <configuration> <publishingServerId>jasonlat</publishingServerId> <tokenAuth>true</tokenAuth> </configuration> </plugin> <!-- source源码插件 --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>2.2.1</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <!-- javadoc插件 --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.9.1</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> <configuration> <additionalparam>-Xdoclint:none</additionalparam> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>1.5</version> <configuration> <executable>D:\softs\gpg\GnuPG\bin\gpg.exe</executable> <keyname>${project.git.username}</keyname> </configuration> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project>
<dependency> <groupId>com.jasonlat.dot</groupId> <artifactId>pay-sdk-java</artifactId> <version>1.0</version> </dependency>
com.jasonlat.dot:pay-sdk-java:1.0