diff --git a/README.md b/README.md index 8de2e4f95c0224e04aebdcd803559f63e27f6d52..134444ab363154300fea57bedc03a60d02ab9c24 100644 --- a/README.md +++ b/README.md @@ -210,7 +210,7 @@ Your Maven repository may require authentication credentials to publish artifact You may handle them in the following ways: -1. define all required credentials as :lock: [project variables](https://docs.gitlab.com/ee/ci/variables/#create-a-custom-variable-in-the-ui), +1. define all required credentials as :lock: [project variables](https://docs.gitlab.com/ee/ci/variables/#add-a-cicd-variable-to-a-project), 2. make sure your `pom.xml` (or ancestor) [declares your `<repository>` and `<snapshotRepository>` with server **id**s in a `<distributionManagement>` section](https://maven.apache.org/pom.html#repository), 3. in your `${MAVEN_CFG_DIR}/settings.xml` file, [define the repository servers credentials in the `<servers>` section](https://maven.apache.org/settings.html#Servers) using the `${env.VARIABLE}` pattern—will be automatically evaluated and replaced by Maven.