- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for ArtifactVersion (0.08 sec)
-
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java
} return buf.toString(); } } public ArtifactVersion matchVersion(List<ArtifactVersion> versions) { // TODO could be more efficient by sorting the list and then moving along the restrictions in order? ArtifactVersion matched = null; for (ArtifactVersion version : versions) { if (containsVersion(version)) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 19K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java
} @Override public boolean isRelease() { return release; } @Override public List<ArtifactVersion> getAvailableVersions() { return availableVersions; } @Override public void setAvailableVersions(List<ArtifactVersion> availableVersions) { this.availableVersions = availableVersions; } @Override public boolean isOptional() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 14.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java
import org.apache.maven.artifact.metadata.ArtifactMetadataSource; import org.apache.maven.artifact.metadata.ResolutionGroup; import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.artifact.versioning.ArtifactVersion; import org.apache.maven.repository.legacy.metadata.MetadataResolutionRequest; import org.eclipse.aether.DefaultRepositorySystemSession; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
import org.apache.maven.artifact.resolver.filter.ArtifactFilter; import org.apache.maven.artifact.resolver.filter.ExclusionArtifactFilter; import org.apache.maven.artifact.versioning.ArtifactVersion; import org.apache.maven.artifact.versioning.DefaultArtifactVersion; import org.apache.maven.artifact.versioning.InvalidVersionSpecificationException; import org.apache.maven.artifact.versioning.VersionRange;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 30.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java
// transformation? ArtifactVersion version; if (!artifact.isSelectedVersionKnown()) { List<ArtifactVersion> versions = artifact.getAvailableVersions(); if (versions == null) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 36.7K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java
List<ArtifactVersion> artifactVersions = versions.computeIfAbsent(key, k -> new ArrayList<>()); if (spec.artifact.getVersion() != null) { artifactVersions.add(new DefaultArtifactVersion(spec.artifact.getVersion())); } } public List<ArtifactVersion> retrieveAvailableVersions(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 42.5K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java
"Version " + version + " should have failed to construct"); } @Test void testContains() throws InvalidVersionSpecificationException { ArtifactVersion actualVersion = new DefaultArtifactVersion("2.0.5"); assertTrue(enforceVersion("2.0.5", actualVersion)); assertTrue(enforceVersion("2.0.4", actualVersion));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 44.3K bytes - Viewed (0)