From 6cdb68899bc7c5708ed2ee4b21b83e643e260675 Mon Sep 17 00:00:00 2001
From: xiongxiaoyang <1179705413@qq.com>
Date: Thu, 20 Mar 2025 13:26:10 +0800
Subject: [PATCH] =?UTF-8?q?ci:=20GitHub=20Actions=20=E6=8C=87=E5=AE=9A?=
=?UTF-8?q?=E4=B8=AD=E5=A4=AE=E4=BB=93=E5=BA=93=E4=B8=8B=E8=BD=BD=20maven?=
=?UTF-8?q?=20=E4=BE=9D=E8=B5=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.github/workflows/release.yml | 2 +-
novel-admin/pom.xml | 31 +++++++++++++++++++++++++++++++
pom.xml | 31 +++++++++++++++++++++++++++++++
3 files changed, 63 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 7a0dbeb..6ac888f 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -22,7 +22,7 @@ jobs:
distribution: 'temurin'
- name: Build project with Maven
- run: mvn clean install -DskipTests=true
+ run: mvn clean install -DskipTests=true -Pcentral-repo
- name: Create Release
id: create_release
diff --git a/novel-admin/pom.xml b/novel-admin/pom.xml
index b1d9fad..1140350 100644
--- a/novel-admin/pom.xml
+++ b/novel-admin/pom.xml
@@ -332,4 +332,35 @@
+
+
+
+
+ central-repo
+
+
+ central
+ https://repo.maven.apache.org/maven2/
+
+ true
+
+
+ false
+
+
+
+
+
+ central-plugin
+ https://repo.maven.apache.org/maven2/
+
+ true
+
+
+ false
+
+
+
+
+
diff --git a/pom.xml b/pom.xml
index 4ac1f58..661c29d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -113,4 +113,35 @@
+
+
+
+
+ central-repo
+
+
+ central
+ https://repo.maven.apache.org/maven2/
+
+ true
+
+
+ false
+
+
+
+
+
+ central-plugin
+ https://repo.maven.apache.org/maven2/
+
+ true
+
+
+ false
+
+
+
+
+