Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for _fail (0.13 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/ArtifactDescriptorUtils.java

        }
    
        public static String toRepositoryChecksumPolicy(final String artifactRepositoryPolicy) {
            switch (artifactRepositoryPolicy) {
                case RepositoryPolicy.CHECKSUM_POLICY_FAIL:
                    return RepositoryPolicy.CHECKSUM_POLICY_FAIL;
                case RepositoryPolicy.CHECKSUM_POLICY_IGNORE:
                    return RepositoryPolicy.CHECKSUM_POLICY_IGNORE;
                case RepositoryPolicy.CHECKSUM_POLICY_WARN:
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        // Reactor Failure Mode
        // ----------------------------------------------------------------------
    
        String REACTOR_FAIL_FAST = "FAIL_FAST";
    
        String REACTOR_FAIL_AT_END = "FAIL_AT_END";
    
        String REACTOR_FAIL_NEVER = "FAIL_NEVER";
    
        // ----------------------------------------------------------------------
        // Reactor Make Mode
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Dec 20 13:03:57 GMT 2023
    - 17.7K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultRepositoryFactory.java

                org.apache.maven.api.model.RepositoryPolicy policy) {
            boolean enabled = true;
            String updatePolicy = RepositoryPolicy.UPDATE_POLICY_DAILY;
            String checksumPolicy = RepositoryPolicy.CHECKSUM_POLICY_FAIL;
            if (policy != null) {
                enabled = policy.isEnabled();
                if (policy.getUpdatePolicy() != null) {
                    updatePolicy = policy.getUpdatePolicy();
                }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

        void testChecksumVerification() throws Exception {
            ArtifactRepositoryPolicy policy = new ArtifactRepositoryPolicy(
                    true, ArtifactRepositoryPolicy.UPDATE_POLICY_ALWAYS, ArtifactRepositoryPolicy.CHECKSUM_POLICY_FAIL);
    
            ArtifactRepository repo = artifactRepositoryFactory.createArtifactRepository(
                    "id", "string://url", new ArtifactRepositoryLayoutStub(), policy, policy);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        public void testValidationErrorUponNonUniqueDependencyKey()
            throws Exception
        {
            try
            {
                buildPom( "unique-dependency-key/deps" );
                fail( "Non-unique dependency keys did not cause validation error" );
            }
            catch ( ProjectBuildingException e )
            {
                // expected
            }
        }
    
        @Test
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  9. api/maven-api-model/src/main/mdo/maven.mdo

              <version>4.0.0+</version>
              <description>
                What to do when verification of an artifact checksum fails. Valid values are
                {@code ignore},
                {@code fail} (default for Maven 4 and above) or
                {@code warn} (default for Maven 2 and 3).
              </description>
              <type>String</type>
            </field>
          </fields>
          <codeSegments>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

    import org.codehaus.plexus.testing.PlexusTest;
    import org.eclipse.aether.DefaultRepositorySystemSession;
    import org.junit.jupiter.api.BeforeEach;
    
    import static org.junit.jupiter.api.Assertions.fail;
    import static org.mockito.Mockito.mock;
    
    /**
     */
    @PlexusTest
    @Deprecated
    public abstract class AbstractMavenProjectTestCase {
        protected ProjectBuilder projectBuilder;
    
        @Inject
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 6.4K bytes
    - Viewed (0)
Back to top