Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 550 for Artifacts (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. impl/maven-core/src/main/java/org/apache/maven/artifact/factory/ArtifactFactory.java

     */
    package org.apache.maven.artifact.factory;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.versioning.VersionRange;
    
    /**
     * ArtifactFactory - deprecated
     */
    @Deprecated
    @SuppressWarnings("checkstyle:parameternumber")
    public interface ArtifactFactory {
        @Deprecated
        String ROLE = ArtifactFactory.class.getName();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

    import java.util.List;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.DefaultArtifact;
    import org.apache.maven.artifact.factory.ArtifactFactory;
    import org.apache.maven.artifact.metadata.ArtifactMetadata;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.repository.ArtifactRepositoryPolicy;
    import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/SnapshotArtifactRepositoryMetadata.java

        private Artifact artifact;
    
        public SnapshotArtifactRepositoryMetadata(Artifact artifact) {
            super(createMetadata(artifact, null));
            this.artifact = artifact;
        }
    
        public SnapshotArtifactRepositoryMetadata(Artifact artifact, Snapshot snapshot) {
            super(createMetadata(artifact, createVersioning(snapshot)));
            this.artifact = artifact;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java

            org.eclipse.aether.artifact.Artifact mainArtifact = RepositoryUtils.toArtifact(artifact);
            mainArtifact = mainArtifact.setFile(source);
            request.addArtifact(mainArtifact);
    
            for (ArtifactMetadata metadata : artifact.getMetadataList()) {
                if (metadata instanceof ProjectArtifactMetadata) {
                    org.eclipse.aether.artifact.Artifact pomArtifact = new SubArtifact(mainArtifact, "", "pom");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top