public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/maven-doxia-sitetools] epel10: spec is now EPEL10 compliant
@ 2026-11-14 17:19 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-11-14 17:19 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/maven-doxia-sitetools
Branch : epel10
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=epel10
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-14 17:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-14 17:19 [rpms/maven-doxia-sitetools] epel10: spec is now EPEL10 compliant Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox