Modifier and Type | Method and Description |
---|---|
static ArchivaRepositoryMetadata |
RepositoryMetadataMerge.merge(ArchivaRepositoryMetadata mainMetadata,
ArchivaRepositoryMetadata sourceMetadata) |
ProjectReference |
MetadataTools.toProjectReference(String path) |
VersionedReference |
MetadataTools.toVersionedReference(String path)
Take a path to a maven-metadata.xml, and attempt to translate it to a VersionedReference.
|
void |
MetadataTools.updateMetadata(ManagedRepositoryContent managedRepository,
ProjectReference reference)
Deprecated.
|
void |
MetadataTools.updateMetadata(ManagedRepositoryContent managedRepository,
String logicalResource) |
void |
MetadataTools.updateMetadata(ManagedRepositoryContent managedRepository,
VersionedReference reference)
Deprecated.
|
static void |
RepositoryMetadataWriter.write(ArchivaRepositoryMetadata metadata,
File outputFile) |
static void |
RepositoryMetadataWriter.write(ArchivaRepositoryMetadata metadata,
Writer writer) |
Modifier and Type | Method and Description |
---|---|
private ArchivaRepositoryMetadata |
DefaultRepositoriesService.getMetadata(File metadataFile) |
private void |
DefaultRepositoriesService.updateMetadata(ArchivaRepositoryMetadata metadata,
File metadataFile,
Date lastUpdatedTimestamp,
Artifact artifact)
Update artifact level metadata.
|
private void |
DefaultRepositoriesService.updateProjectMetadata(String targetPath,
Date lastUpdatedTimestamp,
String timestamp,
int buildNumber,
boolean fixChecksums,
ArtifactTransferRequest artifactTransferRequest) |
Modifier and Type | Method and Description |
---|---|
private ArchivaRepositoryMetadata |
Maven2RepositoryMerger.getMetadata(File metadataFile) |
private void |
Maven2RepositoryMerger.updateProjectMetadata(File projectMetaDataFileIntargetRepo,
ArtifactMetadata artifactMetadata,
Date lastUpdatedTimestamp,
String timestamp) |
private void |
Maven2RepositoryMerger.updateVersionMetadata(File versionMetaDataFileInTargetRepo,
ArtifactMetadata artifactMetadata,
Date lastUpdatedTimestamp) |
Modifier and Type | Method and Description |
---|---|
private ArchivaRepositoryMetadata |
DefaultFileUploadService.getMetadata(File metadataFile) |
private void |
DefaultFileUploadService.updateProjectMetadata(String targetPath,
Date lastUpdatedTimestamp,
String timestamp,
int buildNumber,
boolean fixChecksums,
FileMetadata fileMetadata,
String groupId,
String artifactId,
String version,
String packaging)
Update artifact level metadata.
|
private void |
DefaultFileUploadService.updateVersionMetadata(ArchivaRepositoryMetadata metadata,
File metadataFile,
Date lastUpdatedTimestamp,
String timestamp,
int buildNumber,
boolean fixChecksums,
FileMetadata fileMetadata,
String groupId,
String artifactId,
String version,
String packaging)
Update version level metadata for snapshot artifacts.
|
Modifier and Type | Method and Description |
---|---|
private File |
ArchivaDavResourceFactory.writeMergedMetadataToFile(ArchivaRepositoryMetadata mergedMetadata,
String outputFilename) |
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.