Class SnapshotArtifactRepositoryMetadata

java.lang.Object
org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata
org.apache.maven.artifact.repository.metadata.SnapshotArtifactRepositoryMetadata
All Implemented Interfaces:
ArtifactMetadata, RepositoryMetadata, ArtifactMetadata

public class SnapshotArtifactRepositoryMetadata extends AbstractRepositoryMetadata
Metadata for the artifact version directory of the repository.
Author:
Brett Porter TODO split instantiation (versioning, plugin mappings) from definition
  • Constructor Details

    • SnapshotArtifactRepositoryMetadata

      public SnapshotArtifactRepositoryMetadata(Artifact artifact)
    • SnapshotArtifactRepositoryMetadata

      public SnapshotArtifactRepositoryMetadata(Artifact artifact, Snapshot snapshot)
  • Method Details

    • storedInGroupDirectory

      public boolean storedInGroupDirectory()
    • storedInArtifactVersionDirectory

      public boolean storedInArtifactVersionDirectory()
    • getGroupId

      public String getGroupId()
    • getArtifactId

      public String getArtifactId()
    • getBaseVersion

      public String getBaseVersion()
    • getKey

      public Object getKey()
    • isSnapshot

      public boolean isSnapshot()
    • getNature

      public int getNature()
      Specified by:
      getNature in interface RepositoryMetadata
      Overrides:
      getNature in class AbstractRepositoryMetadata
    • getRepository

      public ArtifactRepository getRepository()
    • setRepository

      public void setRepository(ArtifactRepository remoteRepository)