Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for getVersionRange (0.06 sec)

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

            return (artifact != null) ? copyArtifact(artifact) : null;
        }
    
        public static Artifact copyArtifact(Artifact artifact) {
            VersionRange range = artifact.getVersionRange();
    
            // For some reason with the introduction of MNG-1577 we have the case in Yoko where a depMan section has
            // something like the following:
            //
            // <dependencyManagement>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

                Set<Artifact> projectArtifacts = new HashSet<>();
    
                for (Artifact d : dependencies) {
                    VersionRange versionRange;
                    if (d.getVersionRange() != null) {
                        versionRange = d.getVersionRange();
                    } else {
                        versionRange = VersionRange.createFromVersionSpec(d.getVersion());
                    }
                    Artifact artifact;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 43K bytes
    - Viewed (0)
Back to top