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 2caa287..120f5cf 100644 --- a/pom.xml +++ b/pom.xml @@ -21,12 +21,12 @@ GitHub Issues - https://github.com/CarmJos/PlayerPrefix/issues + ${project.url}/issues GitHub Actions - https://github.com/CarmJos/PlayerPrefix/actions/workflows/maven.yml + ${project.url}/actions/workflows/maven.yml @@ -43,8 +43,8 @@ - GNU General Public License v3.0 - https://opensource.org/licenses/GPL-3.0 + The MIT License + https://opensource.org/licenses/mit-license.php diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 4792949..f20f9c1 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,10 +1,18 @@ -name: PlayerPrefix main: cc.carm.plugin.playerprefix.Main -version: ${project} -author: CarmJos -depend: [ ProtocolLib ] -website: "https://github.com/CarmJos/PlayerPrefix" + +name: ${project.artifactId} +version: ${project.version} + +depend: + - ProtocolLib +softdepend: + - PlaceholderAPI + commands: PlayerPrefix: aliases: - - prefix \ No newline at end of file + - prefix + +author: CarmJos +website: ${project.url} +description: ${project.description}