This commit is contained in:
parent
ad0115e5f2
commit
3b789eb623
@ -1,17 +1,17 @@
|
|||||||
pipeline:
|
pipeline:
|
||||||
test:
|
test:
|
||||||
image: maven:3-jdk-11
|
image: maven:3-jdk-17
|
||||||
commands:
|
commands:
|
||||||
- apt update && apt install -y lsof
|
- apt update && apt install -y lsof
|
||||||
- mvn test
|
- mvn test
|
||||||
|
|
||||||
build:
|
build:
|
||||||
image: maven:3-jdk-11
|
image: maven:3-jdk-17
|
||||||
commands:
|
commands:
|
||||||
- mvn clean compile assembly:single
|
- mvn clean compile assembly:single
|
||||||
|
|
||||||
package:
|
package:
|
||||||
image: maven:3-jdk-11
|
image: maven:3-jdk-17
|
||||||
commands:
|
commands:
|
||||||
- apt update && apt install -y rpm
|
- apt update && apt install -y rpm
|
||||||
- mvn clean compile package -Dmaven.test.skip
|
- mvn clean compile package -Dmaven.test.skip
|
||||||
|
8
pom.xml
8
pom.xml
@ -37,8 +37,8 @@
|
|||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<maven.compiler.source>11</maven.compiler.source>
|
<maven.compiler.source>17</maven.compiler.source>
|
||||||
<maven.compiler.target>11</maven.compiler.target>
|
<maven.compiler.target>17</maven.compiler.target>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
@ -146,7 +146,7 @@
|
|||||||
<debBaseDir>${project.basedir}/src/build/deb</debBaseDir>
|
<debBaseDir>${project.basedir}/src/build/deb</debBaseDir>
|
||||||
<installDir>/opt</installDir>
|
<installDir>/opt</installDir>
|
||||||
<osDependencies>
|
<osDependencies>
|
||||||
<openjdk-11-jre></openjdk-11-jre>
|
<openjdk-17-jre></openjdk-17-jre>
|
||||||
<ffmpeg></ffmpeg>
|
<ffmpeg></ffmpeg>
|
||||||
</osDependencies>
|
</osDependencies>
|
||||||
<javaServiceWrapper>false</javaServiceWrapper>
|
<javaServiceWrapper>false</javaServiceWrapper>
|
||||||
@ -226,7 +226,7 @@
|
|||||||
</mapping>
|
</mapping>
|
||||||
</mappings>
|
</mappings>
|
||||||
<requires>
|
<requires>
|
||||||
<require>java-11-openjdk</require>
|
<require>java-17-openjdk</require>
|
||||||
<require>ffmpeg</require>
|
<require>ffmpeg</require>
|
||||||
</requires>
|
</requires>
|
||||||
<preinstallScriptlet>
|
<preinstallScriptlet>
|
||||||
|
Loading…
Reference in New Issue
Block a user