Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for DefaultArtifactVersion (0.11 sec)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

                ArtifactVersion lowerVersion = null;
                if (!lowerBound.isEmpty()) {
                    lowerVersion = new DefaultArtifactVersion(lowerBound);
                }
                ArtifactVersion upperVersion = null;
                if (!upperBound.isEmpty()) {
                    upperVersion = new DefaultArtifactVersion(upperBound);
                }
    
                if (upperVersion != null && lowerVersion != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

            assertTrue(range.containsVersion(new DefaultArtifactVersion("1.1-SNAPSHOT")));
            assertTrue(range.containsVersion(new DefaultArtifactVersion("1.2-SNAPSHOT")));
    
            range = VersionRange.createFromVersionSpec("[1.0-SNAPSHOT,1.2]");
    
            assertTrue(range.containsVersion(new DefaultArtifactVersion("1.0-SNAPSHOT")));
            assertTrue(range.containsVersion(new DefaultArtifactVersion("1.1-SNAPSHOT")));
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

                        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()));
                        }
                    }
                }
            }
            return result;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

    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;
    import org.apache.maven.bridge.MavenRepositorySystem;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

    import org.apache.maven.artifact.resolver.filter.ScopeArtifactFilter;
    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.OverConstrainedVersionException;
    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
    - 42.5K bytes
    - Viewed (0)
Back to top