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

cstamas 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 972f26d178 [MNG-8719] Restore Maven3 compat: model 
setInherited(boolean) (#2288)
972f26d178 is described below

commit 972f26d178922959839a8e9acf636e3a20242f8f
Author: Tamas Cservenak <ta...@cservenak.net>
AuthorDate: Mon May 5 13:41:26 2025 +0200

    [MNG-8719] Restore Maven3 compat: model setInherited(boolean) (#2288)
    
    Added it as deprecated indirection for legacy code.
    
    It was removed 1y ago probably by mistake by this commit:
    
https://github.com/apache/maven/commit/2a9f39336cec1d8e52d30cc48503d51ed8672536
    
    ---
    
    https://issues.apache.org/jira/browse/MNG-8719
---
 api/maven-api-model/src/main/mdo/maven.mdo | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/api/maven-api-model/src/main/mdo/maven.mdo 
b/api/maven-api-model/src/main/mdo/maven.mdo
index 060d8fec2c..0aff238fd2 100644
--- a/api/maven-api-model/src/main/mdo/maven.mdo
+++ b/api/maven-api-model/src/main/mdo/maven.mdo
@@ -2555,6 +2555,10 @@
     public void unsetInheritanceApplied() {
     }
 
+    @Deprecated
+    public void setInherited(boolean value) {
+      setInherited(Boolean.toString(value));
+    }
             ]]>
           </code>
         </codeSegment>

Reply via email to