org.apache.maven.artifact.repository
Interface ArtifactRepositoryFactory

All Known Implementing Classes:
DefaultArtifactRepositoryFactory

public interface ArtifactRepositoryFactory

Author:
jdcasey

Field Summary
static String DEFAULT_LAYOUT_ID
           
static String LOCAL_REPOSITORY_ID
           
static String ROLE
           
 
Method Summary
 ArtifactRepository createArtifactRepository(String id, String url, ArtifactRepositoryLayout repositoryLayout, ArtifactRepositoryPolicy snapshots, ArtifactRepositoryPolicy releases)
           
 ArtifactRepository createArtifactRepository(String id, String url, String layoutId, ArtifactRepositoryPolicy snapshots, ArtifactRepositoryPolicy releases)
           
 ArtifactRepository createDeploymentArtifactRepository(String id, String url, ArtifactRepositoryLayout layout, boolean uniqueVersion)
           
 ArtifactRepository createDeploymentArtifactRepository(String id, String url, String layoutId, boolean uniqueVersion)
          Deprecated. 
 ArtifactRepositoryLayout getLayout(String layoutId)
          Deprecated. 
 void setGlobalChecksumPolicy(String checksumPolicy)
           
 void setGlobalUpdatePolicy(String snapshotPolicy)
           
 

Field Detail

ROLE

static final String ROLE

DEFAULT_LAYOUT_ID

static final String DEFAULT_LAYOUT_ID
See Also:
Constant Field Values

LOCAL_REPOSITORY_ID

static final String LOCAL_REPOSITORY_ID
See Also:
Constant Field Values
Method Detail

getLayout

@Deprecated
ArtifactRepositoryLayout getLayout(String layoutId)
                                   throws UnknownRepositoryLayoutException
Deprecated. 

Throws:
UnknownRepositoryLayoutException

createDeploymentArtifactRepository

@Deprecated
ArtifactRepository createDeploymentArtifactRepository(String id,
                                                                 String url,
                                                                 String layoutId,
                                                                 boolean uniqueVersion)
                                                      throws UnknownRepositoryLayoutException
Deprecated. 

Throws:
UnknownRepositoryLayoutException

createDeploymentArtifactRepository

ArtifactRepository createDeploymentArtifactRepository(String id,
                                                      String url,
                                                      ArtifactRepositoryLayout layout,
                                                      boolean uniqueVersion)

createArtifactRepository

ArtifactRepository createArtifactRepository(String id,
                                            String url,
                                            String layoutId,
                                            ArtifactRepositoryPolicy snapshots,
                                            ArtifactRepositoryPolicy releases)
                                            throws UnknownRepositoryLayoutException
Throws:
UnknownRepositoryLayoutException

createArtifactRepository

ArtifactRepository createArtifactRepository(String id,
                                            String url,
                                            ArtifactRepositoryLayout repositoryLayout,
                                            ArtifactRepositoryPolicy snapshots,
                                            ArtifactRepositoryPolicy releases)

setGlobalUpdatePolicy

void setGlobalUpdatePolicy(String snapshotPolicy)

setGlobalChecksumPolicy

void setGlobalChecksumPolicy(String checksumPolicy)


Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.