From 846ae4245367c981e413dd6665bfd74e1fce0d64 Mon Sep 17 00:00:00 2001 From: 6tail <6tail@6tail.cn> Date: Wed, 8 Apr 2020 10:06:16 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=84=E5=88=921.1.0=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 +++---- README_EN.md | 8 +++--- pom.xml | 57 ++++++++++++++++++++++++++------------- src/assembly/assembly.xml | 17 ++++++++++++ 4 files changed, 64 insertions(+), 28 deletions(-) create mode 100644 src/assembly/assembly.xml diff --git a/README.md b/README.md index bae02d0..85fe8ab 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,18 @@ # lunar [![License](https://img.shields.io/badge/license-MIT-4EB1BA.svg?style=flat-square)](https://github.com/6tail/lunar/blob/master/LICENSE) -lunar是一个无依赖的支持阳历和阴历的日历工具库。 +lunar是一款无第三方依赖的日历工具,支持公历和农历、星座、干支、生肖、节气、节日、彭祖百忌、吉神方位、冲煞、纳音、星宿、八字、五行、十神等。 > 支持java 1.5及以上版本。 [English](https://github.com/6tail/lunar-java/blob/master/README_EN.md) -### 稳定版本 +### 也许稳定版本 ```xml cn.6tail lunar - 1.0.0 + 1.1.0 ``` @@ -34,7 +34,7 @@ lunar是一个无依赖的支持阳历和阴历的日历工具库。 cn.6tail lunar - 1.0.0-SNAPSHOT + 1.1.0-SNAPSHOT ``` @@ -42,7 +42,7 @@ lunar是一个无依赖的支持阳历和阴历的日历工具库。 如果使用jar,建议下载最新的SNAPSHOT版本,bug将得到及时的修复。 -[Download](https://oss.sonatype.org/content/groups/public/cn/6tail/lunar/) +[Download](https://github.com/6tail/lunar-java/releases) ## 示例 diff --git a/README_EN.md b/README_EN.md index bca4062..6d05496 100644 --- a/README_EN.md +++ b/README_EN.md @@ -6,13 +6,13 @@ lunar is a calendar library for Solar and Chinese Lunar. [简体中文](https://github.com/6tail/lunar-java/blob/master/README.md) -### Release +### Pre Release ```xml cn.6tail lunar - 1.0.0 + 1.1.0 ``` @@ -34,7 +34,7 @@ lunar is a calendar library for Solar and Chinese Lunar. cn.6tail lunar - 1.0.0-SNAPSHOT + 1.1.0-SNAPSHOT ``` @@ -42,7 +42,7 @@ lunar is a calendar library for Solar and Chinese Lunar. If you will use jars in your projects, I suggest you to download latest snapshot versions with less bugs. -[Download](https://oss.sonatype.org/content/groups/public/cn/6tail/lunar/) +[Download](https://github.com/6tail/lunar-java/releases) ## Example diff --git a/pom.xml b/pom.xml index 22e42d4..53c415f 100644 --- a/pom.xml +++ b/pom.xml @@ -7,10 +7,10 @@ cn.6tail lunar jar - 1.0.0-SNAPSHOT + 1.1.0 ${project.groupId}:${project.artifactId} https://github.com/6tail/lunar-java - calendar util + a calendar library for Solar and Chinese Lunar The MIT License @@ -43,8 +43,17 @@ + UTF-8 UTF-8 UTF-8 + 1.5 + 1.5 + 3.3 + 2.5 + 2.9 + 2.4 + 2.2.2 + 1.6 @@ -66,35 +75,27 @@ org.apache.maven.plugins - maven-release-plugin - 2.2.2 + maven-compiler-plugin + ${maven-compiler-plugin-version} - -Dgpg.passphrase=${gpg.passphrase} + ${source-version} + ${target-version} + ${encoding} org.apache.maven.plugins maven-surefire-plugin - 2.5 + ${maven-surefire-plugin-version} -Dfile.encoding=UTF-8 false - - org.apache.maven.plugins - maven-compiler-plugin - 3.3 - - 1.5 - 1.5 - UTF-8 - - org.apache.maven.plugins maven-javadoc-plugin - 2.9 + ${maven-javadoc-plugin-version} attach-javadocs @@ -110,7 +111,7 @@ org.apache.maven.plugins maven-source-plugin - 2.4 + ${maven-source-plugin-version} attach-sources @@ -120,10 +121,18 @@ + + org.apache.maven.plugins + maven-release-plugin + ${maven-release-plugin-version} + + -Dgpg.passphrase=${gpg.passphrase} + + org.apache.maven.plugins maven-gpg-plugin - 1.6 + ${maven-gpg-plugin-version} ${gpg.passphrase} @@ -137,6 +146,16 @@ + + maven-assembly-plugin + + false + ${project.artifactId}-${project.version} + + ${basedir}/src/assembly/assembly.xml + + + ${project.artifactId}-${project.version} diff --git a/src/assembly/assembly.xml b/src/assembly/assembly.xml new file mode 100644 index 0000000..644e3ce --- /dev/null +++ b/src/assembly/assembly.xml @@ -0,0 +1,17 @@ + + jar-with-dependencies + + jar + + false + + + ${project.build.directory}/classes + / + + + ${basedir}/src/main/java + / + + +