Class DefaultArtifactRepositoryFactory
java.lang.Object
org.apache.maven.artifact.repository.DefaultArtifactRepositoryFactory
- All Implemented Interfaces:
ArtifactRepositoryFactory
@Named
@Singleton
@Deprecated
public class DefaultArtifactRepositoryFactory
extends Object
implements ArtifactRepositoryFactory
Deprecated.
-
Field Summary
Fields inherited from interface org.apache.maven.artifact.repository.ArtifactRepositoryFactory
DEFAULT_LAYOUT_ID, LOCAL_REPOSITORY_ID, ROLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateArtifactRepository
(String id, String url, String layoutId, ArtifactRepositoryPolicy snapshots, ArtifactRepositoryPolicy releases) Deprecated.createArtifactRepository
(String id, String url, ArtifactRepositoryLayout repositoryLayout, ArtifactRepositoryPolicy snapshots, ArtifactRepositoryPolicy releases) Deprecated.createDeploymentArtifactRepository
(String id, String url, String layoutId, boolean uniqueVersion) Deprecated.createDeploymentArtifactRepository
(String id, String url, ArtifactRepositoryLayout repositoryLayout, boolean uniqueVersion) Deprecated.Deprecated.void
setGlobalChecksumPolicy
(String checksumPolicy) Deprecated.void
setGlobalUpdatePolicy
(String updatePolicy) Deprecated.
-
Constructor Details
-
DefaultArtifactRepositoryFactory
public DefaultArtifactRepositoryFactory()Deprecated.
-
-
Method Details
-
getLayout
Deprecated.- Specified by:
getLayout
in interfaceArtifactRepositoryFactory
- Throws:
UnknownRepositoryLayoutException
-
createDeploymentArtifactRepository
public ArtifactRepository createDeploymentArtifactRepository(String id, String url, String layoutId, boolean uniqueVersion) throws UnknownRepositoryLayoutException Deprecated.- Specified by:
createDeploymentArtifactRepository
in interfaceArtifactRepositoryFactory
- Throws:
UnknownRepositoryLayoutException
-
createDeploymentArtifactRepository
public ArtifactRepository createDeploymentArtifactRepository(String id, String url, ArtifactRepositoryLayout repositoryLayout, boolean uniqueVersion) Deprecated.- Specified by:
createDeploymentArtifactRepository
in interfaceArtifactRepositoryFactory
-
createArtifactRepository
public ArtifactRepository createArtifactRepository(String id, String url, String layoutId, ArtifactRepositoryPolicy snapshots, ArtifactRepositoryPolicy releases) throws UnknownRepositoryLayoutException Deprecated.- Specified by:
createArtifactRepository
in interfaceArtifactRepositoryFactory
- Throws:
UnknownRepositoryLayoutException
-
createArtifactRepository
public ArtifactRepository createArtifactRepository(String id, String url, ArtifactRepositoryLayout repositoryLayout, ArtifactRepositoryPolicy snapshots, ArtifactRepositoryPolicy releases) Deprecated.- Specified by:
createArtifactRepository
in interfaceArtifactRepositoryFactory
-
setGlobalUpdatePolicy
Deprecated.- Specified by:
setGlobalUpdatePolicy
in interfaceArtifactRepositoryFactory
-
setGlobalChecksumPolicy
Deprecated.- Specified by:
setGlobalChecksumPolicy
in interfaceArtifactRepositoryFactory
-