Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 549 for Artifact (0.08 sec)

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

    import java.util.TimeZone;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.deployer.ArtifactDeploymentException;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.repository.RepositoryRequest;
    import org.apache.maven.artifact.repository.metadata.Metadata;
    import org.apache.maven.artifact.repository.metadata.RepositoryMetadata;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java

            System.out.println("a = " + artifact);
            System.out.println("b = " + artifact.getScope());
            assertEquals("test", artifact.getScope(), "Check scope");
            artifact = getArtifact(project, "maven-test-test", "scope-default");
            assertEquals("test", artifact.getScope(), "Check scope");
            artifact = getArtifact(project, "maven-test-test", "scope-runtime");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/ArtifactRepositoryMetadata.java

    public class ArtifactRepositoryMetadata extends AbstractRepositoryMetadata {
        private Artifact artifact;
    
        public ArtifactRepositoryMetadata(Artifact artifact) {
            this(artifact, null);
        }
    
        public ArtifactRepositoryMetadata(Artifact artifact, Versioning versioning) {
            super(createMetadata(artifact, versioning));
            this.artifact = artifact;
        }
    
        public boolean storedInGroupDirectory() {
            return false;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

        }
    
        /**
         * Gets the artifacts that make up the plugin's class realm, excluding artifacts shadowed by the Maven core realm
         * like {@code maven-project}.
         *
         * @return The plugin artifacts, never {@code null}.
         */
        public List<Artifact> getArtifacts() {
            return artifacts;
        }
    
        public void setArtifacts(List<Artifact> artifacts) {
            this.artifacts = artifacts;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/ScopeArtifactFilterTest.java

            assertFalse(filter.include(newArtifact(Artifact.SCOPE_RUNTIME)));
            assertFalse(filter.include(newArtifact(Artifact.SCOPE_TEST)));
        }
    
        @Test
        void testInclude_CompilePlusRuntime() {
            ScopeArtifactFilter filter = new ScopeArtifactFilter(Artifact.SCOPE_COMPILE_PLUS_RUNTIME);
    
            assertTrue(filter.include(newArtifact(Artifact.SCOPE_COMPILE)));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ReleaseArtifactTransformation.java

            artifact.addMetadata(metadata);
        }
    
        @Override
        public void transformForDeployment(
                Artifact artifact, ArtifactRepository remoteRepository, ArtifactRepository localRepository) {
            ArtifactMetadata metadata = createMetadata(artifact);
    
            artifact.addMetadata(metadata);
        }
    
        private ArtifactMetadata createMetadata(Artifact artifact) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

     */
    package org.apache.maven.artifact.resolver;
    
    import javax.inject.Inject;
    
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Set;
    
    import org.apache.maven.artifact.AbstractArtifactComponentTestCase;
    import org.apache.maven.artifact.Artifact;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/ArtifactInstaller.java

     */
    package org.apache.maven.artifact.installer;
    
    import java.io.File;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    
    /**
     */
    @Deprecated
    public interface ArtifactInstaller {
        String ROLE = ArtifactInstaller.class.getName();
    
        /**
         * Install an artifact from a particular directory. The artifact handler is used to determine
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/LatestArtifactTransformation.java

    import javax.inject.Singleton;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.repository.RepositoryRequest;
    import org.apache.maven.artifact.repository.metadata.RepositoryMetadataResolutionException;
    import org.apache.maven.artifact.repository.metadata.Versioning;
    import org.apache.maven.artifact.resolver.ArtifactNotFoundException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t10/ProjectInheritanceTest.java

            Map map = project1.getArtifactMap();
            assertNotNull(map, "No artifacts");
            assertTrue(map.size() > 0, "No Artifacts");
            assertTrue(map.size() == 3, "Set size should be 3, is " + map.size());
    
            Artifact a = (Artifact) map.get("maven-test:t10-a");
            Artifact b = (Artifact) map.get("maven-test:t10-b");
            Artifact c = (Artifact) map.get("maven-test:t10-c");
    
            assertNotNull(a);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top