Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for fails (0.14 sec)

  1. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

                    try {
                        Thread.sleep(10);
                    } catch (InterruptedException e) {
                        // ignore
                    }
                    metadataFile.delete(); // if this fails, forget about it, we'll try to overwrite it anyway so no need
                    // to delete on exit
                }
            } else if (metadataFile.exists()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/execution/BuildResumptionPersistenceException.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.execution;
    
    /**
     * This exception will be thrown when something fails while persisting build resumption data.
     * @see BuildResumptionDataRepository#persistResumptionData
     */
    public class BuildResumptionPersistenceException extends Exception {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/ProjectBuildFailureException.java

     * under the License.
     */
    package org.apache.maven;
    
    import org.apache.maven.plugin.MojoFailureException;
    
    /**
     * Exception which occurs when a normal (i.e. non-aggregator) mojo fails to
     * 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.
     *
    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)
  4. maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java

        public static final String UPDATE_POLICY_INTERVAL = "interval";
    
        public static final String CHECKSUM_POLICY_FAIL = "fail";
    
        public static final String CHECKSUM_POLICY_WARN = "warn";
    
        public static final String CHECKSUM_POLICY_IGNORE = "ignore";
    
        public static final String DEFAULT_CHECKSUM_POLICY = CHECKSUM_POLICY_FAIL;
    
        private boolean enabled;
    
        private String updatePolicy;
    
        private String checksumPolicy;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

            if (t instanceof RuntimeException || !(t instanceof Exception)) {
                // fail fast on RuntimeExceptions, Errors and "other" Throwables
                // assume these are system errors and further build is meaningless
                buildContext.getReactorBuildStatus().halt();
            } else if (MavenExecutionRequest.REACTOR_FAIL_NEVER.equals(rootSession.getReactorFailureBehavior())) {
                // continue the build
    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)
  6. maven-core/src/main/java/org/apache/maven/project/collector/MultiModuleCollectionStrategy.java

         *
         * Therefore the build fails because the plugin is not found and plugins cannot be built in the same session.
         *
         * The integration test for <a href="https://issues.apache.org/jira/browse/MNG-5572">MNG-5572</a> is an
         *   example of this scenario.
         *
         * @return true if the module which fails to collect the inter-module plugin is not part of the build.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 9.1K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderResult.java

         * {@link BuilderProblem.Severity#WARNING} and below are reported here. Problems with a higher severity level cause
         * the settings builder to fail with a {@link ToolchainsBuilderException}.
         *
         * @return the problems that were encountered during the settings building, can be empty but never {@code null}
         */
        @Nonnull
        List<BuilderProblem> getProblems();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultRootLocator.java

                // The root locator can be used very early during the setup of Maven,
                // even before the arguments from the command line are parsed.  Any exception
                // that would happen here should cause the build to fail at a later stage
                // (when actually parsing the POM) and will lead to a better exception being
                // displayed to the user, so just bail out and return false.
            }
            return false;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/exception/DefaultExceptionHandlerTest.java

    /**
     */
    class DefaultExceptionHandlerTest {
        /**
         * Running Maven under JDK7 may cause connection issues because IPv6 is used by default.
         * <p>
         * e.g running mvn site:run will cause Jetty to fail.
         * </p>
         * <p>
         * The resolution is to add -Djava.net.preferIPv4Stack=true to the command line as documented in
         * http://cwiki.apache.org/confluence/display/MAVEN/ConnectException
         * </p>
         */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

        @BeforeEach
        void setUp() throws Exception {
            source = new Source();
    
            projectArtifact = createArtifactSpec("project", "1.0", null);
        }
    
        @Test
        @Disabled("works, but we don't fail on cycles presently")
        void testCircularDependencyNotIncludingCurrentProject()
                throws ArtifactResolutionException, InvalidVersionSpecificationException {
            ArtifactSpec a = createArtifactSpec("a", "1.0");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 42.5K bytes
    - Viewed (0)
Back to top