Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for getVersionRange (0.14 sec)

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

                        if (previous.isActive()) {
                            // Version mediation
                            VersionRange previousRange = previous.getArtifact().getVersionRange();
                            VersionRange currentRange = node.getArtifact().getVersionRange();
    
                            if ((previousRange != null) && (currentRange != null)) {
    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-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java

                    + artifact.getVersionRange() + ")");
        }
    
        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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

        }
    
        /** {@inheritDoc} */
        public void setScope(String scope) {
            artifact.setScope(scope);
        }
    
        /** {@inheritDoc} */
        public VersionRange getVersionRange() {
            return artifact.getVersionRange();
        }
    
        /** {@inheritDoc} */
        public void setVersionRange(VersionRange newRange) {
            artifact.setVersionRange(newRange);
        }
    
        /** {@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)
  5. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/ArtifactRepositoryMetadata.java

        }
    
        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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

                String classifier,
                String extension) {
            super(
                    source.getGroupId(),
                    source.getArtifactId(),
                    source.getVersionRange(),
                    source.getScope(),
                    extension,
                    classifier,
                    new TransformedArtifactHandler(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

            if (artifact == null) {
                return null;
            }
    
            String version = artifact.getVersion();
            if (version == null && artifact.getVersionRange() != null) {
                version = artifact.getVersionRange().toString();
            }
    
            Map<String, String> props = null;
            if (org.apache.maven.artifact.Artifact.SCOPE_SYSTEM.equals(artifact.getScope())) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelVersionParser.java

                }
            }
    
            @Override
            public String asString() {
                return delegate.toString();
            }
    
            @Override
            public VersionRange getVersionRange() {
                if (delegate.getRange() == null) {
                    return null;
                }
                return new DefaultVersionRange(versionScheme, delegate.getRange());
            }
    
            @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top