Updating target to Java 17
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Gregory Ballantine 2022-08-30 00:08:18 -04:00
parent ad0115e5f2
commit 3b789eb623
2 changed files with 7 additions and 7 deletions

View File

@ -1,17 +1,17 @@
pipeline:
test:
image: maven:3-jdk-11
image: maven:3-jdk-17
commands:
- apt update && apt install -y lsof
- mvn test
build:
image: maven:3-jdk-11
image: maven:3-jdk-17
commands:
- mvn clean compile assembly:single
package:
image: maven:3-jdk-11
image: maven:3-jdk-17
commands:
- apt update && apt install -y rpm
- mvn clean compile package -Dmaven.test.skip

View File

@ -37,8 +37,8 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
</properties>
<dependencies>
@ -146,7 +146,7 @@
<debBaseDir>${project.basedir}/src/build/deb</debBaseDir>
<installDir>/opt</installDir>
<osDependencies>
<openjdk-11-jre></openjdk-11-jre>
<openjdk-17-jre></openjdk-17-jre>
<ffmpeg></ffmpeg>
</osDependencies>
<javaServiceWrapper>false</javaServiceWrapper>
@ -226,7 +226,7 @@
</mapping>
</mappings>
<requires>
<require>java-11-openjdk</require>
<require>java-17-openjdk</require>
<require>ffmpeg</require>
</requires>
<preinstallScriptlet>