Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
184 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,156 +1,165 @@ | ||
<?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/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>com.github.javen205</groupId> | ||
<artifactId>IJPay</artifactId> | ||
<version>2.0.0</version> | ||
<modules> | ||
<module>IJPay-AliPay</module> | ||
<module>IJPay-WxPay</module> | ||
<module>IJPay-All</module> | ||
</modules> | ||
<packaging>pom</packaging> | ||
<name>IJPay</name> | ||
<description>IJPay 让支付触手可及(Easy Pay Library)</description> | ||
<url>https://github.com/Javen205/IJPay</url> | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>com.github.javen205</groupId> | ||
<artifactId>IJPay</artifactId> | ||
<version>2.1.1</version> | ||
<modules> | ||
<module>IJPay-AliPay</module> | ||
<module>IJPay-WxPay</module> | ||
<module>IJPay-All</module> | ||
</modules> | ||
<packaging>pom</packaging> | ||
<name>IJPay</name> | ||
<description>IJPay 让支付触手可及(Easy Pay Library)</description> | ||
<url>https://github.com/Javen205/IJPay</url> | ||
|
||
<parent> | ||
<groupId>org.sonatype.oss</groupId> | ||
<artifactId>oss-parent</artifactId> | ||
<version>7</version> | ||
</parent> | ||
<parent> | ||
<groupId>org.sonatype.oss</groupId> | ||
<artifactId>oss-parent</artifactId> | ||
<version>7</version> | ||
</parent> | ||
|
||
<licenses> | ||
<license> | ||
<name>The Apache License, Version 2.0</name> | ||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | ||
</license> | ||
</licenses> | ||
<licenses> | ||
<license> | ||
<name>The Apache License, Version 2.0</name> | ||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | ||
</license> | ||
</licenses> | ||
|
||
|
||
<scm> | ||
<connection>scm:git:git@github.com:javen205/IJPay</connection> | ||
<developerConnection>scm:git:git@github.com:javen205/IJPay</developerConnection> | ||
<url>scm:git:git@github.com:javen205/IJPay</url> | ||
</scm> | ||
<developers> | ||
<developer> | ||
<name>Javen</name> | ||
<email>javendev@126.com</email> | ||
<organization>github</organization> | ||
<organizationUrl>https://javen205.github.io/</organizationUrl> | ||
</developer> | ||
</developers> | ||
<scm> | ||
<connection>scm:git:git@github.com:javen205/IJPay</connection> | ||
<developerConnection>scm:git:git@github.com:javen205/IJPay</developerConnection> | ||
<url>scm:git:git@github.com:javen205/IJPay</url> | ||
</scm> | ||
<developers> | ||
<developer> | ||
<name>Javen</name> | ||
<email>javendev@126.com</email> | ||
<organization>github</organization> | ||
<organizationUrl>https://javen205.github.io/</organizationUrl> | ||
</developer> | ||
</developers> | ||
|
||
<properties> | ||
<jdk.version>1.6</jdk.version> | ||
<junit.version>4.12</junit.version> | ||
<properties> | ||
<jdk.version>1.6</jdk.version> | ||
<junit.version>4.12</junit.version> | ||
|
||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | ||
</properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | ||
</properties> | ||
|
||
<dependencies> | ||
<!-- 全局单元测试 --> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<version>${junit.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>cn.hutool</groupId> | ||
<artifactId>hutool-all</artifactId> | ||
<version>4.5.16</version> | ||
</dependency> | ||
</dependencies> | ||
<build> | ||
<finalName>IJPay</finalName> | ||
<plugins> | ||
<plugin> | ||
<artifactId>maven-war-plugin</artifactId> | ||
<version>2.1.1</version> | ||
</plugin> | ||
<plugin> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<version>2.3.2</version> | ||
<executions> | ||
<execution> | ||
<id>default-jar</id> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.6.1</version> | ||
<configuration> | ||
<source>${jdk.version}</source> | ||
<target>${jdk.version}</target> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-javadoc-plugin</artifactId> | ||
<version>2.10.3</version> | ||
<configuration> | ||
<!-- 解决 java8 下发布到 maven 中心库时,生成 doc 的异常 --> | ||
<additionalparam>-Xdoclint:none</additionalparam> | ||
<encoding>${project.build.sourceEncoding}</encoding> | ||
<outputDirectory>${basedir}</outputDirectory> | ||
<reportOutputDirectory>${basedir}</reportOutputDirectory> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
<dependencies> | ||
<!-- 全局单元测试 --> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<version>${junit.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>cn.hutool</groupId> | ||
<artifactId>hutool-all</artifactId> | ||
<version>4.6.1</version> | ||
</dependency> | ||
</dependencies> | ||
<build> | ||
<finalName>IJPay</finalName> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.8.1</version> | ||
<configuration> | ||
<source>${jdk.version}</source> | ||
<target>${jdk.version}</target> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-javadoc-plugin</artifactId> | ||
<version>3.1.1</version> | ||
<executions> | ||
<execution> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-source-plugin</artifactId> | ||
<version>3.1.0</version> | ||
<executions> | ||
<execution> | ||
<id>nexus-release</id> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>jar-no-fork</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<!--自动发布 Jar 到 Maven 仓库--> | ||
<plugin> | ||
<groupId>org.sonatype.plugins</groupId> | ||
<artifactId>nexus-staging-maven-plugin</artifactId> | ||
<version>1.6.7</version> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<serverId>nexus-release</serverId> | ||
<nexusUrl>https://oss.sonatype.org/</nexusUrl> | ||
<autoReleaseAfterClose>true</autoReleaseAfterClose> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
<profiles> | ||
<!-- mvn clean javadoc:jar source:jar deploy -P release -Dgpg.passphrase=xxxx --> | ||
<profile> | ||
<id>release</id> | ||
<build> | ||
<plugins> | ||
<!-- GPG --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-gpg-plugin</artifactId> | ||
<version>1.5</version> | ||
<executions> | ||
<execution> | ||
<phase>verify</phase> | ||
<goals> | ||
<goal>sign</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
<distributionManagement> | ||
<snapshotRepository> | ||
<id>nexus-release</id> | ||
<url>https://oss.sonatype.org/content/repositories/snapshots/</url> | ||
</snapshotRepository> | ||
<repository> | ||
<id>nexus-release</id> | ||
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> | ||
</repository> | ||
</distributionManagement> | ||
</profile> | ||
</profiles> | ||
<profiles> | ||
<profile> | ||
<id>release</id> | ||
<build> | ||
<plugins> | ||
<!-- GPG --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-gpg-plugin</artifactId> | ||
<version>1.5</version> | ||
<executions> | ||
<execution> | ||
<phase>verify</phase> | ||
<goals> | ||
<goal>sign</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
<distributionManagement> | ||
<snapshotRepository> | ||
<id>nexus-release</id> | ||
<url>https://oss.sonatype.org/content/repositories/snapshots/</url> | ||
</snapshotRepository> | ||
<repository> | ||
<id>nexus-release</id> | ||
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> | ||
</repository> | ||
</distributionManagement> | ||
</profile> | ||
</profiles> | ||
|
||
<!-- 使用aliyun maven --> | ||
<repositories> | ||
<repository> | ||
<id>aliyun</id> | ||
<name>aliyun</name> | ||
<url>http://maven.aliyun.com/nexus/content/groups/public</url> | ||
</repository> | ||
</repositories> | ||
<!-- 使用aliyun maven --> | ||
<repositories> | ||
<repository> | ||
<id>aliyun</id> | ||
<name>aliyun</name> | ||
<url>http://maven.aliyun.com/nexus/content/groups/public</url> | ||
</repository> | ||
</repositories> | ||
|
||
</project> |