gnodet-bot commented on code in PR #13928:
URL: https://github.com/apache/maven/pull/13928#discussion_r4517791412


##########
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/MojoExpressionEvaluator.java:
##########
@@ -24,17 +24,17 @@
  * Evaluates mojo parameter expressions and aligns paths to the project base 
directory.
  * Used by {@link V4MojoConfigurator} to resolve plugin parameter values.
  */
-interface MojoExpressionEvaluator {
+public interface MojoExpressionEvaluator {
 
     /**
      * Evaluates the given expression, optionally coercing the result to the 
given type.
      *
      * @param expr the expression to evaluate (e.g. {@code ${project.version}})
      * @param type the desired return type, or {@code null} for no coercion
      * @return the evaluated value, or {@code null}
-     * @throws MojoExpressionEvaluationException if evaluation fails
+     * @throws Exception if evaluation fails
      */
-    Object evaluate(String expr, Class<?> type) throws 
MojoExpressionEvaluationException;
+    Object evaluate(String expr, Class<?> type) throws Exception;
 
     /**
      * Aligns a relative {@link File} to the project base directory.

Review Comment:
   Test inline



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to