Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 37 for versionRange (0.07 sec)

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

    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.regex.Matcher;
    
    import org.apache.maven.artifact.versioning.VersionRange;
    
    /**
     * ArtifactUtils
     */
    public final class ArtifactUtils {
    
        public static boolean isSnapshot(String version) {
            if (version != null) {
                if (version.regionMatches(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/test/java/org/apache/maven/artifact/ArtifactUtilsTest.java

     * under the License.
     */
    package org.apache.maven.artifact;
    
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map;
    
    import org.apache.maven.artifact.versioning.VersionRange;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionListener.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.resolver;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.versioning.VersionRange;
    
    /**
     * Listens to the resolution process and handles events.
     *
     */
    @Deprecated
    public interface ResolutionListener {
        String ROLE = ResolutionListener.class.getName();
    
        int TEST_ARTIFACT = 1;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

                for (Artifact d : dependencies) {
                    VersionRange versionRange;
                    if (d.getVersionRange() != null) {
                        versionRange = d.getVersionRange();
                    } else {
                        versionRange = VersionRange.createFromVersionSpec(d.getVersion());
                    }
                    Artifact artifact;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/ArtifactRepositoryMetadata.java

    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.versioning.ArtifactVersion;
    import org.apache.maven.artifact.versioning.Restriction;
    import org.apache.maven.artifact.versioning.VersionRange;
    
    /**
     * Metadata for the artifact directory of the repository.
     *
     */
    @Deprecated
    public class ArtifactRepositoryMetadata extends AbstractRepositoryMetadata {
        private Artifact artifact;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

        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} */
        public void selectVersion(String version) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                    } else if (expression.startsWith("e(") && expression.endsWith(")")) {
                        Artifact artifact = new DefaultArtifact(expression.substring(2, expression.length() - 1));
                        VersionRange versionRange =
                                artifact.getVersion().contains(",") ? parseVersionRange(artifact.getVersion()) : null;
                        Predicate<Artifact> predicate = a -> {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                return null;
            }
    
            VersionRange versionRange = VersionRange.createFromVersionSpec(dependency.getVersion());
    
            Artifact dependencyArtifact = factory.createDependencyArtifact(
                    dependency.getGroupId(),
                    dependency.getArtifactId(),
                    versionRange,
                    dependency.getType(),
                    dependency.getClassifier(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java

     */
    package org.apache.maven.artifact.resolver;
    
    import java.util.HashSet;
    import java.util.Objects;
    import java.util.Set;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.versioning.VersionRange;
    import org.codehaus.plexus.logging.Logger;
    
    /**
     * Send resolution events to the debug log.
     *
     */
    @Deprecated
    public class DebugResolutionListener implements ResolutionListener, ResolutionListenerForDepMgmt {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

    import org.eclipse.aether.version.InvalidVersionSpecificationException;
    import org.eclipse.aether.version.Version;
    import org.eclipse.aether.version.VersionConstraint;
    import org.eclipse.aether.version.VersionRange;
    import org.eclipse.aether.version.VersionScheme;
    
    /**
     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead/
     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top