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:
-
Method Summary
-
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
-