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 boolean
private 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.Artifact
transformArtifact
(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:
prepare
in interfaceorg.eclipse.aether.impl.MetadataGenerator
-
transformArtifact
public org.eclipse.aether.artifact.Artifact transformArtifact(org.eclipse.aether.artifact.Artifact artifact) - Specified by:
transformArtifact
in 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:
finish
in interfaceorg.eclipse.aether.impl.MetadataGenerator
-