39 lines
1.4 KiB
Diff
39 lines
1.4 KiB
Diff
From: ej@inai.de
|
|
Date: 2025-07-21 10:14:54.768655874 +0200
|
|
|
|
The `mvn package` command within the Docker environment would
|
|
download maven-jar-plugin-3.4.1, but when using the offline build in
|
|
%install, `mvn package` suddenly wants 3.3.0. So we patch pom.xml to
|
|
explicitly grab 3.3.0 instead.
|
|
|
|
Werror is bad for distributions, it needs to go too.
|
|
|
|
---
|
|
pom.xml | 6 +++++-
|
|
1 file changed, 5 insertions(+), 1 deletion(-)
|
|
|
|
Index: jibri-7b406bf34967a7ec4ce19994fe1888653e4b5d93/pom.xml
|
|
===================================================================
|
|
--- jibri-7b406bf34967a7ec4ce19994fe1888653e4b5d93.orig/pom.xml
|
|
+++ jibri-7b406bf34967a7ec4ce19994fe1888653e4b5d93/pom.xml
|
|
@@ -268,6 +268,11 @@
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
+ <artifactId>maven-jar-plugin</artifactId>
|
|
+ <version>3.3.0</version>
|
|
+ </plugin>
|
|
+ <plugin>
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<version>3.0.0-M3</version>
|
|
<executions>
|
|
@@ -300,7 +305,6 @@
|
|
<sourceDir>${project.basedir}/src/main/java</sourceDir>
|
|
</sourceDirs>
|
|
<args>
|
|
- <arg>-Werror</arg>
|
|
<arg>-opt-in=kotlin.ExperimentalStdlibApi</arg>
|
|
<arg>-opt-in=kotlin.time.ExperimentalTime</arg>
|
|
</args>
|