Skip to content

Commit eb3df10

Browse files
committed
Document that maven-repository supports the replaces-base parameter
1 parent 211e670 commit eb3df10

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

content/code-security/dependabot/working-with-dependabot/configuring-access-to-private-registries-for-dependabot.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ registries:
344344

345345
### `maven-repository`
346346

347-
The `maven-repository` type supports username and password. {% data reusables.dependabot.password-definition %}
347+
The `maven-repository` type supports username, password and replaces-base. {% data reusables.dependabot.password-definition %}
348348

349349
{% data reusables.dependabot.dependabot-updates-path-match %}
350350

@@ -357,6 +357,7 @@ registries:
357357
url: https://acme.jfrog.io/artifactory/my-maven-registry
358358
username: octocat
359359
password: ${{secrets.MY_ARTIFACTORY_PASSWORD}}
360+
replaces-base: true
360361
```
361362

362363
{% endraw %}

content/code-security/dependabot/working-with-dependabot/guidance-for-the-configuration-of-private-registries-for-dependabot.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ When configuring {% data variables.product.prodname_dependabot %} for Helm chart
211211

212212
Gradle supports the `maven-repository` registry type. For more information, see `maven-repository` in [AUTOTITLE](/code-security/dependabot/working-with-dependabot/configuring-access-to-private-registries-for-dependabot#maven-repository).
213213

214-
The `maven-repository` type supports username and password. {% data reusables.dependabot.password-definition %}
214+
The `maven-repository` type supports username, password and replaces-base. {% data reusables.dependabot.password-definition %}
215215

216216
{% raw %}
217217

@@ -222,6 +222,7 @@ registries:
222222
url: https://acme.jfrog.io/artifactory/my-gradle-registry
223223
username: octocat
224224
password: ${{secrets.MY_ARTIFACTORY_PASSWORD}}
225+
replaces-base: true
225226
updates:
226227
- package-ecosystem: "gradle"
227228
directory: "/"
@@ -280,7 +281,7 @@ This feature enables unified dependency management for both public and private G
280281

281282
### Maven
282283

283-
Maven supports username and password authentication. For more information, see `maven-repository` in [AUTOTITLE](/code-security/dependabot/working-with-dependabot/configuring-access-to-private-registries-for-dependabot#maven-repository).
284+
Maven supports username, password and replaces-base. For more information, see `maven-repository` in [AUTOTITLE](/code-security/dependabot/working-with-dependabot/configuring-access-to-private-registries-for-dependabot#maven-repository).
284285

285286
{% raw %}
286287

@@ -291,6 +292,7 @@ registries:
291292
url: https://acme.jfrog.io/artifactory/my-maven-registry
292293
username: octocat
293294
password: ${{secrets.MY_ARTIFACTORY_PASSWORD}}
295+
replaces-base: true
294296
```
295297

296298
{% endraw %}
@@ -307,6 +309,7 @@ registries:
307309
url: https://maven.pkg.github.com/octocat
308310
username: octocat
309311
password: ${{secrets.OCTOCAT_GITHUB_PAT}}
312+
replaces-base: true
310313
updates:
311314
- package-ecosystem: "maven"
312315
directory: "/"

0 commit comments

Comments
 (0)