From 044cc852a093f0ab8104cd8d1a54bba081c021d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=82=85=E5=93=A5?= <184172133@qq.com> Date: Tue, 5 Dec 2023 22:40:22 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E5=8F=91=E5=B8=83=E5=88=B0maven?= =?UTF-8?q?=E4=BB=93=E5=BA=93=20v1.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 +-- pom.xml | 97 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 98 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9c3d95a..1e2e29b 100644 --- a/README.md +++ b/README.md @@ -20,13 +20,13 @@ - 申请ApiKey:[https://open.bigmodel.cn/usercenter/apikeys](https://open.bigmodel.cn/usercenter/apikeys) - 注册申请开通,即可获得 ApiKey - 运行环境:JDK 1.8+ -- maven pom - `暂时测试阶段,未推送到Maven中央仓库,需要下载代码本地 install 后使用` +- maven pom - `已发布到Maven仓库` ```pom cn.bugstack chatglm-sdk-java - 1.0-SNAPSHOT + 1.0 ``` diff --git a/pom.xml b/pom.xml index a40c346..fd871ea 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ cn.bugstack chatglm-sdk-java - 1.0-SNAPSHOT + 1.0 chatglm-sdk-java OpenAI Java SDK, ZhiPuAi ChatGLM Java SDK . @@ -155,4 +155,99 @@ + + + + release + + true + + + + + + org.apache.maven.plugins + maven-release-plugin + 2.5.3 + + true + false + release + deploy + + + + + + org.apache.maven.plugins + maven-source-plugin + 2.2.1 + + + attach-sources + + jar-no-fork + + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.9.1 + + + attach-javadocs + + jar + + + -Xdoclint:none + + /Library/Java/JavaVirtualMachines/jdk1.8.0_311.jdk/Contents/Home/bin/javadoc + + + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.5 + + + sign-artifacts + verify + + sign + + + fuzhengwei + 123456 + + + + + + + + + + + + ossrh + https://s01.oss.sonatype.org/content/repositories/snapshots + + + release + https://s01.oss.sonatype.org/content/repositories/releases/ + + + + + + \ No newline at end of file -- GitLab