Class VersionPolicy (1.11.4)

VersionPolicy(value)

VersionPolicy is the version policy for the repository.

Enums

Name Description
VERSION_POLICY_UNSPECIFIED VERSION_POLICY_UNSPECIFIED - the version policy is not defined. When the version policy is not defined, no validation is performed for the versions.
RELEASE RELEASE - repository will accept only Release versions.
SNAPSHOT SNAPSHOT - repository will accept only Snapshot versions.