Skip to content

Commit

Permalink
🔖 release 2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Javen205 committed Jul 28, 2019
1 parent b9193e4 commit 3368a74
Show file tree
Hide file tree
Showing 4 changed files with 184 additions and 148 deletions.
4 changes: 2 additions & 2 deletions IJPay-AliPay/pom.xml
Expand Up @@ -5,15 +5,15 @@
<parent>
<artifactId>IJPay</artifactId>
<groupId>com.github.javen205</groupId>
<version>2.0.0</version>
<version>2.1.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>IJPay-AliPay</artifactId>
<name>${project.artifactId}</name>
<description>IJPay 让支付触手可及(Easy Pay Library)</description>
<url>https://github.com/javen205/IJPay</url>

<dependencies>
<dependency>
<groupId>com.alipay.sdk</groupId>
Expand Down
30 changes: 28 additions & 2 deletions IJPay-All/pom.xml
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>IJPay</artifactId>
<groupId>com.github.javen205</groupId>
<version>2.0.0</version>
<version>2.1.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -27,5 +27,31 @@
<version>${project.parent.version}</version>
</dependency>
</dependencies>


<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<!-- 创建源码jar -->
<createSourcesJar>true</createSourcesJar>
<artifactSet>
<includes>
<include>${project.groupId}:*:*</include>
</includes>
</artifactSet>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
3 changes: 2 additions & 1 deletion IJPay-WxPay/pom.xml
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>IJPay</artifactId>
<groupId>com.github.javen205</groupId>
<version>2.0.0</version>
<version>2.1.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -19,6 +19,7 @@
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.8</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>
295 changes: 152 additions & 143 deletions pom.xml
@@ -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>

0 comments on commit 3368a74

Please sign in to comment.