Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setVersionRange (0.08 sec)

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

                                            newRange);
                                }
                                previous.getArtifact().setVersionRange(newRange);
                                node.getArtifact().setVersionRange(currentRange.restrict(previousRange));
    
                                // Select an appropriate available version from the (now restricted) range
    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/DefaultArtifact.java

            this.scope = scope;
        }
    
        @Override
        public VersionRange getVersionRange() {
            return versionRange;
        }
    
        @Override
        public void setVersionRange(VersionRange versionRange) {
            this.versionRange = versionRange;
            selectVersionFromNewRangeIfAvailable();
        }
    
        private void selectVersionFromNewRangeIfAvailable() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                            if (relocation.getVersion() != null) {
                                // note: see MNG-3454. This causes a problem, but fixing it may break more.
                                artifact.setVersionRange(VersionRange.createFromVersion(relocation.getVersion()));
                                relocatedArtifact = artifact;
                                project.setVersion(relocation.getVersion());
                            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top