Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for fail (0.12 sec)

  1. 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)
  2. maven-core/src/site/apt/offline-mode.apt

      altogether obvious:
    
      * Localhost may be unavailable. Therefore, even locally installed
        server processes which work by conversing over a port may fail.
    
      * Not all "remote" repositories will fail. Specifically, if the remote
        repo uses the file:// protocol, and it doesn't refer to a shared
        filesystem, it will continue to be available.
    
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  3. 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)
  4. maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

            return sb.toString();
        }
    
        public Artifact find(Artifact artifact) {
            File artifactFile = new File(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;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 11K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top