Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getVersionRange (1.11 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/VersionConstraint.java

         */
        @Nullable
        VersionRange getVersionRange();
    
        /**
         * Returns the recommended version of this constraint, or {@code null} if none.
         * <p>
         * Note: only one, this method or {@link #getVersionRange()} method must return non-{@code null} value.
         */
        @Nullable
        Version getRecommendedVersion();
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java

                    + artifact.getVersionRange() + ")");
        }
    
        @Override
        public void restrictRange(Artifact artifact, Artifact replacement, VersionRange newRange) {
            logger.debug(indent + artifact + " (range restricted from: " + artifact.getVersionRange() + " and: "
                    + replacement.getVersionRange() + " to: " + newRange + " )");
        }
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

        ArtifactHandler getArtifactHandler();
    
        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);
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - 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/repository/metadata/ArtifactRepositoryMetadata.java

        }
    
        @Override
        public int getNature() {
            if (artifact.getVersion() != null) {
                return artifact.isSnapshot() ? SNAPSHOT : RELEASE;
            }
    
            VersionRange range = artifact.getVersionRange();
            if (range != null) {
                for (Restriction restriction : range.getRestrictions()) {
                    if (isSnapshot(restriction.getLowerBound()) || isSnapshot(restriction.getUpperBound())) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top