Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for MojoExecutionException (0.1 sec)

  1. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoExecutionException.java

         * @param cause
         */
        public MojoExecutionException(String message, Exception cause) {
            super(message, cause);
        }
    
        /**
         * Construct a new <code>MojoExecutionException</code> exception wrapping an underlying <code>Throwable</code>
         * and providing a <code>message</code>.
         *
         * @param message
         * @param cause
         */
        public MojoExecutionException(String message, Throwable cause) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java

         *
         * @throws MojoExecutionException if an unexpected problem occurs.
         * Throwing this exception causes a "BUILD ERROR" message to be displayed.
         * @throws MojoFailureException if an expected problem (such as a compilation failure) occurs.
         * Throwing this exception causes a "BUILD FAILURE" message to be displayed.
         */
        void execute() throws MojoExecutionException, MojoFailureException;
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/scope/WeakMojoExecutionListener.java

     * @since 3.1.2
     */
    public interface WeakMojoExecutionListener {
        void beforeMojoExecution(MojoExecutionEvent event) throws MojoExecutionException;
    
        void afterMojoExecutionSuccess(MojoExecutionEvent event) throws MojoExecutionException;
    
        void afterExecutionFailure(MojoExecutionEvent event);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

            if (!dejaVu.add(exception)) {
                return reference;
            }
    
            if (exception != null) {
                if (exception instanceof MojoExecutionException) {
                    reference = MojoExecutionException.class.getSimpleName();
    
                    Throwable cause = exception.getCause();
                    if (cause instanceof IOException) {
                        cause = cause.getCause();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/MojoExecutionListener.java

     * @since 3.1.2
     */
    public interface MojoExecutionListener {
        void beforeMojoExecution(MojoExecutionEvent event) throws MojoExecutionException;
    
        void afterMojoExecutionSuccess(MojoExecutionEvent event) throws MojoExecutionException;
    
        void afterExecutionFailure(MojoExecutionEvent event);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScope.java

        }
    
        public void beforeMojoExecution(MojoExecutionEvent event) throws MojoExecutionException {
            for (WeakMojoExecutionListener provided : getProvidedListeners()) {
                provided.beforeMojoExecution(event);
            }
        }
    
        public void afterMojoExecutionSuccess(MojoExecutionEvent event) throws MojoExecutionException {
            for (WeakMojoExecutionListener provided : getProvidedListeners()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/plugin/PluginManager.java

    /**
     */
    @Deprecated
    public interface PluginManager {
        String ROLE = PluginManager.class.getName();
    
        void executeMojo(MavenProject project, MojoExecution execution, MavenSession session)
                throws MojoExecutionException, ArtifactResolutionException, MojoFailureException, ArtifactNotFoundException,
                        InvalidDependencyVersionException, PluginManagerException, PluginConfigurationException;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/plugin/internal/DefaultPluginManager.java

    import org.apache.maven.plugin.InvalidPluginException;
    import org.apache.maven.plugin.LegacySupport;
    import org.apache.maven.plugin.MavenPluginManager;
    import org.apache.maven.plugin.MojoExecution;
    import org.apache.maven.plugin.MojoExecutionException;
    import org.apache.maven.plugin.MojoFailureException;
    import org.apache.maven.plugin.PluginConfigurationException;
    import org.apache.maven.plugin.PluginDescriptorParsingException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/MojoException.java

        /**
         * Constructs a new {@code MojoException} providing a {@code message}.
         */
        public MojoException(String message) {
            super(message);
        }
    
        /**
         * Constructs a new {@code MojoExecutionException} wrapping an underlying {@code Throwable}.
         *
         * @param cause the cause which is saved for later retrieval by the {@link #getCause()} method.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top