Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for DefaultArtifact (0.17 sec)

  1. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReaderTest.java

    package org.apache.maven.repository.internal;
    
    import java.lang.reflect.Field;
    
    import org.eclipse.aether.RepositoryEvent;
    import org.eclipse.aether.RepositoryEvent.EventType;
    import org.eclipse.aether.artifact.DefaultArtifact;
    import org.eclipse.aether.impl.ArtifactDescriptorReader;
    import org.eclipse.aether.impl.RepositoryEventDispatcher;
    import org.eclipse.aether.resolution.ArtifactDescriptorRequest;
    import org.junit.jupiter.api.Test;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/ScopeArtifactFilterTest.java

    import org.apache.maven.artifact.DefaultArtifact;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@link ScopeArtifactFilter}.
     *
     */
    class ScopeArtifactFilterTest {
    
        private Artifact newArtifact(String scope) {
            return new DefaultArtifact("g", "a", "1.0", scope, "jar", "", null);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java

    import org.eclipse.aether.RepositorySystemSession;
    import org.eclipse.aether.RequestTrace;
    import org.eclipse.aether.artifact.Artifact;
    import org.eclipse.aether.artifact.DefaultArtifact;
    import org.eclipse.aether.impl.ArtifactResolver;
    import org.eclipse.aether.impl.RemoteRepositoryManager;
    import org.eclipse.aether.impl.VersionRangeResolver;
    import org.eclipse.aether.repository.RemoteRepository;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.apache.maven.api.model.Model;
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.DefaultArtifact;
    import org.apache.maven.artifact.InvalidRepositoryException;
    import org.apache.maven.artifact.factory.ArtifactFactory;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java

    import org.eclipse.aether.artifact.ArtifactProperties;
    import org.eclipse.aether.artifact.ArtifactType;
    import org.eclipse.aether.artifact.ArtifactTypeRegistry;
    import org.eclipse.aether.artifact.DefaultArtifact;
    import org.eclipse.aether.graph.Dependency;
    import org.eclipse.aether.graph.Exclusion;
    import org.eclipse.aether.resolution.ArtifactDescriptorResult;
    
    /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

    import java.security.NoSuchAlgorithmException;
    import java.util.Objects;
    import java.util.concurrent.atomic.AtomicReference;
    import java.util.function.Supplier;
    
    import org.apache.maven.artifact.DefaultArtifact;
    import org.apache.maven.internal.transformation.TransformationFailedException;
    import org.apache.maven.model.building.ModelBuildingException;
    import org.apache.maven.project.MavenProject;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/artifact/factory/DefaultArtifactFactory.java

    package org.apache.maven.artifact.factory;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.DefaultArtifact;
    import org.apache.maven.artifact.handler.ArtifactHandler;
    import org.apache.maven.artifact.handler.manager.ArtifactHandlerManager;
    import org.apache.maven.artifact.versioning.VersionRange;
    
    /**
    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/RepositoryUtils.java

    import org.eclipse.aether.artifact.ArtifactProperties;
    import org.eclipse.aether.artifact.ArtifactType;
    import org.eclipse.aether.artifact.ArtifactTypeRegistry;
    import org.eclipse.aether.artifact.DefaultArtifact;
    import org.eclipse.aether.artifact.DefaultArtifactType;
    import org.eclipse.aether.graph.Dependency;
    import org.eclipse.aether.graph.DependencyFilter;
    import org.eclipse.aether.graph.DependencyNode;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  9. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

            // And the range is not set so we'll check here and set it. jvz.
    
            if (range == null) {
                range = VersionRange.createFromVersion(artifact.getVersion());
            }
    
            DefaultArtifact clone = new DefaultArtifact(
                    artifact.getGroupId(),
                    artifact.getArtifactId(),
                    range,
                    artifact.getScope(),
                    artifact.getType(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/test/java/org/apache/maven/artifact/ArtifactUtilsTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@link ArtifactUtils}.
     *
     */
    class ArtifactUtilsTest {
    
        private Artifact newArtifact(String aid) {
            return new DefaultArtifact("group", aid, VersionRange.createFromVersion("1.0"), "test", "jar", "tests", null);
        }
    
        @Test
        void testIsSnapshot() {
            assertFalse(ArtifactUtils.isSnapshot(null));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top