Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 84 for fail (0.2 sec)

  1. 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)
  2. api/maven-api-plugin/src/main/mdo/plugin.mdo

                want to analyze the set of transitive dependencies, in particular during early lifecycle phases where
                full dependency resolution might fail due to projects which haven't been built yet.
              </description>
            </field>
            <field>
              <name>dependencyCollection</name>
              <version>2.0.0+</version>
              <type>String</type>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Apr 14 17:14:22 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/project/ProjectSorterTest.java

            projects.add(project2);
    
            assertThrows(
                    DuplicateProjectException.class,
                    () -> new ProjectSorter(projects).getSortedProjects(),
                    "Duplicate projects should fail");
        }
    
        @Test
        void testMatchingIdsAndDifferentVersions() throws Exception {
            List<MavenProject> projects = new ArrayList<>();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            legacySupport.setSession(session);
        }
    
        protected abstract String component();
    
        /**
         * Return an existing file, not a directory - causes creation to fail.
         *
         * @throws Exception
         */
        protected ArtifactRepository badLocalRepository() throws Exception {
            String path = "target/test-repositories/" + component() + "/bad-local-repository";
    
    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)
  5. maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.junit.jupiter.api.Assertions.fail;
    
    class DefaultMavenProjectBuilderTest extends AbstractMavenProjectTestCase {
        @TempDir
        File localRepoDir;
    
        // only use by reread()
        @TempDir
        Path projectRoot;
    
        @Override
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Jun 19 15:04:04 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/repository/UserLocalArtifactRepository.java

        }
    
        @Override
        public Artifact find(Artifact artifact) {
            File artifactFile = new File(localRepository.getBasedir(), pathOf(artifact));
    
            // We need to set the file here or the resolver will fail with an NPE, not fully equipped to deal
            // with multiple local repository implementations yet.
            artifact.setFile(artifactFile);
    
            return artifact;
        }
    
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  7. 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)
  8. maven-core/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 Mar 24 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/plugin/PluginManagerTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.fail;
    
    class PluginManagerTest extends AbstractCoreMavenComponentTestCase {
        @Inject
        private DefaultBuildPluginManager pluginManager;
    
        protected String getProjectsDirectory() {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  10. 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)
Back to top