From 010674506e9acb7dc8b8e7ed06ae91e08d3f8d8c Mon Sep 17 00:00:00 2001 From: Lion Date: Fri, 24 Jun 2022 15:23:04 +0800 Subject: [PATCH] update the pom for maven release --- binding/java/pom.xml | 128 +++++++++++++++++++++++++++---------------- 1 file changed, 81 insertions(+), 47 deletions(-) diff --git a/binding/java/pom.xml b/binding/java/pom.xml index 843e892..e4fe170 100644 --- a/binding/java/pom.xml +++ b/binding/java/pom.xml @@ -9,7 +9,7 @@ ip2region https://gitee.com/lionsoul/ip2region/ - Open source internet address db manager framework and locator + Open source offline internet address db manager framework and locator @@ -25,17 +25,6 @@ scm:git:git@gitee.com:lionsoul/ip2region.git - - - oss-parent - https://oss.sonatype.org/content/repositories/snapshots/ - - - oss-parent - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - - - lionsoul @@ -58,7 +47,7 @@ junit junit - 4.13.2 + 4.13.1 test @@ -83,12 +72,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 2.10.4 - - false - -Xdoclint:none - UTF-8 - + 2.9 attach-javadocs @@ -101,6 +85,9 @@ + + false + @@ -123,34 +110,81 @@ - - - org.apache.maven.plugins - maven-gpg-plugin - 1.6 - - - sign-artifacts - verify - - sign - - - - - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.8 - true - - oss-parent - https://oss.sonatype.org/ - true - - - \ No newline at end of file + + + java8-doclint-disabled + + [1.8,) + + + -Xdoclint:none + + + + release + + + + + org.apache.maven.plugins + maven-source-plugin + 2.2.1 + + + package + + jar-no-fork + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.9.1 + + + package + + jar + + + ${javadoc.opts} + + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.5 + + + verify + + sign + + + + + + + + + oss + https://oss.sonatype.org/content/repositories/snapshots/ + + + oss + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + + + + + +