- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 37 for versionRange (0.18 sec)
-
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java
import org.apache.maven.artifact.DefaultArtifact; /** * Construct a version range from a specification. * */ public class VersionRange { private static final Map<String, VersionRange> CACHE_SPEC = Collections.synchronizedMap(new WeakHashMap<>()); private static final Map<String, VersionRange> CACHE_VERSION = Collections.synchronizedMap(new WeakHashMap<>()); private final ArtifactVersion recommendedVersion;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 19K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/VersionRange.java
* @see VersionConstraint * @see org.apache.maven.api.services.VersionParser#parseVersionRange(String) * @see org.apache.maven.api.Session#parseVersionRange(String) * @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}
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 2.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/factory/DefaultArtifactFactory.java
String artifactId, VersionRange versionRange, String type, String classifier, String scope) { return createArtifact(groupId, artifactId, versionRange, type, classifier, scope, null); } public Artifact createDependencyArtifact( String groupId, String artifactId, VersionRange versionRange, String type,
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java
VersionRange versionRange; try { versionRange = VersionRange.createFromVersionSpec(version); } catch (InvalidVersionSpecificationException e) { return null; } return createExtensionArtifactX(groupId, artifactId, versionRange); } // DefaultProjectBuilder
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 32.6K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelVersionParser.java
return asString(); } } static class DefaultVersionRange implements VersionRange { private final VersionScheme versionScheme; private final org.eclipse.aether.version.VersionRange delegate; DefaultVersionRange(VersionScheme versionScheme, org.eclipse.aether.version.VersionRange delegate) { this.versionScheme = versionScheme; this.delegate = delegate;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/factory/ArtifactFactory.java
Artifact createDependencyArtifact( String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope); Artifact createDependencyArtifact( String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope, boolean optional);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionRangeTest.java
} catch (VersionParserException e) { assertTrue(true); } } private void assertContains(VersionRange range, String version) { assertTrue(range.contains(newVersion(version)), range + " should contain " + version); } private void assertNotContains(VersionRange range, String version) { assertFalse(range.contains(newVersion(version)), range + " should not contain " + version); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/factory/DefaultArtifactFactoryTest.java
Artifact artifact = factory.createDependencyArtifact( "test-grp", "test-artifact", VersionRange.createFromVersion("1.0"), "type", null, "system", "provided"); Artifact artifact2 = factory.createDependencyArtifact( "test-grp", "test-artifact-2", VersionRange.createFromVersion("1.0"), "type", null, "system", "test"); Artifact artifact3 = factory.createDependencyArtifact(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
return artifactFactory.createProjectArtifact(groupId, artifactId, metaVersionId); } public Artifact createDependencyArtifact(Dependency d) { VersionRange versionRange; try { versionRange = VersionRange.createFromVersionSpec(d.getVersion()); } catch (InvalidVersionSpecificationException e) { // MNG-5368: Log a message instead of returning 'null' silently.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 31.6K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java
@Test void testCache() throws InvalidVersionSpecificationException { VersionRange range = VersionRange.createFromVersionSpec("[1.0,1.2]"); assertSame(range, VersionRange.createFromVersionSpec("[1.0,1.2]")); // same instance from spec cache VersionRange spec = VersionRange.createFromVersionSpec("1.0"); assertSame(spec, VersionRange.createFromVersionSpec("1.0")); // same instance from spec cache
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 44.3K bytes - Viewed (0)