public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/maven-remote-resources-plugin] f45: Target Java 8 by injecting pom_xpath_inject macro for modello-maven-plugin
@ 2026-08-18 12:27 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-08-18 12:27 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/maven-remote-resources-plugin
            Branch : f45
            Commit : 82645400464fa6d8626e963edb65169915c767fc
            Author : Filipe Rosset <rosset.filipe@gmail.com>
            Date   : 2026-08-17T15:38:39-03:00
            Stats  : +1/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/maven-remote-resources-plugin/c/82645400464fa6d8626e963edb65169915c767fc?branch=f45

            Log:
            Target Java 8 by injecting pom_xpath_inject macro for modello-maven-plugin

Fixes the errors related to AbstractProcessRemoteResourcesMojo.java
incompatible types: Object cannot be converted to String

May fix the ELN FTBFS https://github.com/fedora-eln/eln/issues/606

---
diff --git a/maven-remote-resources-plugin.spec b/maven-remote-resources-plugin.spec
index 522cc89..b665f20 100644
--- a/maven-remote-resources-plugin.spec
+++ b/maven-remote-resources-plugin.spec
@@ -56,6 +56,7 @@ license and notice files for each release.
 %prep
 %autosetup -p1 -C
 
+%pom_xpath_inject "pom:build/pom:plugins/pom:plugin[pom:artifactId='modello-maven-plugin']" "<configuration><javaSource>8</javaSource></configuration>"
 %pom_remove_plugin :maven-dependency-plugin
 
 %build

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-18 12:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-18 12:27 [rpms/maven-remote-resources-plugin] f45: Target Java 8 by injecting pom_xpath_inject macro for modello-maven-plugin Filipe Rosset

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox