diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9e16544..b9cf60c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,10 +14,10 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - - name: Set up JDK 11 + - name: Set up JDK 16 uses: actions/setup-java@v1 with: - java-version: 11 + java-version: 16 - name: Cache SonarCloud packages uses: actions/cache@v1 with: diff --git a/pom.xml b/pom.xml index bcaaa9f..5b3c6cb 100644 --- a/pom.xml +++ b/pom.xml @@ -33,11 +33,11 @@ UTF-8 UTF-8 16 - 2.0.4 + 2.0.9 1.17-R0.1-SNAPSHOT 1.17.0-SNAPSHOT - 2.5.0 + 2.6.3 1.7 ${build.version}-SNAPSHOT @@ -93,6 +93,12 @@ + + + maven-snapshots + https://repository.apache.org/content/repositories/snapshots/ + spigot-repo https://hub.spigotmc.org/nexus/content/repositories/snapshots @@ -137,7 +143,7 @@ org.mockito mockito-core - 3.1.0 + 3.11.2 test @@ -213,16 +219,20 @@ org.apache.maven.plugins maven-compiler-plugin - 3.8.1 + 3.7.0 - 16 - 16 + ${java.version} org.apache.maven.plugins maven-surefire-plugin - 2.22.2 + 3.0.0-M5 + + + --illegal-access=permit + + org.apache.maven.plugins @@ -238,8 +248,7 @@ public false -Xdoclint:none - - + ${java.home}/bin/javadoc @@ -266,7 +275,7 @@ org.apache.maven.plugins maven-shade-plugin - 3.2.1 + 3.3.0-SNAPSHOT true