From 79ad6de362d31e049744f54094f3577846173ba7 Mon Sep 17 00:00:00 2001 From: HeroCC Date: Fri, 16 Jul 2021 18:25:24 -0400 Subject: [PATCH] Update WorldEdit Maven Repo & use Java 11 (#43) * Use HTTPS for sk89q maven repo Newer Maven releases don't allow use of http endpoints. Bump this to the secure https endpoint. * Migrate sk89q maven repo to enginehub Both URLs point to the same place, but according to https://worldguard.enginehub.org/en/latest/developer/dependency/ enginehub is the preferred source. * Bump Java to Adoptium Hotspot JDK 11 --- .github/workflows/build.yml | 9 +++++---- pom.xml | 6 +++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 499a8e5..830c098 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,10 +13,11 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - - name: Set up JDK 8 - uses: actions/setup-java@v1 + - name: Set up JDK 11 + uses: actions/setup-java@v2 with: - java-version: 8 + java-version: '11' + distribution: 'adopt-hotspot' - name: Cache SonarCloud packages uses: actions/cache@v1 with: @@ -33,4 +34,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=PlayPro_CoreProtect -Dsonar.organization=playpro -Dsonar.host.url=https://sonarcloud.io \ No newline at end of file + run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=PlayPro_CoreProtect -Dsonar.organization=playpro -Dsonar.host.url=https://sonarcloud.io diff --git a/pom.xml b/pom.xml index 3595732..66edcbe 100755 --- a/pom.xml +++ b/pom.xml @@ -83,8 +83,8 @@ https://repo.codemc.org/repository/maven-public/ - sk89q-repo - http://maven.sk89q.com/repo/ + enginehub-repo + https://maven.enginehub.org/repo/ @@ -121,4 +121,4 @@ - \ No newline at end of file +