Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for fail (0.3 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultRootLocator.java

                // 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)
  2. 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)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/artifact/MavenArtifactProperties.java

         * verify the path and resolve the artifact if the path actually denotes an existing file. If the path isn't valid,
         * resolution will fail and no attempts to search local/remote repositories are made.
         */
        public static final String LOCAL_PATH = "localPath";
    
        private MavenArtifactProperties() {
            // hide constructor
        }
    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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  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