Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for matchVersion (0.05 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                                        ArtifactVersion selectedVersion = resetArtifact
                                                .getVersionRange()
                                                .matchVersion(resetArtifact.getAvailableVersions());
    
                                        if (selectedVersion != null) {
                                            resetArtifact.selectVersion(selectedVersion.toString());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

                    if (i.hasNext()) {
                        buf.append(',');
                    }
                }
                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;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top