Class RepositoryDTO

java.lang.Object
aQute.maven.dto.RepositoryDTO

public class RepositoryDTO extends Object
A repository contains the information needed for establishing connections with remote repository.
  • Field Details

    • id

      public String id
      A unique identifier for a repository. This is used to match the repository to configuration in the settings.xml file, for example. Furthermore, the identifier is used during POM inheritance and profile injection to detect repositories that should be merged.
    • name

      public String name
      Human readable name of the repository.
    • url

      public URI url
      The url of the repository, in the form protocol://hostname/path.
    • layout

      public String layout
      The type of layout this repository uses for locating and storing artifacts - can be legacy or default.
    • releases

      public RepositoryPolicyDTO releases
      How to handle downloading of releases from this repository.
    • snapshots

      public RepositoryPolicyDTO snapshots
      How to handle downloading of snapshots from this repository.
  • Constructor Details

    • RepositoryDTO

      public RepositoryDTO()