This is an automated email from the ASF dual-hosted git repository.

cstamas pushed a commit to branch maven-3.10.x
in repository https://gitbox.apache.org/repos/asf/maven.git


The following commit(s) were added to refs/heads/maven-3.10.x by this push:
     new ad4f11c947 Bug: RSS was seeded but not exposed (#12033)
ad4f11c947 is described below

commit ad4f11c947aba6daeb17c6acd9062dc6aaa79c19
Author: Tamas Cservenak <[email protected]>
AuthorDate: Mon May 11 19:43:28 2026 +0200

    Bug: RSS was seeded but not exposed (#12033)
    
    Expose RSS as well as it is seeded in session scope.
---
 .../org/apache/maven/session/scope/internal/SessionScopeModule.java | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git 
a/maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScopeModule.java
 
b/maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScopeModule.java
index 05812b0609..781e0c0475 100644
--- 
a/maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScopeModule.java
+++ 
b/maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScopeModule.java
@@ -26,6 +26,7 @@
 import org.apache.maven.execution.MavenSession;
 import org.codehaus.plexus.PlexusContainer;
 import 
org.codehaus.plexus.component.repository.exception.ComponentLookupException;
+import org.eclipse.aether.RepositorySystemSession;
 
 /**
  * SessionScopeModule
@@ -52,8 +53,9 @@ protected void configure() {
         bindScope(SessionScoped.class, scope);
         bind(SessionScope.class).toInstance(scope);
 
-        bind(MavenSession.class)
-                .toProvider(SessionScope.<MavenSession>seededKeyProvider())
+        
bind(MavenSession.class).toProvider(SessionScope.seededKeyProvider()).in(scope);
+        bind(RepositorySystemSession.class)
+                .toProvider(SessionScope.seededKeyProvider())
                 .in(scope);
     }
 }

Reply via email to