Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for setVersionRange (0.26 sec)

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

        }
    
        /** {@inheritDoc} */
        public VersionRange getVersionRange() {
            return artifact.getVersionRange();
        }
    
        /** {@inheritDoc} */
        public void setVersionRange(VersionRange newRange) {
            artifact.setVersionRange(newRange);
        }
    
        /** {@inheritDoc} */
        public void selectVersion(String version) {
            artifact.selectVersion(version);
        }
    
        /** {@inheritDoc} */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

        List<String> getDependencyTrail();
    
        void setDependencyTrail(List<String> dependencyTrail);
    
        void setScope(String scope);
    
        VersionRange getVersionRange();
    
        void setVersionRange(VersionRange newRange);
    
        void selectVersion(String version);
    
        void setGroupId(String groupId);
    
        void setArtifactId(String artifactId);
    
        boolean isSnapshot();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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