Skip to content

Commit fdec14b

Browse files
authored
Merge pull request #403 from jmtd/OPENJDK-1962-MAVEN_MIRROR_OF
[OPENJDK-1962] document MAVEN_MIRROR_OF
2 parents d39eac6 + 23eef3d commit fdec14b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

modules/maven/default/module.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,16 @@ envs:
3131
- name: MAVEN_CLEAR_REPO
3232
description: If set then the Maven repository is removed after the artifact is built. This is useful for keeping the created application image small, but prevents *incremental* builds. Will be overridden by **S2I_ENABLE_INCREMENTAL_BUILDS**. Defaults to *false*.
3333
- name: MAVEN_MIRROR_URL
34-
description: The base URL of a mirror used for retrieving artifacts.
34+
description: >
35+
The base URL of a mirror used for retrieving artifacts.
36+
For multi-mirror support, see `MAVEN_MIRRORS`.
3537
example: "http://10.0.0.1:8080/repository/internal/"
38+
- name: MAVEN_MIRROR_OF
39+
description: >
40+
Repository IDs mirrored by the mirror specified in `MAVEN_MIRROR_URL`.
41+
For multi-mirror support, see `MAVEN_MIRRORS`.
42+
Defaults to "external:*".
43+
example: external:*
3644
- name: MAVEN_MIRRORS
3745
description: "If set, multi-mirror support is enabled, and other MAVEN_MIRROR_* variables will be prefixed. For example: DEV_ONE_MAVEN_MIRROR_URL and QE_TWO_MAVEN_MIRROR_URL"
3846
example: "dev-one,qe-two"

0 commit comments

Comments
 (0)