Class VersionsMetadataGenerator

java.lang.Object
org.apache.maven.repository.internal.VersionsMetadataGenerator
All Implemented Interfaces:
org.eclipse.aether.impl.MetadataGenerator

class VersionsMetadataGenerator extends Object implements org.eclipse.aether.impl.MetadataGenerator
Maven GA level metadata generator. Version metadata contains list of existing baseVersions within this GA.
  • Field Details

  • Constructor Details

    • VersionsMetadataGenerator

      VersionsMetadataGenerator(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.installation.InstallRequest request)
    • VersionsMetadataGenerator

      VersionsMetadataGenerator(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.deployment.DeployRequest request)
    • VersionsMetadataGenerator

      private VersionsMetadataGenerator(org.eclipse.aether.RepositorySystemSession session, Collection<? extends org.eclipse.aether.metadata.Metadata> metadatas)
  • Method Details

    • prepare

      public Collection<? extends org.eclipse.aether.metadata.Metadata> prepare(Collection<? extends org.eclipse.aether.artifact.Artifact> artifacts)
      Specified by:
      prepare in interface org.eclipse.aether.impl.MetadataGenerator
    • transformArtifact

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