diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 03151ec..cef8356 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -29,5 +29,5 @@ jobs: - name: "Deploy" run: mvn -B deploy --file pom.xml env: - MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} + MAVEN_USERNAME: ${{ github.repository_owner }} MAVEN_TOKEN: ${{secrets.GITHUB_TOKEN}} \ No newline at end of file diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index bdc7f2a..913b96f 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -27,7 +27,7 @@ jobs: - name: "Package" run: mvn -B package --file pom.xml env: - MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} + MAVEN_USERNAME: ${{ github.repository_owner }} MAVEN_TOKEN: ${{secrets.GITHUB_TOKEN}} - name: "Target Stage" run: mkdir staging && cp target/*.jar staging diff --git a/pom.xml b/pom.xml index 2cbc5c3..01e1d82 100644 --- a/pom.xml +++ b/pom.xml @@ -6,20 +6,20 @@ cc.carm.plugin userprefix - 2.1.5 + 2.1.6 - 用户前缀系统 + UserPrefix 轻便、高效、实时的用户前缀系统。 https://github.com/CarmJos/UserPrefix GitHub Issues - https://github.com/CarmJos/UserPrefix/issues + ${project.url}/issues GitHub Actions - https://github.com/CarmJos/UserPrefix/actions/workflows/maven.yml + ${project.url}/actions/workflows/maven.yml @@ -27,13 +27,18 @@ CarmJos Carm Jos carm@carm.cc + https://work.carm.cc Main Developer - https://work.carm.cc + + YourCraft你的世界 + https://www.ycraft.cn/ + + GNU General Public License v3.0 @@ -60,11 +65,6 @@ https://repo.extendedclip.com/content/repositories/placeholderapi/ - - - - - oss-repo https://oss.sonatype.org/content/groups/public/ @@ -83,7 +83,7 @@ github GitHub Packages - https://maven.pkg.github.com/CarmJos/UserPrefix + https://maven.pkg.github.com/CarmJos/${project.name} @@ -91,7 +91,7 @@ github GitHub Packages - https://maven.pkg.github.com/CarmJos/UserPrefix + https://maven.pkg.github.com/CarmJos/${project.name} diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index f14c625..ae2750d 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,11 +1,13 @@ main: cc.carm.plugin.userprefix.Main -name: UserPrefix +name: ${project.name} version: ${project.version} authors: - Carm - - YourCraft + - ${project.organization.name} - SakuraGame -website: "https://github.com/CarmJos/UserPrefix" +website: ${project.url} +description: ${project.description} + depend: - LuckPerms softdepend: