equals

getId

Get 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.

hashCode

setId

Set 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.