Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for ArtifactFactory (0.19 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/artifact/factory/ArtifactFactory.java

    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();
    
        Artifact createArtifact(String groupId, String artifactId, String version, String scope, String type);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactFactory.java

    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Service used to create {@link Artifact} objects.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface ArtifactFactory extends Service {
    
        /**
         * Creates an artifact.
         *
         * @param request the request holding artifact creation parameters
         * @return an {@code Artifact}, never {@code null}
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                ArtifactFactory artifactFactory,
                ProjectBuilder projectBuilder,
                MavenMetadataCache cache,
                LegacySupport legacySupport,
                MavenRepositorySystem mavenRepositorySystem) {
            this.repositoryMetadataManager = repositoryMetadataManager;
            this.artifactFactory = artifactFactory;
            this.projectBuilder = projectBuilder;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMetadataSource.java

                RepositoryMetadataManager repositoryMetadataManager,
                ArtifactFactory artifactFactory,
                ProjectBuilder projectBuilder,
                MavenMetadataCache cache,
                LegacySupport legacySupport,
                MavenRepositorySystem mavenRepositorySystem) {
            super(repositoryMetadataManager, artifactFactory, projectBuilder, cache, legacySupport, mavenRepositorySystem);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/AbstractConflictResolverTest.java

        protected Artifact a1;
    
        protected Artifact a2;
    
        protected Artifact b1;
    
        private final String roleHint;
    
        @Inject
        private ArtifactFactory artifactFactory;
    
        private ConflictResolver conflictResolver;
    
        @Inject
        protected PlexusContainer container;
    
        // constructors -----------------------------------------------------------
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

        private final ModelReader modelReader;
    
        private final ArtifactFactory artifactFactory;
    
        public TestRepositorySystem() {
            this(null, null);
        }
    
        @Inject
        public TestRepositorySystem(ModelReader modelReader, ArtifactFactory artifactFactory) {
            this.modelReader = modelReader;
            this.artifactFactory = artifactFactory;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    @Deprecated
    class DefaultUpdateCheckManagerTest extends AbstractArtifactComponentTestCase {
    
        @Inject
        private ArtifactFactory artifactFactory;
    
        DefaultUpdateCheckManager updateCheckManager;
    
        @Override
        protected String component() {
            return "updateCheckManager";
        }
    
        @BeforeEach
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

     *
     */
    @PlexusTest
    @Deprecated
    class DefaultArtifactCollectorTest {
        @Inject
        private LegacyArtifactCollector artifactCollector;
    
        @Inject
        private ArtifactFactory artifactFactory;
    
        private ArtifactSpec projectArtifact;
    
        private Source source;
    
        private static final String GROUP_ID = "test";
    
        @BeforeEach
        void setUp() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/TestMetadataSource.java

    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.HashSet;
    import java.util.List;
    import java.util.Set;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.factory.ArtifactFactory;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.versioning.ArtifactVersion;
    import org.apache.maven.repository.legacy.metadata.ArtifactMetadataRetrievalException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

    /**
     */
    @Named("default")
    @Singleton
    @Deprecated
    public class LegacyRepositorySystem implements RepositorySystem {
    
        @Inject
        private Logger logger;
    
        @Inject
        private ArtifactFactory artifactFactory;
    
        @Inject
        private ArtifactResolver artifactResolver;
    
        @Inject
        private ArtifactRepositoryFactory artifactRepositoryFactory;
    
        @Inject
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
Back to top