diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 93bf68c..a526cb9 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -49,10 +49,10 @@ jobs: # and modify them (or add more) to build your code if your project # uses a compiled language - - name: Set up JDK 16 + - name: Set up JDK 21 uses: actions/setup-java@v3 with: - java-version: '16' + java-version: '21' distribution: 'adopt' cache: maven - name: Build with Maven diff --git a/.github/workflows/maven-publish-release-workflow.yml b/.github/workflows/maven-publish-release-workflow.yml index 9f2796f..2c0bfae 100644 --- a/.github/workflows/maven-publish-release-workflow.yml +++ b/.github/workflows/maven-publish-release-workflow.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Maven Central Repository uses: actions/setup-java@v3 with: - java-version: '16' + java-version: '21' distribution: 'adopt' cache: maven server-id: ossrh @@ -28,7 +28,7 @@ jobs: gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase - name: Test and Publish Package to Apache Maven Central - run: mvn clean deploy -P release-version + run: mvn -B release:clean release:prepare release:perform env: OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }} diff --git a/.github/workflows/maven-publish-snapshot-workflow.yml b/.github/workflows/maven-publish-snapshot-workflow.yml index 8eba453..d7b281d 100644 --- a/.github/workflows/maven-publish-snapshot-workflow.yml +++ b/.github/workflows/maven-publish-snapshot-workflow.yml @@ -23,7 +23,7 @@ jobs: - name: Set up Maven Central Repository uses: actions/setup-java@v3 with: - java-version: '16' + java-version: '21' distribution: 'adopt' cache: maven server-id: ossrh diff --git a/pom.xml b/pom.xml index 5c069bf..0cde6ed 100644 --- a/pom.xml +++ b/pom.xml @@ -6,40 +6,39 @@ 4.0.0 com.beanbeanjuice cafe-api-wrapper - ${version.number.final} + 1.5.2-SNAPSHOT jar - 16 - 16 + 21 + 21 UTF-8 UTF-8 - 1.5.0 - - - snapshot-version - - true - - - - ${version.number}-SNAPSHOT - - - - - release-version - - false - - - - ${version.number} - - - + + + + + + + + + + + + + + + + + + + + + + + cafe-api-wrapper An API Wrapper for the Cafe API