7.6. Maven Repository
Maven is a software project management tool which uses a project object model (POM) file to manage:
- Builds
- Documentation
- Reporting
- Dependencies
- Releases
- SCMs
- Distribution
A Maven repository is used to hold or store the build artifacts and project dependencies and is generally of two types:
- Local: refers to a local repository where all the project dependencies are stored and is located with the current installation in the default folder as "m2". It is a cache of the remote downloads, and also contains the temporary build artifacts which have not yet been released.
- Remote: refers to any other type of repository that can be accessed by a variety of protocols such as file:// or http://. These repositories can be at a remote location set up by a third-party for downloading of artifacts or an internal repository set up on a file or HTTP server, used to share private artifacts between the development teams for managing internal releases.