Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for fails (0.15 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. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelTransformer.java

        /**
         * @param context the context, cannot be null
         * @param model   the model to transform
         * @param path    the pom file, cannot be null
         * @throws ModelTransformerException if the transformation fails
         */
        @Nonnull
        Model transform(@Nonnull ModelTransformerContext context, @Nonnull Model model, @Nonnull Path path)
                throws ModelTransformerException;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  3. api/maven-api-model/src/main/mdo/maven.mdo

            <field>
              <name>checksumPolicy</name>
              <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>
    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)
  4. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                                    } catch (InterruptedException ie) {
                                        // ignore
                                    }
                                    file.delete(); // if this fails, forget about it
                                }
                            }
                        } catch (TransferFailedException e) {
                            getLogger()
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 18.9K 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. maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

        //
        // p4 ---> p3 ---> p2 ---> p1 ---> p0 --> super model
        //
        // ----------------------------------------------------------------------
    
        @Test
        @DisabledOnOs(OS.WINDOWS) // need to investigate why it fails on windows
        void testProjectInheritance() throws Exception {
            File localRepo = getLocalRepositoryPath();
    
            System.out.println("Local repository is at: " + localRepo.getAbsolutePath());
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 6.2K 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