Artifactory Repository Manager
Configure JFrog Artifactory for NES Maven artifacts
This guide describes how to add the HeroDevs NES Maven Repository to a JFrog Artifactory instance.
- Create a Remote Repository for our private Maven repo
- Configure an existing (or create a new) Virtual Repository
- Verify your access
Create a Maven Remote Repository
- Under
Administration
, navigate toRepositories
> and selectRemote
- Select
Create a Repository
>Remote
>Maven
- Configure the following on the
Basic
tab- Note: See here for documentation on basic settings for Remote Repositories
Basic Settings
- Repository Key:
nes
(or whatever alias your team prefers) - URL: https://registry.nes.herodevs.com/maven
- Username:
artifactory
- Password:
<your NES access token>
- Include Patterns:
- Click the
x
to delete the default**/*
pattern - Add
com/herodevs/nes/*
- Click the
- Remote Mapping Layout:
maven-2-default
Select Test
to verify your token access.
Advanced Settings
Configure the following on the Advanced
tab:
- Ensure
Bypass HEAD Requests
is checked - Ensure
Disable URL Normalization
is checked
Configure a Virtual Repository
This step will provide configuration details to configure an Artifactory virtual repository used to access artifacts in Maven and Gradle projects.
Assumptions:
- A Maven repository has been configured to access our NES Maven repository keyed as
nes
. (see Step 1)
If you already have a Virtual Repository configured with Maven Central (and potentially other sources) you can skip the following steps.
- Under
Administration
, navigate toRepositories
> and selectVirtual
- Select
Create a Repository
>Virtual
>Maven
- This sample keys the virtual repository with the name
maven-default
.
- This sample keys the virtual repository with the name
Whether creating or editing a new Virtual Repository, add nes-maven
to the list of Selected Repositories
.
Sample
Verify Setup
Assuming your Virtual Repository
was keyed as maven-default
, and that you have a valid Artifactory token, configure your Maven settings or Gradle properties accordingly.