Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for OverConstrainedVersionException (0.5 sec)

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

            return optional;
        }
    
        @Override
        public ArtifactVersion getSelectedVersion() throws OverConstrainedVersionException {
            return versionRange.getSelectedVersion(this);
        }
    
        @Override
        public boolean isSelectedVersionKnown() throws OverConstrainedVersionException {
            return versionRange.isSelectedVersionKnown(this);
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            b.addDependency("c", "3.3.0-v3346");
    
            ArtifactSpec c = createArtifactSpec("c", "3.2.1-v3235e");
    
            OverConstrainedVersionException e = assertThrows(
                    OverConstrainedVersionException.class, () -> collect(createSet(new Object[] {a.artifact})));
            assertTrue(e.getMessage().contains("[3.2.1-v3235e, 3.3.0-v3346]"), "Versions unordered");
    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-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

        private static final String CHECK_SELECTED_VERSION = "check selected version";
    
        @Test
        void testRange() throws InvalidVersionSpecificationException, OverConstrainedVersionException {
            Artifact artifact = null;
    
            VersionRange range = VersionRange.createFromVersionSpec("(,1.0]");
            List<Restriction> restrictions = range.getRestrictions();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 44.3K bytes
    - Viewed (0)
Back to top