You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2025/07/22 11:31:44 UTC

(maven) branch 10983 created (now 095dd4b7bc)

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

elharo pushed a change to branch 10983
in repository https://gitbox.apache.org/repos/asf/maven.git


      at 095dd4b7bc Undeprecate ModelProblem since it's used by non-deprecated public API

This branch includes the following new commits:

     new 095dd4b7bc Undeprecate ModelProblem since it's used by non-deprecated public API

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(maven) 01/01: Undeprecate ModelProblem since it's used by non-deprecated public API

Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 095dd4b7bc4af363b92df5cf6a2e691b43470b3d
Author: Elliotte Rusty Harold <el...@ibiblio.org>
AuthorDate: Tue Jul 22 07:31:28 2025 -0400

    Undeprecate ModelProblem since it's used by non-deprecated public API
---
 .../main/java/org/apache/maven/model/building/DefaultModelProblem.java | 3 ---
 .../src/main/java/org/apache/maven/model/building/ModelProblem.java    | 3 ---
 2 files changed, 6 deletions(-)

diff --git a/compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblem.java b/compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblem.java
index 7c42f2b237..0f1195ae18 100644
--- a/compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblem.java
+++ b/compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblem.java
@@ -25,9 +25,7 @@
  * or a simple string message. In addition, a problem carries a hint about its source, e.g. the POM file that exhibits
  * the problem.
  *
- * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
  */
-@Deprecated(since = "4.0.0")
 public class DefaultModelProblem implements ModelProblem {
 
     private final String source;
@@ -57,7 +55,6 @@ public class DefaultModelProblem implements ModelProblem {
      * @param columnNumber The one-based index of the column containing the error or {@code -1} if unknown.
      * @param exception The exception that caused this problem, may be {@code null}.
      */
-    // mkleint: does this need to be public?
     public DefaultModelProblem(
             String message,
             Severity severity,
diff --git a/compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblem.java b/compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblem.java
index 78fc3dec85..a0ba29be02 100644
--- a/compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblem.java
+++ b/compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblem.java
@@ -22,10 +22,7 @@
  * Describes a problem that was encountered during model building. A problem can either be an exception that was thrown
  * or a simple string message. In addition, a problem carries a hint about its source, e.g. the POM file that exhibits
  * the problem.
- *
- * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
  */
-@Deprecated(since = "4.0.0")
 public interface ModelProblem {
 
     /**