Interface WorkspaceRepository

All Superinterfaces:
Repository

public interface WorkspaceRepository extends Repository
Represents a repository backed by an IDE workspace, the output of a build session, or similar ad-hoc collections of artifacts. This repository is considered read-only within the context of a session, meaning it can only be used for artifact resolution, not for installation or deployment. This interface does not provide direct access to artifacts; that functionality is handled by a WorkspaceReader.
  • Field Summary

    Fields inherited from interface org.apache.maven.api.Repository

    CENTRAL_ID
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    Returns the type of the repository, i.e. "workspace".

    Methods inherited from interface org.apache.maven.api.Repository

    getId
  • Method Details

    • getType

      @Nonnull default String getType()
      Returns the type of the repository, i.e. "workspace".
      Specified by:
      getType in interface Repository
      Returns:
      the type of the repository, i.e. "workspace"