Add repository
Apache 2.0Adds a new Maven Repository or updates a matching repository.
org. openrewrite. maven. AddRepositoryRequired
A unique name to describe the repository.
The URL of the repository.
Optional
A display name for the repository.
The Maven layout of the repository.
snapshotsEnabledBoolean
Snapshots from the repository are available.
Governs whether snapshots require checksums.
The policy governing snapshot updating interval.
releasesEnabledBoolean
Releases from the repository are available
Governs whether releases require checksums.
The policy governing release updating interval.
The type of repository to add.
mod run . --recipe= org. openrewrite. maven. AddRepository \
-P id= repo-id \
-P url= http: / / myrepo. maven. com/ repoInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.