From fa259ce4531b813b270e5a76b7232922eca4f27d Mon Sep 17 00:00:00 2001 From: oyo Date: Thu, 21 May 2026 17:10:30 +0800 Subject: [PATCH] =?UTF-8?q?jar=20=E6=94=B9=E4=B8=BAdist?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/entrance/pom.xml | 1 - template/pom.xml | 5 --- template/public_api/dist/pom.xml | 54 ++++++++++++++++++++++++++++++++ template/public_api/pom.xml | 2 +- 4 files changed, 55 insertions(+), 7 deletions(-) create mode 100644 template/public_api/dist/pom.xml diff --git a/template/entrance/pom.xml b/template/entrance/pom.xml index 72c6d88..f7ed1fd 100644 --- a/template/entrance/pom.xml +++ b/template/entrance/pom.xml @@ -17,7 +17,6 @@ - rpc web diff --git a/template/pom.xml b/template/pom.xml index 6c3de89..dae231a 100644 --- a/template/pom.xml +++ b/template/pom.xml @@ -152,11 +152,6 @@ javax.annotation-api 1.3.2 - - cn.hutool - hutool-all - 5.7.4 - org.projectlombok lombok diff --git a/template/public_api/dist/pom.xml b/template/public_api/dist/pom.xml new file mode 100644 index 0000000..c181f0f --- /dev/null +++ b/template/public_api/dist/pom.xml @@ -0,0 +1,54 @@ + + + 4.0.0 + + + {{ .groupId }} + {{ .artifactId }}-public-api + ${revision} + ../pom.xml + + {{ .artifactId }}-public-api-dist + + + + {{ .groupId }} + {{ .artifactId }}-public-api-api + ${revision} + + + {{ .groupId }} + {{ .artifactId }}-public-api-types + ${revision} + + + + + {{ .artifactId }}-api + + + org.apache.maven.plugins + maven-shade-plugin + 3.5.1 + + + package + + shade + + + + + {{ .groupId }}:{{ .artifactId }}-public-api-api + {{ .groupId }}:{{ .artifactId }}-public-api-types + + + false + false + + + + + + + diff --git a/template/public_api/pom.xml b/template/public_api/pom.xml index 0f3d664..8fbeb5f 100644 --- a/template/public_api/pom.xml +++ b/template/public_api/pom.xml @@ -14,6 +14,6 @@ types api - jar + dist