Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for selectVersion (0.1 sec)

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

            if ((versionRange != null) && (versionRange.getRecommendedVersion() != null)) {
                selectVersion(versionRange.getRecommendedVersion().toString());
            } else {
                version = null;
                baseVersion = null;
            }
        }
    
        @Override
        public void selectVersion(String version) {
            this.version = version;
            setBaseVersionInternal(version);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

        /** {@inheritDoc} */
        public void setVersionRange(VersionRange newRange) {
            artifact.setVersionRange(newRange);
        }
    
        /** {@inheritDoc} */
        public void selectVersion(String version) {
            artifact.selectVersion(version);
        }
    
        /** {@inheritDoc} */
        public void setGroupId(String groupId) {
            artifact.setGroupId(groupId);
        }
    
        /** {@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)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

        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();
    
        void setResolved(boolean resolved);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java

                        // MNG-2123: null is a valid response to getSelectedVersion, don't
                        // assume it won't ever be.
                        if (selected != null) {
                            artifact.selectVersion(selected.toString());
                        } else {
                            throw new OverConstrainedVersionException(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                                                .matchVersion(resetArtifact.getAvailableVersions());
    
                                        if (selectedVersion != null) {
                                            resetArtifact.selectVersion(selectedVersion.toString());
                                        } else {
                                            throw new OverConstrainedVersionException(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                    } else {
                        throw new ArtifactResolutionException(e.getMessage(), artifact, remoteRepositories, e);
                    }
                }
    
                artifact.selectVersion(result.getArtifact().getVersion());
                artifact.setFile(result.getArtifact().getFile());
                artifact.setResolved(true);
    
                if (artifact.isSnapshot()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
Back to top