Package org.apache.maven.api
Interface Repository
- All Known Subinterfaces:
LocalRepository
,RemoteRepository
- All Known Implementing Classes:
DefaultLocalRepository
,DefaultRemoteRepository
A repository holds artifacts.
- Since:
- 4.0.0
- See Also:
-
Field Summary
-
Method Summary
-
Field Details
-
CENTRAL_ID
The reserved id for Maven Central- See Also:
-
-
Method Details
-
getId
Gets the identifier of this repository.- Returns:
- the (case-sensitive) identifier, never
null
-
getType
Gets the type of the repository, for example "default".- Returns:
- the (case-sensitive) type of the repository, never
null
-