- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for MojoException (0.14 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java
/** * This interface forms the contract required for Mojos to interact with the Maven infrastructure. * It features an {@link #execute()} method, which triggers the Mojo's build-process behavior, * and can throw a {@link MojoException} if error conditions occur. * * @since 4.0.0 */ @Experimental @FunctionalInterface @Consumer @ThreadSafe public interface Mojo { /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Mon Aug 26 13:14:03 UTC 2024 - 1.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java
if (t instanceof AbstractMojoExecutionException) { longMessage = ((AbstractMojoExecutionException) t).getLongMessage(); } else if (t instanceof MojoException) { longMessage = ((MojoException) t).getLongMessage(); } if (longMessage != null && !longMessage.isEmpty()) { if ((exceptionMessage == null || exceptionMessage.isEmpty())
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.9K bytes - Viewed (0)