Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Lange (0.21 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelVersionParser.java

        Version parseVersion(@Nonnull String version);
    
        /**
         * Parses the specified version range specification, for example "[1.0,2.0)".
         *
         * @param range the range specification to parse, must not be {@code null}
         * @return the parsed version range, never {@code null}
         * @throws VersionParserException if the range specification violates the syntax rules of this scheme
         */
        @Nonnull
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/JdkVersionProfileActivator.java

        }
    
        private static boolean isInRange(String value, List<RangeValue> range) {
            int leftRelation = getRelationOrder(value, range.get(0), true);
    
            if (leftRelation == 0) {
                return true;
            }
    
            if (leftRelation < 0) {
                return false;
            }
    
            return getRelationOrder(value, range.get(1), false) <= 0;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelVersionParser.java

            return new DefaultVersion(versionScheme, version);
        }
    
        @Override
        public VersionRange parseVersionRange(String range) {
            requireNonNull(range, "range");
            return new DefaultVersionRange(versionScheme, range);
        }
    
        @Override
        public boolean isSnapshot(String version) {
            return checkSnapshot(version);
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/project/ProjectModelResolverTest.java

                    "Expected 'UnresolvableModelException' not thrown.");
            assertEquals("No versions matched the requested parent version range '[2.0,2.1)'", e.getMessage());
        }
    
        @Test
        void testResolveParentThrowsUnresolvableModelExceptionWhenUsingRangesWithoutUpperBound() throws Exception {
            final Parent parent = new Parent();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Apr 03 17:49:40 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionParser.java

        Version parseVersion(@Nonnull String version);
    
        /**
         * Parses the specified version range specification, for example "[1.0,2.0)".
         *
         * @param range the range specification to parse, must not be {@code null}
         * @return the parsed version range, never {@code null}
         * @throws VersionParserException if the range specification violates the syntax rules of this scheme
         */
        @Nonnull
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/VersionRange.java

    import org.apache.maven.api.annotations.Nullable;
    
    /**
     * A range of versions.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface VersionRange {
        /**
         * Determines whether the specified version is contained within this range.
         *
         * @param version the version to test, must not be {@code null}
         * @return {@code true} if this range contains the specified version, {@code false} otherwise
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/VersionConstraint.java

    import org.apache.maven.api.annotations.Nullable;
    
    /**
     * Version constraint for dependency. Constraint is either a range ("[1,2)") or recommended version ("1.0").
     *
     * @since 4.0.0
     */
    @Experimental
    public interface VersionConstraint {
        /**
         * Returns the range of this constraint, or {@code null} if none.
         * <p>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  8. maven-api-impl/src/test/java/org/apache/maven/internal/impl/resolver/DefaultModelResolverTest.java

                    () -> newModelResolver().resolveModel(session, parent, new AtomicReference<>()),
                    "Expected 'ModelResolverException' not thrown.");
            assertEquals("No versions matched the requested version range '[2.0,2.1)'", e.getMessage());
        }
    
        @Test
        void testResolveParentThrowsModelResolverExceptionWhenUsingRangesWithoutUpperBound() throws Exception {
            final Parent parent = Parent.newBuilder()
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultVersionParser.java

        @Override
        public Version parseVersion(String version) {
            return modelVersionParser.parseVersion(version);
        }
    
        @Override
        public VersionRange parseVersionRange(String range) {
            return modelVersionParser.parseVersionRange(range);
        }
    
        @Override
        public VersionConstraint parseVersionConstraint(String constraint) {
            return modelVersionParser.parseVersionConstraint(constraint);
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/ArtifactCoordinate.java

    import org.apache.maven.api.annotations.Immutable;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * The {@code Coordinate} object is used to point to an {@link Artifact}
     * but the version may be specified as a range instead of an exact version.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface ArtifactCoordinate {
    
        /**
         * The groupId of the artifact.
         *
         * @return the groupId
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 2.3K bytes
    - Viewed (0)
Back to top