Skip to content

Resolve Maven artifacts

Use rvs to select the Ravenstash repository and supply temporary credentials to the build tool.

Use rvs to run a Maven build with ephemeral Ravenstash settings:

Terminal window
rvs art select namespace/packages
rvs mvn verify

To fetch one coordinate directly into the local Maven cache:

Terminal window
rvs art select namespace/packages
rvs art maven install com.acme:internal-sdk:1.2.3

The generated Ravenstash settings are temporary and removed after the invocation.

Declare dependencies normally in the project:

pom.xml
<dependency>
<groupId>com.acme</groupId>
<artifactId>internal-sdk</artifactId>
<version>1.2.3</version>
</dependency>
Terminal window
rvs art select namespace/packages
rvs gradle build

Run the build with a clean dependency cache when practical and inspect client output to confirm the selected Ravenstash repository supplied the dependency.