Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for hasVersionRangeViolations (0.14 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultResolutionErrorHandler.java

            if (result.hasCircularDependencyExceptions()) {
                throw result.getCircularDependencyException(0);
            }
    
            // Version Range Violation
    
            if (result.hasVersionRangeViolations()) {
                throw result.getVersionRangeViolation(0);
            }
    
            // Transfer Error
    
            if (result.hasErrorArtifactExceptions()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            a.addDependency("c", "[2.4,3.0]");
    
            b.addDependency("c", "[1.0,2.0]");
    
            ArtifactResolutionResult res = collect(a);
    
            assertTrue(res.hasVersionRangeViolations());
        }
    
        @Test
        void testUnboundedRangeWhenVersionUnavailable()
                throws ArtifactResolutionException, InvalidVersionSpecificationException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionResult.java

        // ------------------------------------------------------------------------
        // Version Range Violations
        // ------------------------------------------------------------------------
    
        public boolean hasVersionRangeViolations() {
            return versionRangeViolations != null;
        }
    
        /**
         * TODO this needs to accept a {@link OverConstrainedVersionException} as returned by
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionResult.java

        // ------------------------------------------------------------------------
        // Version Range Violations
        // ------------------------------------------------------------------------
    
        public boolean hasVersionRangeViolations() {
            return versionRangeViolations != null;
        }
    
        /**
         * TODO this needs to accept a {@link OverConstrainedVersionException} as returned by
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            // so we give this back to the calling code and let them deal with this information
            // appropriately.
    
            if (result.hasMetadataResolutionExceptions()
                    || result.hasVersionRangeViolations()
                    || result.hasCircularDependencyExceptions()) {
                return result;
            }
    
            if (result.getArtifactResolutionNodes() != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
Back to top