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

gnodet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven.git


The following commit(s) were added to refs/heads/master by this push:
     new 3ca75f347c fix: correct @since annotations from 4.1.0 to 4.2.0 (#14065)
3ca75f347c is described below

commit 3ca75f347c9f1b4607e116c24b605d09ebaf1cc8
Author: Guillaume Nodet <[email protected]>
AuthorDate: Wed Nov 18 20:06:30 2026 +0100

    fix: correct @since annotations from 4.1.0 to 4.2.0 (#14065)
    
    Realm, Plugin.getRealm(), PluginManager, and PluginManagerException
    were introduced on master, they will first ship in 4.2.0.
    
    Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
---
 api/maven-api-core/src/main/java/org/apache/maven/api/Plugin.java       | 2 +-
 api/maven-api-core/src/main/java/org/apache/maven/api/Realm.java        | 2 +-
 .../src/main/java/org/apache/maven/api/services/PluginManager.java      | 2 +-
 .../main/java/org/apache/maven/api/services/PluginManagerException.java | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/api/maven-api-core/src/main/java/org/apache/maven/api/Plugin.java 
b/api/maven-api-core/src/main/java/org/apache/maven/api/Plugin.java
index 84e1c517e8..c8762d15f9 100644
--- a/api/maven-api-core/src/main/java/org/apache/maven/api/Plugin.java
+++ b/api/maven-api-core/src/main/java/org/apache/maven/api/Plugin.java
@@ -64,7 +64,7 @@ public interface Plugin {
      * Returns the runtime realm for this plugin.
      *
      * @return the plugin realm, never {@code null}
-     * @since 4.1.0
+     * @since 4.2.0
      */
     @Nonnull
     Realm getRealm();
diff --git a/api/maven-api-core/src/main/java/org/apache/maven/api/Realm.java 
b/api/maven-api-core/src/main/java/org/apache/maven/api/Realm.java
index 930849aa9f..43dbcff8f9 100644
--- a/api/maven-api-core/src/main/java/org/apache/maven/api/Realm.java
+++ b/api/maven-api-core/src/main/java/org/apache/maven/api/Realm.java
@@ -28,7 +28,7 @@
  * A runtime scope that bundles classloading information with component lookup.
  * Lookup operations run with this realm's classloader set as the thread 
context classloader.
  *
- * @since 4.1.0
+ * @since 4.2.0
  */
 @Experimental
 public interface Realm {
diff --git 
a/api/maven-api-core/src/main/java/org/apache/maven/api/services/PluginManager.java
 
b/api/maven-api-core/src/main/java/org/apache/maven/api/services/PluginManager.java
index e3276dca3f..59f294daa2 100644
--- 
a/api/maven-api-core/src/main/java/org/apache/maven/api/services/PluginManager.java
+++ 
b/api/maven-api-core/src/main/java/org/apache/maven/api/services/PluginManager.java
@@ -28,7 +28,7 @@
 /**
  * Provides access to plugin runtimes and the services contributed by them.
  *
- * @since 4.1.0
+ * @since 4.2.0
  */
 @Experimental
 public interface PluginManager extends OperationService {
diff --git 
a/api/maven-api-core/src/main/java/org/apache/maven/api/services/PluginManagerException.java
 
b/api/maven-api-core/src/main/java/org/apache/maven/api/services/PluginManagerException.java
index 5b27024198..51d9f7bfdb 100644
--- 
a/api/maven-api-core/src/main/java/org/apache/maven/api/services/PluginManagerException.java
+++ 
b/api/maven-api-core/src/main/java/org/apache/maven/api/services/PluginManagerException.java
@@ -25,7 +25,7 @@
 /**
  * Thrown when a plugin runtime cannot be resolved or loaded.
  *
- * @since 4.1.0
+ * @since 4.2.0
  */
 @Experimental
 public class PluginManagerException extends MavenException {

Reply via email to