Advanced - Configuring Aspire Maven Repository
Introduction
When developing new components or creating Aspire distributions, you'll need to run Maven commands for building, compiling, running unit tests, and downloading dependencies.
To be able to download the required dependencies and artifacts from Aspire's Maven Repository (https://accenturesca.jfrog.io), you'll need to configure it in your development environment.
Prerequisites
OpenJDK 11
Maven 3.6+
The following guide will configure your local Maven environment to be able to connect and authenticate using your credentials into Aspire's Maven Repository.
Configuration
Step 1. Register a user in artifactory (omit if you are already registered)
Follow instructions at Aspire Registration and Licensing
Step 2. Create your custom settings.xml.
Maven will try to use the settings.xml file it finds under your local $HOME/.me directory (or ~/.m2), so if there isn't yet a $HOME/.m2 folder, create it:
$ mkdir ~/.m2Now download and copy it under $HOME/.m2
$ cp ~/Downloads/settings.xml ~/.m2/Step 3. Verify connectivity.
Now edit your $HOME/.m2/settings.xml to include your credentials (registered email and token). See Aspire Registration and Licensing.
<settings>
<servers>
<server>
<id>stPublic</id>
<username>[USERNAME]</username>
<password>[TOKEN]</password>
</server>
</servers>
...