Share this page

# 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:

`<blocked>false</blocked>`

For details on creating the settings file, see the Maven documentation.

Example:

Suppose this is how you vault is configured in the pom.xml file:

Copy code

    <repositories>
      <repository>
        <id>my-repository</id>
        <name>my-vault</name>
        <url>http://my-server:8080/vault-server/maven/my-space/my-vault</url>
      </repository>
    </repositories>

Then, to unblock HTTP access to the vault, include the following entries in the settings file:

Copy code

    <mirrors>
      <mirror>
        <id>unblock-my-vault</id>
        <mirrorOf>my-repository</mirrorOf>
        <name>my-vault</name>
        <url>http://my-server:8080/vault-server/maven/my-space/my-vault</url>
        <blocked>false</blocked>
      </mirror>
    </mirrors>

Back to top

See also:

- Create and manage vaults
- Define trusted products for vault

https://admhelp.microfocus.com PulseUno 8942
Tips to improve your search results... PulseUno Help Center PulseUno Help 24.2 - 25.2 All View Local Help Center View Online Help Center Version: