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/plexus-velocity] rawhide: Update to 2.4.0 rhbz#2403371
Date: Thu, 05 Nov 2026 12:58:50 GMT	[thread overview]
Message-ID: <179388353088.1.4419406542824259579.rpms-plexus-velocity-3f4a6633c64b@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/plexus-velocity
Branch : rawhide
Commit : 3f4a6633c64b0bbcb5028e0ab32ba321a95d8c36
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date   : 2026-11-04T19:29:59-03:00
Stats  : +65/-21 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/plexus-velocity/c/3f4a6633c64b0bbcb5028e0ab32ba321a95d8c36?branch=rawhide

Log:
Update to 2.4.0 rhbz#2403371

---
diff --git a/.gitignore b/.gitignore
index f247fe6..1963078 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,6 +4,6 @@ plexus-velocity-1.1.8-src.tar.gz
 /LICENSE-2.0.txt
 /plexus-velocity-2.0.tar.gz
 /plexus-velocity-2.2.1.tar.gz
-/plexus-velocity-2.2.1-source-release.zip
-/plexus-velocity-2.2.1-source-release.zip.asc
+/plexus-velocity-2.4.0-source-release.zip
+/plexus-velocity-2.4.0-source-release.zip.asc
 /KEYS

diff --git a/0001-pin-deps-to-maven-local-versions.patch b/0001-pin-deps-to-maven-local-versions.patch
new file mode 100644
index 0000000..89b1743
--- /dev/null
+++ b/0001-pin-deps-to-maven-local-versions.patch
@@ -0,0 +1,40 @@
+Subject: [PATCH] Pin plexus-parent/commons-lang3/plexus-testing to maven-local versions
+
+Upstream 2.4.0 pins plexus parent pom 27, commons-lang3 3.20.0 and
+plexus-testing 2.2.0, none of which are available in the sealed Fedora/EPEL
+maven-local repositories. Pin them to the versions maven-local provides
+(plexus pom 25, commons-lang3 3.19.0, plexus-testing 1.3.0) so the build
+resolves offline in both maven-local-openjdk21 (EPEL 10) and
+maven-local-openjdk25 (Fedora).
+
+Upstream-Status: Not-upstreamed (Fedora packaging-only dependency pinning)
+
+--- a/pom.xml	2026-11-04 19:18:55.090379286 -0300
++++ b/pom.xml	2026-11-04 19:18:55.101003908 -0300
+@@ -20,7 +20,7 @@
+   <parent>
+     <groupId>org.codehaus.plexus</groupId>
+     <artifactId>plexus</artifactId>
+-    <version>27</version>
++    <version>25</version>
+     <relativePath />
+   </parent>
+ 
+@@ -59,7 +59,7 @@
+       <artifactId>commons-lang3</artifactId>
+       <!-- override version to avoid CVE-2025-48924 -->
+       <!-- can be removed when velocity upgrades its commons-lang3 dependency -->
+-      <version>3.20.0</version>
++      <version>3.19.0</version>
+     </dependency>
+ 
+     <dependency>
+@@ -92,7 +92,7 @@
+     <dependency>
+       <groupId>org.codehaus.plexus</groupId>
+       <artifactId>plexus-testing</artifactId>
+-      <version>2.2.0</version>
++      <version>1.3.0</version>
+       <scope>test</scope>
+     </dependency>
+     <dependency>

diff --git a/plexus-velocity.spec b/plexus-velocity.spec
index c65d7c1..f14a475 100644
--- a/plexus-velocity.spec
+++ b/plexus-velocity.spec
@@ -1,6 +1,6 @@
 Name:           plexus-velocity
-Version:        2.2.1
-Release:        5%{?dist}
+Version:        2.4.0
+Release:        1%{?dist}
 Summary:        Plexus Velocity Component
 # Automatically converted from old format: ASL 2.0 - review is highly recommended.
 License:        Apache-2.0
@@ -14,19 +14,22 @@ Source1:        https://repo1.maven.org/maven2/org/codehaus/plexus/%{name}/%{ver
 Source2:        https://downloads.apache.org/maven/KEYS
 Source3:        http://www.apache.org/licenses/LICENSE-2.0.txt
 
+Patch0:         0001-pin-deps-to-maven-local-versions.patch
+
 %if 0%{?rhel} && 0%{?rhel} <= 10
 BuildRequires:  maven-local-openjdk21
 %else
 BuildRequires:  maven-local-openjdk25
 %endif
-BuildRequires:  mvn(com.google.inject:guice)
-BuildRequires:  mvn(org.junit.jupiter:junit-jupiter)
+BuildRequires:  mvn(org.apache.commons:commons-lang3)
 BuildRequires:  mvn(org.apache.velocity:velocity-engine-core)
-BuildRequires:  mvn(org.codehaus.plexus:plexus-components:pom:)
-BuildRequires:  mvn(org.eclipse.sisu:org.eclipse.sisu.plexus)
+BuildRequires:  mvn(org.codehaus.plexus:plexus:pom:)
+BuildRequires:  mvn(org.codehaus.plexus:plexus-testing)
 BuildRequires:  mvn(org.eclipse.sisu:sisu-maven-plugin)
+BuildRequires:  mvn(org.junit.jupiter:junit-jupiter-api)
 BuildRequires:  mvn(org.slf4j:slf4j-api)
 BuildRequires:  mvn(org.slf4j:slf4j-simple)
+BuildRequires:  mvn(javax.inject:javax.inject)
 BuildRequires:  openpgpverify
 
 %description
@@ -43,24 +46,17 @@ This package provides %{summary}.
 %prep
 %{openpgpverify} --data=%{SOURCE0} --signature=%{SOURCE1} --keyring=%{SOURCE2}
 %setup -q
+%patch -p1 -P0
 
 find -name '*.jar' -delete
 
 cp -p %{SOURCE3} LICENSE
 
 %build
-%if 0%{?rhel} && 0%{?rhel} <= 10
-# Upstream test (DefaultVelocityComponentTest) extends sisu InjectedTest, which
-# relies on a MutableBeanLocator binding supplied transitively by
-# org.eclipse.sisu.plexus. That binding resolves in Fedora's maven-local-openjdk25
-# (sisu 1.0.0) but not in EPEL10's maven-local-openjdk21 (sisu 0.9.0.M2), where the
-# offline build has no compatible org.eclipse.sisu.plexus, so the locator is never
-# injected and the test NPEs. The component itself compiles cleanly, so skip the
-# maven test suite.
-%mvn_build -- -DskipTests=true
-%else
+# Upstream test uses @PlexusTest (plexus-testing) rather than sisu InjectedTest,
+# so the suite runs cleanly in both maven-local-openjdk21 (EPEL 10) and
+# maven-local-openjdk25 (Fedora). Run the tests in both environments.
 %mvn_build
-%endif
 
 %install
 %mvn_install
@@ -72,6 +68,14 @@ cp -p %{SOURCE3} LICENSE
 %license LICENSE
 
 %changelog
+* Wed Nov 04 2026 filipe rosset <filiperosset@users.noreply.github.com> - 2.4.0-1
+- Update to 2.4.0
+- Test suite now uses @PlexusTest (plexus-testing) instead of sisu InjectedTest,
+  so drop the EPEL 10 -DskipTests workaround and run tests in both environments
+- Refresh BuildRequires for new dependency set (plexus-testing, commons-lang3,
+  javax.inject, junit-jupiter-api) and plexus parent pom 27
+- Remove no-longer-needed guice / sisu.plexus BuildRequires
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/sources b/sources
index 3da8a71..79bdc77 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
+SHA512 (plexus-velocity-2.4.0-source-release.zip) = 2cf2c434748cc40f72f57f70fb2483570f8ed529d3847dc5b4955a4f7792a2a092a816d8a03d4bfbab2ea05a22d57dd1be5ad2688d67fde538cb48bef87f8b86
+SHA512 (plexus-velocity-2.4.0-source-release.zip.asc) = 33d5e5f4a0de87b60e6754bcd55664cdd8267504811a9d54e7844710d39017037964c57a9380b1e33aa3cb5a7ded5f694dddc9ca6ad0e8c8ce90d10f7889163b
 SHA512 (LICENSE-2.0.txt) = 98f6b79b778f7b0a15415bd750c3a8a097d650511cb4ec8115188e115c47053fe700f578895c097051c9bc3dfb6197c2b13a15de203273e1a3218884f86e90e8
-SHA512 (plexus-velocity-2.2.1-source-release.zip) = 324f16d12254abfd4066822bbc3f054db06bdf24225c249e1f8bf064fe3c9646fcc21960ae5f38e4309c951b6c42786f9def2c1d01495349e9b78172e4f526d0
-SHA512 (plexus-velocity-2.2.1-source-release.zip.asc) = 86d4a32044be369454c723eccb6999494aef6eafff515950b2f4c044477621e8d88f03349d099266e8888a8f95d1e5bc17fea868463ade9e8496815674cc4b5b
 SHA512 (KEYS) = 05c34a058f790f4adfb74a42e7d41117cf56e61c70a226515ff7e713e9eebfabcec358d7702d09caca55d12294a01bdda24687c1f9cbb92701ec796cd4335fc8

                 reply	other threads:[~2026-11-05 12:58 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=179388353088.1.4419406542824259579.rpms-plexus-velocity-3f4a6633c64b@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