allinpay-shopoint-sdk-java
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.allinpay.cus.sdk</groupId>
<artifactId>allinpay-shopoint-sdk-java</artifactId>
<version>1.0.0</version>
</dependency><?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.allinpay.cus.sdk</groupId>
<artifactId>allinpay-shopoint-sdk-java</artifactId>
<version>1.0.0</version>
<name>allinpay-shopoint-sdk-java</name>
<description>通联支付数字营销平台Java SDK旨在降低对接门槛与成本,提供了一套功能完整的开发工具包,以帮助开发者快速完成平台集成。</description>
<url>https://www.allinpay.com/product/activity/e-marketing.html</url>
<packaging>jar</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<okhttp.version>4.12.0</okhttp.version>
<commons-io.version>2.20.0</commons-io.version>
<commons-codec.version>1.19.0</commons-codec.version>
<gson.version>2.13.2</gson.version>
<junit.version>4.13.2</junit.version>
<commons-beanutils.version>1.11.0</commons-beanutils.version>
<commons-logging.version>1.3.5</commons-logging.version>
<hutool-crypto.version>5.8.41</hutool-crypto.version>
<bcutil-jdk18on.version>1.82</bcutil-jdk18on.version>
</properties>
<!--License(许可证)-->
<licenses>
<license>
<name>MIT License</name>
<url>https://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
</licenses>
<!--SCM(源码管理)-->
<scm>
<connection>scm:git:https://github.com/allinpay/allinpay-shopoint-sdk-java.git</connection>
<developerConnection>scm:git:https://github.com/allinpay/allinpay-shopoint-sdk-java.git</developerConnection>
<url>https://github.com/allinpay/allinpay-shopoint-sdk-java</url>
<tag>v${project.version}</tag>
</scm>
<!-- 开发者信息 -->
<developers>
<developer>
<name>Allinpay R&D Center</name>
<email>yf_pmp@allinpay.com</email>
<organization>Allinpay</organization>
<organizationUrl>https://www.allinpay.com</organizationUrl>
</developer>
</developers>
<dependencies>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>${okhttp.version}</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commons-io.version}</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>${gson.version}</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>${commons-codec.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>${commons-logging.version}</version>
</dependency>
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
<version>${commons-beanutils.version}</version>
</dependency>
<!-- hutool加解密工具包 -->
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-crypto</artifactId>
<version>${hutool-crypto.version}</version>
</dependency>
<!-- 国密支持包 -->
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcutil-jdk18on</artifactId>
<version>${bcutil-jdk18on.version}</version>
</dependency>
</dependencies>
<!-- 构建过程相关插件配置 -->
<build>
<plugins>
<!-- Java编译器插件配置 -->
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<!-- 编译源码时使用的Java版本 -->
<source>1.8</source>
<!-- 目标运行环境的Java版本 -->
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>sonar</id>
<build>
<plugins>
<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<!-- 兼容Java 8的版本 -->
<version>3.9.1.2184</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.8</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>verify</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
<execution>
<id>check</id>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
<configuration>
<rules>
<rule>
<element>BUNDLE</element>
<limits>
<limit>
<counter>INSTRUCTION</counter>
<value>COVEREDRATIO</value>
<minimum>0.80</minimum>
</limit>
</limits>
</rule>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>release</id>
<build>
<plugins>
<!-- 中央仓库发布插件 -->
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.9.0</version>
<extensions>true</extensions>
<configuration>
<!-- 发布服务器ID,在settings.xml中配置 -->
<publishingServerId>central</publishingServerId>
</configuration>
</plugin>
<!-- 用于生成源码JAR包的插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- 用于生成Javadoc文档JAR包的插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.4.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- GPG签名插件,用于对构件进行数字签名 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.0.1</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>