Class LocalSnapshotMetadataGenerator
java.lang.Object
org.apache.maven.repository.internal.LocalSnapshotMetadataGenerator
- All Implemented Interfaces:
org.eclipse.aether.impl.MetadataGenerator
class LocalSnapshotMetadataGenerator
extends Object
implements org.eclipse.aether.impl.MetadataGenerator
Maven local GAV level metadata generator.
Local snapshot metadata contains non-transformed snapshot version.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate Map<Object, LocalSnapshotMetadata> private final Date -
Constructor Summary
ConstructorsConstructorDescriptionLocalSnapshotMetadataGenerator(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.installation.InstallRequest request) -
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends org.eclipse.aether.metadata.Metadata> finish(Collection<? extends org.eclipse.aether.artifact.Artifact> artifacts) Collection<? extends org.eclipse.aether.metadata.Metadata> prepare(Collection<? extends org.eclipse.aether.artifact.Artifact> artifacts) org.eclipse.aether.artifact.ArtifacttransformArtifact(org.eclipse.aether.artifact.Artifact artifact)
-
Field Details
-
snapshots
-
legacyFormat
private final boolean legacyFormat -
timestamp
-
-
Constructor Details
-
LocalSnapshotMetadataGenerator
LocalSnapshotMetadataGenerator(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.installation.InstallRequest request)
-
-
Method Details
-
prepare
public Collection<? extends org.eclipse.aether.metadata.Metadata> prepare(Collection<? extends org.eclipse.aether.artifact.Artifact> artifacts) - Specified by:
preparein interfaceorg.eclipse.aether.impl.MetadataGenerator
-
transformArtifact
public org.eclipse.aether.artifact.Artifact transformArtifact(org.eclipse.aether.artifact.Artifact artifact) - Specified by:
transformArtifactin interfaceorg.eclipse.aether.impl.MetadataGenerator
-
finish
public Collection<? extends org.eclipse.aether.metadata.Metadata> finish(Collection<? extends org.eclipse.aether.artifact.Artifact> artifacts) - Specified by:
finishin interfaceorg.eclipse.aether.impl.MetadataGenerator
-