Configure HTTP access to Maven vaults
Set up an HTTP connection to a Maven vault if you want to use HTTP instead of HTTPS.
Maven 3.8.1 and later: Because Maven 3.8.1 and later doesn't support non-HTTPS repositories, we recommend that you configure your Vault server for HTTPS. For details, see information about configuring web tools for HTTPS in the Dimensions CM Administration Guide.
To set up an HTTP connection to a Maven vault:
Create a custom Maven settings.xml or .mvn/local-settings.xml file with the following entry:
For details on creating the settings file, see the Maven documentation.
Suppose this is how you vault is configured in the pom.xml file:
Then, to unblock HTTP access to the vault, include the following entries in the settings file: