Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for RANGE (0.14 sec)

  1. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

         *         specified version range.
         *         <p>
         *         The restrictions of the returned version range will be an intersection of the restrictions
         *         of this version range and the specified version range if both version ranges have
         *         restrictions. Otherwise, the restrictions on the returned range will be empty.
         *         </p>
         *         <p>
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  2. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  3. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

            assertNull(range.getRecommendedVersion(), CHECK_VERSION_RECOMMENDATION);
            assertFalse(range.isSelectedVersionKnown(artifact), CHECK_SELECTED_VERSION_KNOWN);
            assertNull(range.getSelectedVersion(artifact), CHECK_SELECTED_VERSION);
    
            range = VersionRange.createFromVersionSpec("1.0");
            assertEquals("1.0", range.getRecommendedVersion().toString(), CHECK_VERSION_RECOMMENDATION);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 44.3K bytes
    - Viewed (0)
  4. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/rtinfo/RuntimeInformation.java

        /**
         * Checks whether the current Maven runtime matches the specified version range. A version range can either use the
         * usual mathematical syntax "[2.0.10,2.1.0),[3.0,)" or use a single version "2.2.1". The latter is a short form for
         * "[2.2.1,)", i.e. denotes the minimum version required.
         *
         * @param versionRange The version range to match the current Maven runtime against, must not be {@code null}.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                                                            + " to match the range " + resetArtifact.getVersionRange(),
                                                    resetArtifact);
                                        }
    
                                        fireEvent(ResolutionListener.SELECT_VERSION_FROM_RANGE, listeners, resetNodes[j]);
                                    }
                                }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 36.7K bytes
    - Viewed (0)
  7. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  8. maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

            // ...
            //
            // And the range is not set so we'll check here and set it. jvz.
    
            if (range == null) {
                range = VersionRange.createFromVersion(artifact.getVersion());
            }
    
            DefaultArtifact clone = new DefaultArtifact(
                    artifact.getGroupId(),
                    artifact.getArtifactId(),
                    range,
                    artifact.getScope(),
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 06 08:51:18 GMT 2023
    - 6.9K bytes
    - Viewed (0)
  9. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  10. maven-core/src/test/resources/projects/parent-version-range-local-child-project-version-expression/child/pom.xml

    <project>
      <modelVersion>4.0.0</modelVersion>
      <parent>
        <groupId>parent-version-range-local</groupId>
        <artifactId>parent</artifactId>
        <version>[1,10]</version>
      </parent>
      <artifactId>child</artifactId>
      <!-- Must not use ${project.version} due to version range. -->
      <version>${project.version}</version>
      <packaging>pom</packaging>
    XML
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Tue Feb 01 13:35:07 GMT 2022
    - 364 bytes
    - Viewed (0)
Back to top