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-sitetools] rawhide: spec is now EPEL10 compliant
Date: Wed, 04 Nov 2026 22:16:27 GMT	[thread overview]
Message-ID: <179383058765.1.14033194863011042625.rpms-maven-doxia-sitetools-92a5058173f0@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/maven-doxia-sitetools
Branch : rawhide
Commit : 92a5058173f0504450ee9b61bed3a069a2c2eea4
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date   : 2026-11-04T16:07:28-03:00
Stats  : +8/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/maven-doxia-sitetools/c/92a5058173f0504450ee9b61bed3a069a2c2eea4?branch=rawhide

Log:
spec is now EPEL10 compliant

---
diff --git a/maven-doxia-sitetools.spec b/maven-doxia-sitetools.spec
index 2783d27..e2dd295 100644
--- a/maven-doxia-sitetools.spec
+++ b/maven-doxia-sitetools.spec
@@ -15,7 +15,11 @@ Source2:        https://downloads.apache.org/maven/KEYS
 Patch:          0001-Remove-dependency-on-velocity-tools.patch
 
 BuildRequires:  openpgpverify
+%if 0%{?rhel} && 0%{?rhel} <= 10
+BuildRequires:  maven-local-openjdk21
+%else
 BuildRequires:  maven-local-openjdk25
+%endif
 BuildRequires:  mvn(com.google.inject:guice)
 BuildRequires:  mvn(commons-io:commons-io)
 BuildRequires:  mvn(javax.inject:javax.inject)
@@ -87,6 +91,10 @@ API documentation for %{name}.
 # Add a missing dependency
 %pom_add_dep org.codehaus.plexus:plexus-utils doxia-skin-model
 
+# 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']/pom:configuration" "<javaSource>8</javaSource>" doxia-site-model
+%pom_xpath_inject "pom:build/pom:plugins/pom:plugin[pom:artifactId='modello-maven-plugin']/pom:configuration" "<javaSource>8</javaSource>" doxia-skin-model
+
 # Not actually used in the build or needed at runtime
 %pom_remove_dep -r org.apache.maven.doxia:doxia-module-apt
 %pom_remove_dep -r org.apache.maven.doxia:doxia-module-fml

                 reply	other threads:[~2026-11-04 22:16 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=179383058765.1.14033194863011042625.rpms-maven-doxia-sitetools-92a5058173f0@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