public abstract class AbstractDefaultRepositoryContent extends Object
Modifier and Type | Field and Description |
---|---|
protected static char |
ARTIFACT_SEPARATOR |
protected List<? extends ArtifactMappingProvider> |
artifactMappingProviders |
private PathParser |
defaultPathParser |
protected static char |
GROUP_SEPARATOR |
protected org.slf4j.Logger |
log |
static String |
MAVEN_METADATA |
protected static char |
PATH_SEPARATOR |
private RepositoryPathTranslator |
pathTranslator |
Constructor and Description |
---|
AbstractDefaultRepositoryContent() |
Modifier and Type | Method and Description |
---|---|
private String |
constructId(String artifactId,
String version,
String classifier,
String type) |
private String |
formatAsDirectory(String directory) |
protected void |
initialize() |
ArtifactReference |
toArtifactReference(String path) |
String |
toMetadataPath(ProjectReference reference) |
String |
toMetadataPath(VersionedReference reference) |
String |
toPath(ArchivaArtifact reference) |
String |
toPath(ArtifactReference reference) |
private String |
toPath(String groupId,
String artifactId,
String baseVersion,
String version,
String classifier,
String type) |
protected org.slf4j.Logger log
public static final String MAVEN_METADATA
protected static final char PATH_SEPARATOR
protected static final char GROUP_SEPARATOR
protected static final char ARTIFACT_SEPARATOR
private RepositoryPathTranslator pathTranslator
private PathParser defaultPathParser
@Inject protected List<? extends ArtifactMappingProvider> artifactMappingProviders
public AbstractDefaultRepositoryContent()
@PostConstruct protected void initialize()
public ArtifactReference toArtifactReference(String path) throws LayoutException
LayoutException
public String toMetadataPath(ProjectReference reference)
public String toMetadataPath(VersionedReference reference)
public String toPath(ArchivaArtifact reference)
public String toPath(ArtifactReference reference)
private String formatAsDirectory(String directory)
private String toPath(String groupId, String artifactId, String baseVersion, String version, String classifier, String type)
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.