public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/maven-doxia] rawhide: fix current FTBFS (koschei)
Date: Thu, 22 Oct 2026 04:40:11 GMT [thread overview]
Message-ID: <179264401185.1.16086712060567215531.rpms-maven-doxia-8940a524745d@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/maven-doxia
Branch : rawhide
Commit : 8940a524745db65d7f0bb704fdff01f12361048a
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-08-21T11:25:29-03:00
Stats : +7/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/maven-doxia/c/8940a524745db65d7f0bb704fdff01f12361048a?branch=rawhide
Log:
fix current FTBFS (koschei)
adapt the spec to support epel10 build
---
diff --git a/maven-doxia.spec b/maven-doxia.spec
index b063c00..5f623a3 100644
--- a/maven-doxia.spec
+++ b/maven-doxia.spec
@@ -15,7 +15,11 @@ BuildArch: noarch
ExclusiveArch: %{java_arches} noarch
BuildRequires: gpgverify
+%if 0%{?rhel} && 0%{?rhel} <= 10
+BuildRequires: maven-local-openjdk21
+%else
BuildRequires: maven-local-openjdk25
+%endif
BuildRequires: mvn(com.vladsch.flexmark:flexmark)
BuildRequires: mvn(com.vladsch.flexmark:flexmark-ext-abbreviation)
BuildRequires: mvn(com.vladsch.flexmark:flexmark-ext-autolink)
@@ -197,6 +201,9 @@ done
%pom_remove_plugin org.apache.rat:apache-rat-plugin
%pom_remove_plugin :maven-install-plugin doxia-modules/doxia-module-markdown
+# Inject javaSource=8 for modello-maven-plugin to generate generics-compatible classes
+%pom_xpath_inject "pom:build/pom:plugins/pom:plugin[pom:artifactId='modello-maven-plugin']" "<configuration><javaSource>8</javaSource></configuration>" doxia-modules/doxia-module-fml
+
# Needed for the tests
%pom_add_dep org.apiguardian:apiguardian-api:1.1.2:test
reply other threads:[~2026-10-22 4:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179264401185.1.16086712060567215531.rpms-maven-doxia-8940a524745d@fedoraproject.org \
--to=rosset.filipe@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox