- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 61 for Range (0.17 sec)
-
maven-core/src/test/resources/projects/parent-version-range-local-child-without-version/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> <!-- version>1</version Must not inherit version from parent due to version range. --> <packaging>pom</packaging>
XML - Registered: Sun Mar 31 03:35:09 GMT 2024 - Last Modified: Fri Feb 10 21:46:52 GMT 2017 - 348 bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/ArtifactRepositoryMetadata.java
public int getNature() { if (artifact.getVersion() != null) { return artifact.isSnapshot() ? SNAPSHOT : RELEASE; } VersionRange range = artifact.getVersionRange(); if (range != null) { for (Restriction restriction : range.getRestrictions()) { if (isSnapshot(restriction.getLowerBound()) || isSnapshot(restriction.getUpperBound())) { return RELEASE_OR_SNAPSHOT;
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 11:28:54 GMT 2023 - 3.5K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelResolver.java
// Message below is checked for in the MNG-2199 core IT. throw new ModelResolverException( String.format( "The requested parent version range '%s' does not specify an upper bound", parent.getVersion()), parent.getGroupId(), parent.getArtifactId(),
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 11K bytes - Viewed (0) -
maven-core/src/test/resources/projects/parent-version-range-local-child-project-version-expression/pom.xml
<project> <modelVersion>4.0.0</modelVersion> <groupId>parent-version-range-local</groupId> <artifactId>parent</artifactId> <version>1</version> <packaging>pom</packaging>
XML - Registered: Sun Mar 31 03:35:09 GMT 2024 - Last Modified: Tue Feb 01 13:35:07 GMT 2022 - 192 bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionResult.java
return exceptions == null ? Collections.emptyList() : Collections.unmodifiableList(exceptions); } // ------------------------------------------------------------------------ // Version Range Violations // ------------------------------------------------------------------------ public boolean hasVersionRangeViolations() { return versionRangeViolations != null; } /**
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 11:28:54 GMT 2023 - 9.3K bytes - Viewed (0) -
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) -
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) -
maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java
} else { result = -1; } } if (result == 0) { // We don't consider the version range in the comparison, just the resolved version result = new DefaultArtifactVersion(version) .compareTo(new DefaultArtifactVersion(a.getVersion())); }
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Feb 09 19:20:54 GMT 2024 - 14.5K bytes - Viewed (0) -
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) -
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)