- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,170 for VERSION (0.15 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/Version.java
import org.apache.maven.api.annotations.Nonnull; /** * A version usually parsed using the {@link org.apache.maven.api.services.VersionParser} service. * * @since 4.0.0 * @see org.apache.maven.api.services.VersionParser#parseVersion(String) * @see org.apache.maven.api.Session#parseVersion(String) */ @Experimental public interface Version extends Comparable<Version> { /** * Returns a string representation of this version.
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Tue Dec 19 19:08:55 GMT 2023 - 1.4K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelVersionParser.java
this.versionScheme = requireNonNull(versionScheme, "versionScheme"); } @Override public Version parseVersion(String version) { requireNonNull(version, "version"); return new DefaultVersion(versionScheme, version); } @Override public VersionRange parseVersionRange(String range) { requireNonNull(range, "range");
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) -
maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java
public final class ArtifactUtils { public static boolean isSnapshot(String version) { if (version != null) { if (version.regionMatches( true, version.length() - Artifact.SNAPSHOT_VERSION.length(), Artifact.SNAPSHOT_VERSION, 0, Artifact.SNAPSHOT_VERSION.length())) { return true; } else {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 06 08:51:18 GMT 2023 - 6.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinateFactoryRequest.java
this.artifactId = artifactId; return this; } public ArtifactFactoryRequestBuilder version(String version) { this.version = version; return this; } public ArtifactFactoryRequestBuilder classifier(String classifier) { this.classifier = classifier; return this;
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Dec 18 10:30:20 GMT 2023 - 7.4K bytes - Viewed (0) -
maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java
private static final String CHECK_VERSION_RECOMMENDATION = "check version recommended"; private static final String CHECK_SELECTED_VERSION_KNOWN = "check selected version known"; private static final String CHECK_SELECTED_VERSION = "check selected version"; @Test void testRange() throws InvalidVersionSpecificationException, OverConstrainedVersionException {
Java - Registered: Sun May 05 03:35:11 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
/** * Parses the specified version string, for example "1.0". * * @param version the version string to parse, must not be {@code null} * @return the parsed version, never {@code null} * @throws VersionParserException if the string violates the syntax rules of this scheme */ @Nonnull Version parseVersion(@Nonnull String version); /**
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) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java
} return groupId; } private String getVersion(Model model) { String version = model.getVersion(); if (version == null && model.getParent() != null) { version = model.getParent().getVersion(); } return version; } private DefaultProfileActivationContext getProfileActivationContext(ModelBuilderRequest request, Model model) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri May 03 08:48:38 GMT 2024 - 61.5K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/rtinfo/RuntimeInformation.java
* "[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}. * @return {@code true} if the current Maven runtime matches the specified version range, {@code false} otherwise. * @throws IllegalArgumentException If the specified version range is {@code null}, empty or otherwise not a valid
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Tue Nov 22 13:26:01 GMT 2022 - 1.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
*/ @Nonnull List<Version> resolveVersionRange(@Nonnull ArtifactCoordinate artifact); /** * Parses the specified version string, for example "1.0". * <p> * Shortcut for {@code getService(VersionParser.class).parseVersion(...)}. * * @param version the version string to parse * @return the version parsed from the given string
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 30.2K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/LatestArtifactTransformation.java
if (Artifact.LATEST_VERSION.equals(artifact.getVersion())) { try { String version = resolveVersion(artifact, request); if (Artifact.LATEST_VERSION.equals(version)) { throw new ArtifactNotFoundException("Unable to determine the latest version", artifact); } artifact.setBaseVersion(version);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 11:28:54 GMT 2023 - 2.9K bytes - Viewed (0)