Suggest maven-openjdk21

Resolves: RHEL-51257
This commit is contained in:
Marian Koncek 2024-02-16 15:27:39 +01:00 committed by Mikolaj Izdebski
parent 58fd7dbb9a
commit 55bef28a09

View File

@ -76,7 +76,7 @@ Requires: slf4j
Requires: maven-lib
Requires: maven-jdk-binding
Suggests: maven-openjdk17
Suggests: maven-openjdk21
%description minimal
This package provides minimal version of XMvn, incapable of using
@ -145,7 +145,7 @@ mver=$(sed -n '/<mavenVersion>/{s/.*>\(.*\)<.*/\1/;p}' \
mkdir -p target/dependency/
cp -a "${maven_home}" target/dependency/apache-maven-$mver
# Workaround easymock incompatibility with Java 17that should be fixed
# Workaround easymock incompatibility with Java 17 that should be fixed
# in easymock 4.4: https://github.com/easymock/easymock/issues/274
%pom_add_plugin :maven-surefire-plugin xmvn-connector "<configuration>
<argLine>--add-opens=java.base/java.lang=ALL-UNNAMED</argLine></configuration>"
@ -244,6 +244,10 @@ rm -rf %{buildroot}%{_datadir}/%{name}/{configuration.xml,config.d/,conf/toolcha
%license LICENSE NOTICE
%changelog
* Mon Aug 05 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.2.0-12
- Suggest maven-openjdk21
- Resolves: RHEL-51257
* Thu Aug 01 2024 Troy Dawson <tdawson@redhat.com> - 4.2.0-12
- Bump release for Aug 2024 java mass rebuild