# Interface MavenRepositoryContentDescriptor

All Superinterfaces:
  `InclusiveRepositoryContentDescriptor, RepositoryContentDescriptor`

public interface MavenRepositoryContentDescriptor extends RepositoryContentDescriptor
Extends the repository content descriptor with Maven repositories specific options.

Since:
  5.1

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `releasesOnly()`
  Declares that this repository only contains releases.
  `void`
  `snapshotsOnly()`
  Declares that this repository only contains snapshots.

  ### Methods inherited from interface InclusiveRepositoryContentDescriptor

  `includeGroup, includeGroupAndSubgroups, includeGroupByRegex, includeModule, includeModuleByRegex, includeVersion, includeVersionByRegex`

  ### Methods inherited from interface RepositoryContentDescriptor

  `excludeGroup, excludeGroupAndSubgroups, excludeGroupByRegex, excludeModule, excludeModuleByRegex, excludeVersion, excludeVersionByRegex, notForConfigurations, onlyForAttribute, onlyForConfigurations`

- ## Method Details

  - ### releasesOnly

    void releasesOnly()
    Declares that this repository only contains releases.
    Since:
      5.1

  - ### snapshotsOnly

    void snapshotsOnly()
    Declares that this repository only contains snapshots.
    Since:
      5.1