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 SummaryFields
- 
Method Summary
- 
Field Details- 
CENTRAL_IDThe reserved id for Maven Central- See Also:
 
 
- 
- 
Method Details- 
getIdGets the identifier of this repository.- Returns:
- the (case-sensitive) identifier, never null
 
- 
getTypeGets the type of the repository, for example "default".- Returns:
- the (case-sensitive) type of the repository, never null
 
 
-