You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2020/06/17 07:01:04 UTC

[maven] branch MNG-6656 updated: Adjust code based on review comments

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

rfscholte pushed a commit to branch MNG-6656
in repository https://gitbox.apache.org/repos/asf/maven.git


The following commit(s) were added to refs/heads/MNG-6656 by this push:
     new e082e6e  Adjust code based on review comments
e082e6e is described below

commit e082e6efa87355889120bbf5dd852b4d915e030f
Author: rfscholte <rf...@apache.org>
AuthorDate: Wed Jun 17 09:00:53 2020 +0200

    Adjust code based on review comments
---
 .../apache/maven/model/building/AbstractModelSourceTransformer.java    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/building/AbstractModelSourceTransformer.java b/maven-model-builder/src/main/java/org/apache/maven/model/building/AbstractModelSourceTransformer.java
index 0cf6f7a..31b88bf 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/building/AbstractModelSourceTransformer.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/building/AbstractModelSourceTransformer.java
@@ -168,7 +168,8 @@ public abstract class AbstractModelSourceTransformer
                 }
                 catch ( Throwable t )
                 {
-                    throw new AssertionError( "Failed to transform pom", t );
+                    // Any checked exception
+                    throw new RuntimeException( "Failed to transform pom", t );
                 }
             }
         }