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
This commit is contained in:
HeroCC authored and GitHub committed 2021-07-16 16:25:24 -06:00
1 parent 3a1e5a356b
commit 79ad6de362
2 files changed
+8 -7

No files matched your search

+5 -4
View File
@@ -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
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
+3 -3
View File
@@ -83,8 +83,8 @@
<url>https://repo.codemc.org/repository/maven-public/</url>
</repository>
<repository>
<id>sk89q-repo</id>
<url>http://maven.sk89q.com/repo/</url>
<id>enginehub-repo</id>
<url>https://maven.enginehub.org/repo/</url>
</repository>
</repositories>
<dependencies>
@@ -121,4 +121,4 @@
</exclusions>
</dependency>
</dependencies>
</project>
</project>