org.apache.maven.shared.repository
Class DefaultRepositoryAssembler
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.shared.repository.DefaultRepositoryAssembler
- All Implemented Interfaces:
- RepositoryAssembler, LogEnabled, Contextualizable
public class DefaultRepositoryAssembler
- extends AbstractLogEnabled
- implements RepositoryAssembler, Contextualizable
- Author:
- Jason van Zyl
- Plexus component:
- role:
- "org.apache.maven.shared.repository.RepositoryAssembler"
- role-hint:
- "default"
|
Constructor Summary |
DefaultRepositoryAssembler()
|
DefaultRepositoryAssembler(org.apache.maven.artifact.factory.ArtifactFactory artifactFactory,
org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver,
org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout repositoryLayout,
org.apache.maven.artifact.repository.ArtifactRepositoryFactory artifactRepositoryFactory,
org.apache.maven.artifact.metadata.ArtifactMetadataSource metadataSource,
org.apache.maven.project.MavenProjectBuilder projectBuilder)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UTC_TIME_ZONE
protected static final TimeZone UTC_TIME_ZONE
UTC_TIMESTAMP_PATTERN
protected static final String UTC_TIMESTAMP_PATTERN
- See Also:
- Constant Field Values
artifactFactory
protected org.apache.maven.artifact.factory.ArtifactFactory artifactFactory
- Plexus requirement
artifactResolver
protected org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver
repositoryLayout
protected org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout repositoryLayout
- Plexus requirement
artifactRepositoryFactory
protected org.apache.maven.artifact.repository.ArtifactRepositoryFactory artifactRepositoryFactory
- Plexus requirement
metadataSource
protected org.apache.maven.artifact.metadata.ArtifactMetadataSource metadataSource
- Plexus requirement
projectBuilder
protected org.apache.maven.project.MavenProjectBuilder projectBuilder
- Plexus requirement
DefaultRepositoryAssembler
public DefaultRepositoryAssembler()
DefaultRepositoryAssembler
public DefaultRepositoryAssembler(org.apache.maven.artifact.factory.ArtifactFactory artifactFactory,
org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver,
org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout repositoryLayout,
org.apache.maven.artifact.repository.ArtifactRepositoryFactory artifactRepositoryFactory,
org.apache.maven.artifact.metadata.ArtifactMetadataSource metadataSource,
org.apache.maven.project.MavenProjectBuilder projectBuilder)
buildRemoteRepository
public void buildRemoteRepository(File repositoryDirectory,
RepositoryInfo repository,
RepositoryBuilderConfigSource configSource)
throws RepositoryAssemblyException
- Specified by:
buildRemoteRepository
in interface RepositoryAssembler
- Throws:
RepositoryAssemblyException
createGroupVersionAlignments
protected Map createGroupVersionAlignments(List versionAlignments)
getUtcDateFormatter
protected static DateFormat getUtcDateFormatter()
createLocalRepository
protected org.apache.maven.artifact.repository.ArtifactRepository createLocalRepository(File directory)
createRepository
public org.apache.maven.artifact.repository.ArtifactRepository createRepository(String repositoryId,
String repositoryUrl,
boolean offline,
boolean updateSnapshots,
String globalChecksumPolicy)
contextualize
public void contextualize(Context context)
throws ContextException
- Specified by:
contextualize
in interface Contextualizable
- Throws:
ContextException
Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.