Skip to content

Commit 7e137cb

Browse files
authored
dependency updates (#1790)
1 parent d40762e commit 7e137cb

File tree

4 files changed

+37
-68
lines changed

4 files changed

+37
-68
lines changed

.github/workflows/build.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,21 @@ jobs:
88
build:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
11+
- name: Checkout repository
12+
uses: actions/checkout@v3
13+
1214
- name: Setup java
13-
uses: actions/setup-java@v2
15+
uses: actions/setup-java@v3
1416
with:
1517
distribution: 'temurin'
1618
java-version: '17'
19+
cache: 'maven'
1720

1821
- name: Run maven build lifecycle
1922
run: mvn --batch-mode clean test package
2023

2124
- name: Upload plugin file
2225
uses: actions/upload-artifact@v2
2326
with:
24-
name: ProtocolLib
25-
path: target/ProtocolLib.jar
27+
name: ProtocolLib
28+
path: target/ProtocolLib.jar

.github/workflows/codeql-analysis.yml

+20-54
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
# For most projects, this workflow file will not need changing; you simply need
2-
# to commit it to your repository.
3-
#
4-
# You may wish to alter this file to override the set of languages analyzed,
5-
# or to provide custom queries or build logic.
6-
#
7-
# ******** NOTE ********
8-
# We have attempted to detect the languages in your repository. Please check
9-
# the `language` matrix defined below to confirm you have the correct set of
10-
# supported CodeQL languages.
11-
#
121
name: "CodeQL"
132

143
on:
@@ -29,47 +18,24 @@ jobs:
2918
contents: read
3019
security-events: write
3120

32-
strategy:
33-
fail-fast: false
34-
matrix:
35-
language: [ 'java' ]
36-
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
37-
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
38-
3921
steps:
40-
- name: Checkout repository
41-
uses: actions/checkout@v3
42-
43-
# Initializes the CodeQL tools for scanning.
44-
- name: Initialize CodeQL
45-
uses: github/codeql-action/init@v2
46-
with:
47-
languages: ${{ matrix.language }}
48-
# If you wish to specify custom queries, you can do so here or in a config file.
49-
# By default, queries listed here will override any specified in a config file.
50-
# Prefix the list here with "+" to use these queries and those in the config file.
51-
52-
# 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
53-
# queries: security-extended,security-and-quality
54-
55-
- name: Setup java
56-
uses: actions/setup-java@v2
57-
with:
58-
distribution: 'temurin'
59-
java-version: '17'
60-
61-
- name: Run maven build lifecycle
62-
run: mvn --batch-mode clean test package
63-
64-
# ℹ️ Command-line programs to run using the OS shell.
65-
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
66-
67-
# If the Autobuild fails above, remove it and uncomment the following three lines.
68-
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
69-
70-
# - run: |
71-
# echo "Run, Build Application using script"
72-
# ./location_of_script_within_repo/buildscript.sh
73-
74-
- name: Perform CodeQL Analysis
75-
uses: github/codeql-action/analyze@v2
22+
- name: Checkout repository
23+
uses: actions/checkout@v3
24+
25+
- name: Setup java
26+
uses: actions/setup-java@v3
27+
with:
28+
distribution: 'temurin'
29+
java-version: '17'
30+
cache: 'maven'
31+
32+
- name: Initialize CodeQL
33+
uses: github/codeql-action/init@v2
34+
with:
35+
languages: 'java'
36+
37+
- name: Run maven build lifecycle
38+
run: mvn --batch-mode clean test package
39+
40+
- name: Perform CodeQL Analysis
41+
uses: github/codeql-action/analyze@v2

jitpack.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
before_install:
22
- source "$HOME/.sdkman/bin/sdkman-init.sh"
33
- sdk update
4-
- sdk install java 17.0.1-tem
5-
- sdk use java 17.0.1-tem
4+
- sdk install java 17.0.4-tem
5+
- sdk use java 17.0.4-tem

pom.xml

+8-8
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
<project.build.number></project.build.number>
1717
<project.fullVersion>${project.version}</project.fullVersion>
1818

19-
<junit.version>5.8.2</junit.version>
20-
<mockito.version>4.3.1</mockito.version>
21-
<netty.version>4.1.74.Final</netty.version>
19+
<junit.version>5.9.0</junit.version>
20+
<mockito.version>4.6.1</mockito.version>
21+
<netty.version>4.1.77.Final</netty.version>
2222
<spigot.version>1.19.1-R0.1-SNAPSHOT</spigot.version>
2323
</properties>
2424

@@ -40,7 +40,7 @@
4040
<plugin>
4141
<groupId>org.apache.maven.plugins</groupId>
4242
<artifactId>maven-shade-plugin</artifactId>
43-
<version>3.2.4</version>
43+
<version>3.3.0</version>
4444
<executions>
4545
<execution>
4646
<phase>package</phase>
@@ -73,7 +73,7 @@
7373

7474
<plugin>
7575
<artifactId>maven-compiler-plugin</artifactId>
76-
<version>3.10.0</version>
76+
<version>3.10.1</version>
7777
<configuration>
7878
<source>1.8</source>
7979
<target>1.8</target>
@@ -100,7 +100,7 @@
100100
<plugin>
101101
<groupId>org.apache.maven.plugins</groupId>
102102
<artifactId>maven-surefire-plugin</artifactId>
103-
<version>3.0.0-M5</version>
103+
<version>3.0.0-M7</version>
104104
<dependencies>
105105
<!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-engine -->
106106
<dependency>
@@ -125,7 +125,7 @@
125125

126126
<plugin>
127127
<artifactId>maven-javadoc-plugin</artifactId>
128-
<version>3.3.2</version>
128+
<version>3.4.0</version>
129129
<configuration>
130130
<failOnError>false</failOnError>
131131
<encoding>ISO-8859-1</encoding>
@@ -195,7 +195,7 @@
195195
<plugin>
196196
<groupId>org.apache.maven.plugins</groupId>
197197
<artifactId>maven-javadoc-plugin</artifactId>
198-
<version>3.3.2</version>
198+
<version>3.4.0</version>
199199
<executions>
200200
<execution>
201201
<id>attach-javadocs</id>

0 commit comments

Comments
 (0)