From 7e137cbfc5db33712455550b0cc54fc966add8d5 Mon Sep 17 00:00:00 2001 From: Pasqual Koschmieder Date: Sun, 31 Jul 2022 02:01:11 +0200 Subject: [PATCH] dependency updates (#1790) --- .github/workflows/build.yml | 11 +++-- .github/workflows/codeql-analysis.yml | 66 +++++++-------------------- jitpack.yml | 4 +- pom.xml | 16 +++---- 4 files changed, 33 insertions(+), 64 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8dd8a96d..1b781a03 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,12 +8,15 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout repository + uses: actions/checkout@v3 + - name: Setup java - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: '17' + cache: 'maven' - name: Run maven build lifecycle run: mvn --batch-mode clean test package @@ -21,5 +24,5 @@ jobs: - name: Upload plugin file uses: actions/upload-artifact@v2 with: - name: ProtocolLib - path: target/ProtocolLib.jar + name: ProtocolLib + path: target/ProtocolLib.jar diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 5230b0be..6f0883fc 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -1,14 +1,3 @@ -# For most projects, this workflow file will not need changing; you simply need -# to commit it to your repository. -# -# You may wish to alter this file to override the set of languages analyzed, -# or to provide custom queries or build logic. -# -# ******** NOTE ******** -# We have attempted to detect the languages in your repository. Please check -# the `language` matrix defined below to confirm you have the correct set of -# supported CodeQL languages. -# name: "CodeQL" on: @@ -29,47 +18,24 @@ jobs: contents: read security-events: write - strategy: - fail-fast: false - matrix: - language: [ 'java' ] - # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] - # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support - steps: - - name: Checkout repository - uses: actions/checkout@v3 + - name: Checkout repository + uses: actions/checkout@v3 - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v2 - with: - languages: ${{ matrix.language }} - # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. - # Prefix the list here with "+" to use these queries and those in the config file. - - # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs - # queries: security-extended,security-and-quality + - name: Setup java + uses: actions/setup-java@v3 + with: + distribution: 'temurin' + java-version: '17' + cache: 'maven' - - name: Setup java - uses: actions/setup-java@v2 - with: - distribution: 'temurin' - java-version: '17' + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + languages: 'java' - - name: Run maven build lifecycle - run: mvn --batch-mode clean test package + - name: Run maven build lifecycle + run: mvn --batch-mode clean test package - # ℹī¸ Command-line programs to run using the OS shell. - # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun - - # If the Autobuild fails above, remove it and uncomment the following three lines. - # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. - - # - run: | - # echo "Run, Build Application using script" - # ./location_of_script_within_repo/buildscript.sh - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2 diff --git a/jitpack.yml b/jitpack.yml index f5195ef9..7b1b7a39 100644 --- a/jitpack.yml +++ b/jitpack.yml @@ -1,5 +1,5 @@ before_install: - source "$HOME/.sdkman/bin/sdkman-init.sh" - sdk update - - sdk install java 17.0.1-tem - - sdk use java 17.0.1-tem + - sdk install java 17.0.4-tem + - sdk use java 17.0.4-tem diff --git a/pom.xml b/pom.xml index c2edc888..3edbd1f4 100644 --- a/pom.xml +++ b/pom.xml @@ -16,9 +16,9 @@ ${project.version} - 5.8.2 - 4.3.1 - 4.1.74.Final + 5.9.0 + 4.6.1 + 4.1.77.Final 1.19.1-R0.1-SNAPSHOT @@ -40,7 +40,7 @@ org.apache.maven.plugins maven-shade-plugin - 3.2.4 + 3.3.0 package @@ -73,7 +73,7 @@ maven-compiler-plugin - 3.10.0 + 3.10.1 1.8 1.8 @@ -100,7 +100,7 @@ org.apache.maven.plugins maven-surefire-plugin - 3.0.0-M5 + 3.0.0-M7 @@ -125,7 +125,7 @@ maven-javadoc-plugin - 3.3.2 + 3.4.0 false ISO-8859-1 @@ -195,7 +195,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.3.2 + 3.4.0 attach-javadocs