diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 36fde6c..ed115ca 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,15 +8,11 @@ jobs: if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')" steps: - uses: actions/checkout@v2 - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v2 with: - java-version: 11 - - uses: actions/cache@v2 - with: - path: ~/.m2/repository - key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} - restore-keys: | - ${{ runner.os }}-maven- + java-version: 17 + distribution: 'temurin' + cache: 'maven' - name: Ensure to use tagged version if: startsWith(github.ref, 'refs/tags/') run: mvn versions:set --file ./pom.xml -DnewVersion=${GITHUB_REF##*/} diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a46ddd6..ec9182c 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -18,15 +18,11 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 2 - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v2 with: - java-version: 11 - - uses: actions/cache@v2 - with: - path: ~/.m2/repository - key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} - restore-keys: | - ${{ runner.os }}-maven- + java-version: 17 + distribution: 'temurin' + cache: 'maven' - name: Initialize CodeQL uses: github/codeql-action/init@v1 with: diff --git a/.github/workflows/publish-central.yml b/.github/workflows/publish-central.yml index f22b7a9..0b9ef3b 100644 --- a/.github/workflows/publish-central.yml +++ b/.github/workflows/publish-central.yml @@ -13,20 +13,16 @@ jobs: - uses: actions/checkout@v2 with: ref: "refs/tags/${{ github.event.inputs.tag }}" - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v2 with: - java-version: 11 + java-version: 17 + distribution: 'temurin' + cache: 'maven' server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml server-username: MAVEN_USERNAME # env variable for username in deploy server-password: MAVEN_PASSWORD # env variable for token in deploy gpg-private-key: ${{ secrets.RELEASES_GPG_PRIVATE_KEY }} # Value of the GPG private key to import gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase - - uses: actions/cache@v2 - with: - path: ~/.m2/repository - key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} - restore-keys: | - ${{ runner.os }}-maven- - name: Enforce project version ${{ github.event.inputs.tag }} run: mvn versions:set -B -DnewVersion=${{ github.event.inputs.tag }} - name: Deploy diff --git a/.github/workflows/publish-github.yml b/.github/workflows/publish-github.yml index 8be609b..ff89e5a 100644 --- a/.github/workflows/publish-github.yml +++ b/.github/workflows/publish-github.yml @@ -8,17 +8,13 @@ jobs: if: startsWith(github.ref, 'refs/tags/') # only allow publishing tagged versions steps: - uses: actions/checkout@v2 - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v2 with: - java-version: 11 + java-version: 17 + distribution: 'temurin' + cache: 'maven' gpg-private-key: ${{ secrets.RELEASES_GPG_PRIVATE_KEY }} # Value of the GPG private key to import gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase - - uses: actions/cache@v2 - with: - path: ~/.m2/repository - key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} - restore-keys: | - ${{ runner.os }}-maven- - name: Enforce project version ${{ github.event.release.tag_name }} run: mvn versions:set -B -DnewVersion=${{ github.event.release.tag_name }} - name: Deploy diff --git a/pom.xml b/pom.xml index 30af710..612c48a 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 org.cryptomator fuse-nio-adapter - 1.3.2 + 1.3.3 FUSE-NIO-Adapter Access resources at a given NIO path via FUSE. https://github.com/cryptomator/fuse-nio-adapter @@ -19,9 +19,9 @@ 11 - 0.5.5 + 0.5.7 - 2.36 + 2.39.1 30.1.1-jre 1.7.32 @@ -124,11 +124,6 @@ Maven Central Repo https://repo.maven.apache.org/maven2 - - google-maven - Google Maven Repo - https://maven.google.com - @@ -149,7 +144,7 @@ maven-surefire-plugin - 2.22.2 + 3.0.0-M5 org.apache.maven.plugins @@ -177,7 +172,7 @@ maven-javadoc-plugin - 3.2.0 + 3.3.1 attach-javadocs @@ -186,6 +181,24 @@ + + + **/*_* + **/Dagger* + + + + + jakarta.inject + jakarta.inject-api + 1.0.3 + + + + + + + @@ -198,7 +211,7 @@ org.owasp dependency-check-maven - 6.1.2 + 6.4.1 24 0 @@ -227,7 +240,7 @@ org.jacoco jacoco-maven-plugin - 0.8.6 + 0.8.7 prepare-agent @@ -253,7 +266,7 @@ maven-gpg-plugin - 1.6 + 3.0.1 sign-artifacts