Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for artifactFactory (0.1 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. compat/maven-compat/src/test/java/org/apache/maven/artifact/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.MetadataResolutionRequest;
    
    @Named("test")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/resources/org/apache/maven/artifact/resolver/ArtifactResolverTest.xml

              <role-hint>default</role-hint>
              <field-name>logger</field-name>
            </requirement>
            <requirement>
              <role>org.apache.maven.artifact.factory.ArtifactFactory</role>
              <role-hint>default</role-hint>
              <field-name>artifactFactory</field-name>
            </requirement>
            <requirement>
              <role>org.apache.maven.artifact.resolver.ArtifactCollector</role>
              <role-hint>default</role-hint>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12scm/ProjectInheritanceTest.java

        //        throws Exception
        //    {
        //        File localRepo = getLocalRepositoryPath();
        //
        //        ArtifactFactory factory = (ArtifactFactory) lookup( ArtifactFactory.class );
        //        Artifact artifact = factory.createProjectArtifact( "maven", "p1", "1.0" );
        //
        //        ArtifactRepositoryFactory repoFactory = (ArtifactRepositoryFactory) lookup(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/ArtifactMetadataSource.java

         *                           are needed, for instance the following code will work
         *                           <code>artifactFactory.createProjectArtifact( "org.apache.maven", "maven", "" )</code>
         * @param localRepository    local repository
         * @param remoteRepositories remote repositories, {@link List} $lt; {@link ArtifactRepository} &gt;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top