Private Maven repository setup with rvs
Resolve and publish private Maven artifacts through Ravenstash without storing repository credentials in Maven settings.
By RavenstashUpdated 2026-08-28
Ravenstash hosts private Maven releases, snapshots, metadata, checksums, and
artifacts. The rvs CLI selects the repository and supplies temporary Maven
authentication without asking developers to maintain token-bearing settings.
Select the repository
rvs auth login --profile work
rvs account use org:acme
rvs art select platform/packages
Resolve project dependencies
Run the project’s normal Maven lifecycle through rvs:
rvs art select platform/packages
rvs mvn verify
To fetch one coordinate directly:
rvs art select platform/packages
rvs art maven install com.acme:internal-sdk:1.2.3
Publish a release
rvs art select platform/packages
rvs mvn deploy
Ravenstash handles Maven metadata XML, artifacts, checksum companions, release and snapshot conventions, and authenticated delivery.
Mirror Maven Central privately
Connect the Maven Central mirror so approved public dependencies resolve through the same private target. Security scanning and minimum package age help protect builds from malicious or newly compromised releases, while cached artifacts keep repeat CI builds fast.
For the complete workflow, see the Maven quickstart, install reference, and publish reference.
