This commit is contained in:
parent
ad0115e5f2
commit
3b789eb623
@ -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
|
||||
|
8
pom.xml
8
pom.xml
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user