Skip to content

Commit 1480a3e

Browse files
authored
Merge pull request #409 from jmtd/OPENJDK-2388-MAVEN_MIRROR_OF-docs
[rhel-8] [OPENJDK-2388] document MAVEN_MIRROR_OF
2 parents 0a41ced + d20eee3 commit 1480a3e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

modules/maven/api/module.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,16 @@ envs:
1616
- name: MAVEN_CLEAR_REPO
1717
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*.
1818
- name: MAVEN_MIRROR_URL
19-
description: The base URL of a mirror used for retrieving artifacts.
19+
description: >
20+
The base URL of a mirror used for retrieving artifacts.
21+
For multi-mirror support, see `MAVEN_MIRRORS`.
2022
example: "http://10.0.0.1:8080/repository/internal/"
23+
- name: MAVEN_MIRROR_OF
24+
description: >
25+
Repository IDs mirrored by the mirror specified in `MAVEN_MIRROR_URL`.
26+
For multi-mirror support, see `MAVEN_MIRRORS`.
27+
Defaults to "external:*".
28+
example: external:*
2129
- name: MAVEN_MIRRORS
2230
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"
2331
example: "dev-one,qe-two"

0 commit comments

Comments
 (0)