diff --git a/.drone.yml b/.drone.yml index 920c91d..3fb8f1a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,25 +15,25 @@ trigger: steps: # test if it compiles correctly - name: build - image: maven:3-eclipse-temurin-16 + image: maven:3-eclipse-temurin-21 commands: - mvn verify --no-transfer-progress -DskipTests=true -Dmaven.javadoc.skip=true -B -V # run unit tests - name: test - image: maven:3-eclipse-temurin-16 + image: maven:3-eclipse-temurin-21 commands: - mvn test --no-transfer-progress -B -V # check maven dependencies - name: dependency-check - image: maven:3-eclipse-temurin-16 + image: maven:3-eclipse-temurin-21 commands: - mvn dependency-check:check --no-transfer-progress -B -V # run code analysis - name: code-analysis - image: maven:3-eclipse-temurin-16 + image: maven:3-eclipse-temurin-21 commands: - mvn sonar:sonar --no-transfer-progress -Dsonar.projectKey=$SONAR_PROJECT_KEY -Dsonar.host.url=$SONAR_INSTANCE_URL -Dsonar.login=$SONAR_LOGIN_KEY -B -V environment: @@ -64,7 +64,7 @@ steps: # upload to maven repository - name: maven-deploy - image: maven:3-eclipse-temurin-16 + image: maven:3-eclipse-temurin-21 commands: - mvn deploy --no-transfer-progress -DskipTests=true -Dmaven.javadoc.skip=true -B -V -gs settings.xml -Dmaven.repo.username=$MAVEN_REPO_USERNAME -Dmaven.repo.password=$MAVEN_REPO_PASSWORD environment: diff --git a/README.MD b/README.MD index 7b094f3..969c7c3 100644 --- a/README.MD +++ b/README.MD @@ -23,7 +23,7 @@ Additionally available parameters are: - **verbose**: log every message that the bot receives, plus additional debugging messages. Very spammy and performance heavy. - **refresh**: force refresh the slash commands. This is useful in case there was a simple update to a command that did not drastically change it, so no changes are found at bootup (eg: fixing a typo in the command description). -*Note: Java 16 or later is required.* +*Note: Java 21 or later is required.* ## Initial setup @@ -45,4 +45,4 @@ behavior. This project uses the `x.y.z-releaseType` schema for releases. Development builds are tagged as `x.y.z-SNAPSHOT` and sometimes pushed to the snapshots Maven repository. Stable builds are tagged as `x.y.z` and always pushed to the releases Maven repository, by promoting the build on -[Drone](https://drone.beatrice.wtf/). Currently, promoting stable builds is a manual process. \ No newline at end of file +[Drone](https://drone.beatrice.wtf/). Currently, promoting stable builds is a manual process. diff --git a/pom.xml b/pom.xml index 8ab9307..23bdeed 100644 --- a/pom.xml +++ b/pom.xml @@ -9,8 +9,8 @@ 0.5.20-SNAPSHOT - 16 - 16 + 21 + 21 UTF-8 ./target/dependency-check-report.html ./target/dependency-check-report.json @@ -144,7 +144,7 @@ org.owasp dependency-check-maven - 7.4.4 + 12.1.0 8