- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getRecommendedVersion (0.07 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/VersionConstraint.java
* @since 4.0.0 */ @Experimental public interface VersionConstraint { /** * Returns the range of this constraint, or {@code null} if none. * <p> * Note: only one, this method or {@link #getRecommendedVersion()} method must return non-{@code null} value. */ @Nullable VersionRange getVersionRange(); /** * Returns the recommended version of this constraint, or {@code null} if none. * <p>
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.4K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java
} else if (version == null && restriction.getRecommendedVersion() != null && r.containsVersion(restriction.getRecommendedVersion())) { // use this if we can, but prefer the original if possible version = restriction.getRecommendedVersion(); } } }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 19K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java
selectVersionFromNewRangeIfAvailable(); } private void selectVersionFromNewRangeIfAvailable() { if ((versionRange != null) && (versionRange.getRecommendedVersion() != null)) { selectVersion(versionRange.getRecommendedVersion().toString()); } else { version = null; baseVersion = null; } } @Override
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 14.6K bytes - Viewed (0)