Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for FAILURE (0.17 sec)

  1. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

            if (t instanceof Exception && !(t instanceof RuntimeException)) {
                eventCatapult.fire(ExecutionEvent.Type.ProjectFailed, currentSession, null, (Exception) t);
            }
    
            // reactor failure modes
            if (t instanceof RuntimeException || !(t instanceof Exception)) {
                // fail fast on RuntimeExceptions, Errors and "other" Throwables
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 10.2K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/lifecycle/LifecyclePhaseNotFoundException.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.lifecycle;
    
    /**
     * Signals a failure to locate the lifecycle for some phase.
     *
     */
    public class LifecyclePhaseNotFoundException extends Exception {
    
        private final String lifecyclePhase;
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataReader.java

        /**
         * The key for the option to enable strict parsing. This option is of type {@link Boolean} and defaults to {@code
         * true}. If {@code false}, unknown elements will be ignored instead of causing a failure.
         */
        String IS_STRICT = "org.apache.maven.artifact.repository.metadata.io.isStrict";
    
        /**
         * Reads the metadata from the specified file.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java

        }
    
        /**
         * Append message content in failure style.
         * By default, bold red
         *
         * @param message the message to append
         * @return the current builder
         */
        @Nonnull
        default MessageBuilder failure(Object message) {
            return style(".failure:-bold,f:red", message);
        }
    
        /**
         * Append message content in strong style.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Jan 08 10:37:09 GMT 2024
    - 7K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/MissingProjectException.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.lifecycle;
    
    /**
     * Signals a failure to execute a lifecycle phase or mojo because a project is required but not present.
     *
     */
    public class MissingProjectException extends Exception {
    
        /**
         * Creates a new exception.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/execution/ReactorManager.java

                    || FAIL_NEVER.equals(failureBehavior)) {
                this.failureBehavior = failureBehavior;
            } else {
                throw new IllegalArgumentException("Invalid failure behavior (must be one of: '" + FAIL_FAST + "', '"
                        + FAIL_AT_END + "', '" + FAIL_NEVER + "').");
            }
        }
    
        public String getFailureBehavior() {
            return failureBehavior;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                // we do a first pass by reading all rawModels in order.
                List<ProjectBuildingResult> results = new ArrayList<>();
                boolean failure = false;
                for (InterimResult r : interimResults) {
                    DefaultProjectBuildingResult res;
                    try {
                        Model model = modelBuilder.buildRawModel(r.request);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            File artifactFile = new File(repository.getBasedir(), path);
    
            if (artifactFile.exists()) {
                if (!artifactFile.delete()) {
                    throw new IOException("Failure while attempting to delete artifact " + artifactFile);
                }
            }
        }
    
        protected DefaultRepositorySystemSession initRepoSession() throws Exception {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/NoGoalSpecifiedException.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.lifecycle;
    
    /**
     * Signals a failure to build because no goal was specified.
     *
     */
    public class NoGoalSpecifiedException extends Exception {
    
        /**
         * Creates a new exception.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/ProjectBuildFailureException.java

     * execute. In this case, the mojo failed while executing against a particular
     * project instance, so we can wrap the {@link MojoFailureException} with context
     * information including projectId that caused the failure.
     *
     *
     */
    public class ProjectBuildFailureException extends BuildFailureException {
    
        private final String projectId;
    
        public ProjectBuildFailureException(String projectId, MojoFailureException cause) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.7K bytes
    - Viewed (0)
Back to top