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 + + + + +